Go-to-Fuzzy is a VSCode extension making fuzzy search/go-to inside a file possible.
- Linux/MacOS
- The awesome fzf available
- Open Command Palette (⌘/Ctrl + Shift + p)
- Choose "Preferences: Open Keyboard Shortcuts"
- Search for "go-to-fuzzy.find"
- Set a keybinding
- Open Command Palette (⌘/Ctrl + Shift + p)
- Choose "Go to Fuzzy: find"
Without an extension, there is several ways to go to a targeted pattern in the active file, but I find them to be suboptimal:
- Built-in search
- 👎 only show one result at a time, making it painful to cycle through them
- 👎 no fuzzy: you have to type an exact match (or use a regex for wildcards)
- Symbols and references
- 👍 fuzzy works great
- 👎 only fetch symbols and references (duh!)
- 👎 heavily dependent on language integrations
- Scroll manually: good enough on small files but can be quite painful with big ones
Yeah, sorry about that. We show it because otherwise VSCode will rearrange the search results by "what matches the most the provided pattern". We remove this behaviour by using the pattern as the result item label
, which is the only matchable attribute by default.