question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add fuzzy search to commands in palette

See original GitHub issue

As @bpasero suggested, I’m opening an issue to suggest adding fuzzy search in the palette for commands as well.

He had an issue with this though, so it could be enabled with a user setting. But I am unsure about his concern.

The issue with fuzzy matching is that you also need to do fuzzy sorting: more relevant results to the top. However for the command palette we chose to sort entries by name to keep the result list stable and memorable. Enabling fuzzy for commands would change the sort order for each search you do making it harder to learn the list of available commands.

I don’t understand how the sort order is relevant when you are looking for a specific command or set of commands. Let’s say I would like to look for all Markdown related commands (which start with Markdown:): in Sublime, I would only type md:, removing practically all unrelevant commands from the results list. The results however would still be sorted by names. Am I misunderstanding his issue?

Once you’re used to search in a fuzzy pattern (often with shortened words like msg for message), it is very awkward to go back to typing complete words.

Issue Analytics

  • State:open
  • Created 8 years ago
  • Reactions:27
  • Comments:14 (5 by maintainers)

github_iconTop GitHub Comments

6reactions
vscode-triage-botcommented, Nov 3, 2020

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

4reactions
1stcommented, Jun 3, 2017

Hello. Do you have plans to implement an intelligent search like in SublimeText Command Palette? Like I described there: #26295

Read more comments on GitHub >

github_iconTop Results From Across the Web

[QT24] The FAST and EASY way to add command palette ...
Why not add those commands to the command palette, making them much faster to find and execute thanks to fuzzy matching ? This...
Read more >
VS Code tips — Disabling fuzzing matching in quick open
Use quotes in quick open (ctrl p / cmd p) to disable fuzzy matching on file names in VS Code's quick open.Useful for...
Read more >
Fuzzy Searches in VS Code: Tips to increase developer focus ...
This lets you search for VS Code commands by their description. I find this to be the easiest way to remember settings you...
Read more >
How to add fuzzy completion (like Sublime Text palette) to ZSH
I changed by shell from bash to zsh and I was wondering if this was possible to fuzzy complete commands just like ...
Read more >
How to build a remarkable command palette - Superhuman Blog
Command palettes allow users to move faster and become infinitely more ... Our fuzzy matching library gives us a score between 0 and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found