-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow quick open to filter on folder names by typing folder name after the file #30404
Comments
@enozero you can type the folder name (before the file name) and it should narrow down, does that not work for you? |
Ah... interesting. I hadn't ever thought to try the folder before the filename in the quick open tool. My mind automatically thinks of the file name then to narrow down the search from there once I see that the search has too many listings and that I can just keep typing to narrow down the search. Is there a way to allow searching the folder names after the file name? If not, that would be a fantastic addition. |
What about treating You can probably achieve the same thing now by jumping the cursor back to the beginning of the quick open input field, but this might be a bit quicker to type (and you could then even apply further filters again). |
miss this feature so bad |
This feature definitely super useful. But, I bet this features will be added after ten years. |
I think that directories should be treated as first-class citizens on the quick open. As the requester of this feature, first I think on the file name, then on the folder name. Having to add the folder as a prefix is not practical, and it is not even fuzzy, you need to make a perfect match. Emacs has this feature and it is just wonderful. |
Pushed a change so that quick open now runs a search over each segment of the input that is separated by space. This allows to further narrow down the results based on additional values. These additional values can either match on the label or description part and their scores will add up for each match: |
Quick Open (using
Command P
) is a great tool. However, if you are in a framework like Rails, you'll often have files that are named the same across many different folders, particularly for views. You may have 10s or 100s ofindex.html.haml
orindex.json.jbuilder
files. Being able to narrow down the file is practically impossible with VSCode without the ability to also narrow down the folder, which provides a more descriptive name.It would be great to have Quick Open use the filter to search the names of folders to help narrow down the list and find the file quickly.
The text was updated successfully, but these errors were encountered: