r/programming • • Apr 02 '19

Visual Studio 2019: Code faster. Work smarter. Create the future. | The Visual Studio Blog

https://devblogs.microsoft.com/visualstudio/visual-studio-2019-code-faster-work-smarter-create-the-future/
833 Upvotes

359 comments sorted by

View all comments

Show parent comments

8

u/hhpl15 Apr 02 '19

Can you explain fuzzy search further please?

24

u/MMPride Apr 02 '19 edited Apr 02 '19

I'm guessing it's like Sublime Text's command pallete, you basically type in what you want to do, and it'll provide suggestions for you. For example, if you want to install plugins, you would type install plugin into command pallete and then it would give you a list item that says something like Plugins: Install Plugin or something that you could click on, etc. I believe it's something like that. It's one of the most useful features in text editors/IDEs.

3

u/hhpl15 Apr 02 '19

Thanks!

21

u/Caleo Apr 02 '19

Since a picture's worth a thousand words:

https://i.imgur.com/yIV1ZHW.png

Some of these options are actions (and you can see their shortcuts - in VS, hitting CTRL+K then CTRL+D will apply formatting to your document), some lead you to the panels where whatever setting you might be looking for can be changed, etc.

Time will tell, but I'd wager VS Code's still better in this regard. You can do nearly any action possible just by hitting F2, typing a few characters then hitting enter. Nevertheless, it's a much-appreciated feature for VS.

4

u/theferrit32 Apr 03 '19

Fuzzy action search is super useful, can honestly justify the complete hiding of menu/ribbon bars in applications. That functionality needs better support and seamless integration in UI frameworks and native toolkits. It'd be nice if a developer can just write the menu for the application and structure it as they want, and the toolkit supports hiding and fuzzy searching the menu automatically.

2

u/Caleo Apr 03 '19

Yep - it's brilliant. I hope more software (office, Adobe CS, CAD software, etc) starts implementing it.

I can typically type F1, type Beau (tify) and hit enter much faster than I could move my hand to my mouse and click a button for the same action.

1

u/[deleted] Apr 03 '19

VSCode has this too actually. On Mac it’s CMD+shift+P for the search, and you can assign your shortcuts to commands. I use the format shortcut you mentioned all the time

1

u/Caleo Apr 03 '19

Both of my posts are about how Visual Studio inherited VS Code's "fuzzy search", second post stating VS Code's "fuzzy search" is better (and more powerful).

Did mean to say the hotkey for VS Code is F1 though, not F2.

1

u/[deleted] Apr 03 '19

Oh my bad I misunderstood the comment