vscode-advanced-new-file icon indicating copy to clipboard operation
vscode-advanced-new-file copied to clipboard

Unintuitive fuzzy-matching

Open virzen opened this issue 6 years ago • 0 comments

Hi!

Thanks for creating and maintaining this plugin, it is a big improvement over the built-in ways of creating new files.

I've got one issue with it though - fuzzy matching. It works in a somewhat unexpected way. Let me give an example:

I have following directory structure:

src
| - groups 
  | - components
    | ... some more directories and files

Now, I want to create a new file inside the src/groups/components directory. I would expect any of the following to work:

  • grpcmp
  • sgrpcmp
  • cmp
  • cmpts though that's not the case. I need to input part of the path specifically to get what I want, i.e. groups/c, groups/comp etc.

This hardly seems like a proper fuzzy-matching.

I might take a stab at fixing this if you point me in the right direction.

Thanks again for the extension!

virzen avatar Oct 18 '18 12:10 virzen