jacobdufault / vscode-fuzzy-search

24 stars 6 forks source link

Jump to word with fuzzy search #12

Open romainmartinez opened 3 years ago

romainmartinez commented 3 years ago

First of all, thanks for the extension.

I use vscode-fuzzy-search through VSpaceCode Unfortunately, when I use it, the cursor is not positioned on the searched word but only at the beginning of the line containing the searched word.

Is there an option to add this feature?

jacobdufault commented 3 years ago

For searching we just feed all lines into the vscode quick pick input and let vscode do the filtering, so iirc we don't know what part of any given line matched outside of the line number.

This is possible but it'd require a more custom fuzzy search implementation (which should be feasible now since vscode added new and more flexible APIs) but I haven't had the time to look into it.