atom / symbols-view

Jump to symbols in Atom
MIT License
164 stars 114 forks source link

Support fuzzy-finder style filtering for duplicate symbols #120

Open ptoomey3 opened 9 years ago

ptoomey3 commented 9 years ago

If I try to navigate to the definition of of a relatively common name (ex. cache) you can often end up with many symbols that match. The current implementation pops up a file search box to help you pick which file you want to navigate to. But, it seems that the current implementation is only looking at the list of filenames and not paths. This is difficult, as one usually has no clue what filename they are looking for. More commonly you will be resolving a symbol that looks like Foobar.cache, and you know that the cache you are looking for is part of the Foobar gem. So, it would be nice to be able to type foobar/ and narrow down the files that contain that symbol and are in the foobar gem directory. So, I'm basically looking for fuzzy finder within the symbol resolution drop down.

ishanray commented 8 years ago

Fuzzy finder has a new alternate scoring, which works great in many cases such as matching filenames first and a much more tighter clustering; perhaps something similar can be added here?