You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Navigate through explorer by typing start of file/folder name #10026
Feature Proposal
When opening a folder containing hundreds of items (for example: node_modules) There is no easy way to get to a child folder/file without scrolling around.
Would it be possible to allow the file viewer to navigate down to let's say the first file of the next letter keypressed?
node_modules (folder is highlighted)
( letter L is hit )
---- automatically scrolls down within node_modules to folders beginning with "L"
+++ Folders shown:
+ Lodash / etc
Just an idea, would help navigating large filesystems a bit easier.
Reacted by Daniel Imms, Gerhard Pretorius, Erik Hoffman, Patrick Lienau, Doug Rosenfeld, Mark Pieszak, laggingreflex, Andrew Harper, Andreas Hegenberg, Chen Yu Pao and 324 more
Reacted by Constantine, Mark Pieszak, Owen Nicol, Irek Mirgaleev, Joseph Luk, Andrew Gliga, JZ Song, Ido Ran, Misa Jovanovic and Valeriy Sizov
Reacted by Rafael Fernandes, Percy Grunwald, yinhf, Pascal Iske, Sasha Kalmikov, Lionel Tay, Constantine, Mark Pieszak, Owen Nicol, Irek Mirgaleev and 6 more
Reacted by Bao Nhan, mihailik, Alex Alvarez Chinchilla, Tung Dang, Shawn McCarthy, Orlando Quero, phifa, Vlad Jerca, falun, WD and 64 more
I'd also love to have this, anything that makes it easier to navigate the explorer using only the keyboard would be awesome.
This is how Ubuntu handles it in its "Files" program:
Type 's' and you get a filter box that pops up at the bottom of the file explorer:
At this point down and up only allow navigation between files starting with an 's'. Pressing escape will clear the filter and allow free navigation again.
I believe Windows on the other hand maintains a search string and keeps a timeout for when the search expires. As such, typing "sr" in quick succession will focus the src directory, pressing "c" before the timeout expires will keep focus on src, if it's after the timeout expires then CONTRIBUTING.md will be focused. up/down are not restricted on Windows.
Reacted by Artur Zhmur, Doug Rosenfeld, Mark Pieszak, Elliot Woods, Bo Zhang, phifa, csalv5, Alexander, Valeriy Sizov, Owen Nicol and 16 more
Reacted by Mark Pieszak, Patrick Lienau, Doug Rosenfeld and phifa
Oh well that'd be an even better implementation! If it narrowed down and only showed folders/files with the letter(s) you typed that'd be incredible. 👍
This is a great request. We too are working with thousands of files in hundreds of folders on multiple network shares. Finding and navigating with a mouse and scrolling through a large folder structure to find the file and manually selecting the file is burdensome - especially when the Explorer jumps around when clicking on a file in the Open Editors pane.
We kindly request that finding files in the Explorer be easier. The standard Windows Explorer is a good example.
For example, provide a box where you can start typing in the file name and the folders/files displayed in the Explorer are limited to names that match - even if the folders are "closed". Please support wild cards. This search needs to be very fast.
Another example, a simple goto file would be helpful.
Another example, allow typing in the Explorer to jump to a file. But don't limit it to the current folder.
Reacted by Doug Rosenfeld, Mark Pieszak, Constantine, Serhiy-Shekhovtsov, JZ Song, hinell, Boyang and Fabio Silva
Agreed with Doug Rosenfeld (@dougrosenfeld), as soon as I opened my first folder in the Explorer menu I intuitively looked for the bar that I could click to filter the items within the window, mainly because it is available in many code editors.
I have had multiple people ask me this same question when I introduced Code to them, and when working with larger directories with many files this would simplify the mental overhead of dealing with all of the folders.
changed the title [-]Feature Proposal: Allow to navigate to specific file/folder by Letter when folder selected[/-][+]Allow to filter explorer by typing names[/+]on Jan 16, 2017
Updated this summary: this feature asks for filtering the explorer while typing whereas #10839 would cover the request of selecting the next element in the tree that matches a specific key that was pressed.
Maik Riechert (@letmaik) nope not a bug, this is a feature which we might do in the future. To resolve all folders up front when user starts filtering.
Please file a feature request and ping me on it. Thanks
I download today's insiders and gave this feature a try. I found that I can search for individual directory names only if they are open. Could not do a fuzzy-search for a directory in a path: eg "test/models/membership/"... Could not search for a directory that is closed. Is there a way to do these things? (I'm using 1.31.0-insider Date 2019-01-30)
For now (not an insider) I have added some empty files to my directories like .s-specs, .s-views, .s-controllers. .gitignored them and now using Ctrl+P. This is ok for directories that I am frequently switching to and it is only a reasonably sized rails app (like 50 controllers etc).
Hey guys, I understand that its a cool feature for many people, but is there a way to disable it? :) I couldn't find one :(
Reacted by Amiya Kumar Tripathy, John Slemmer, Dennis Evert, Marcus, Chris Bull, Jack Tomaszewski, Valeriy Sizov, AOKI Taiju, Nicolas Martin and Lukas Maurer
I think that most of the people expected this feature to work differently.
When you start typing, you filter your folders/files in the root of the project. Then you hit "Enter" and you can now type again to filter folder/files in the selected directory. This is how it works in vim and some other editors.
Why not fuzzy finder? For example, you're looking for some particular file in application/database/migrations/.... Using fuzzy finder you would need to type all the pass application/database/migrations/ and then type something specific for you need. It's too annoying. While with the proposed search you would just type: ap[Enter]d[Enter]m[Enter] and then symbols specific to your need.
I was poking around of what you did here and I didn't find any use case for me or any other developer. Sorry.
Whatever you think about this comment, thank you for the best editor in the word.
Reacted by Yan Pashkovsky, Tony Huynh, Dmitri and Brett Profitt
Actually, I expected the feature to work like Visual Studio 201x, Windows 10 and other Microsoft products:
No filter, just navigating the tree incrementally by typing, opening folders using using the RIGHT ARROW key, closing them using the LEFT ARROW key, and moving the focus item up/down by hitting the UP ARROW/DOWN ARROW key.
Axel D. (@SetTrend) is correct. Filtering and Navigating are 2 different user stories with the expectation that both are usable without switching modes.
Navigating use case is about typing letters in the tree to focus the first item that matches. If an item is a child in a collapsed node, it would not be navigable until its parent is expanded. This is close to how Simple mode works, but it seems to not allow multiple letters which is how it works in Windows Explorer.
Highlighting breaks the navigation workflow by only navigating between matches. That should be a different key to jump to next match, much like search does.
Filtering really needs a search box which then searches for filename matches and optionally content matches. Issue #6697 is in the right direction for search. It just needs to be separated out from this navigation feature.
Activity
Tyriar commentedon Aug 1, 2016
I'd also love to have this, anything that makes it easier to navigate the explorer using only the keyboard would be awesome.
This is how Ubuntu handles it in its "Files" program:
Type 's' and you get a filter box that pops up at the bottom of the file explorer:
At this point down and up only allow navigation between files starting with an 's'. Pressing escape will clear the filter and allow free navigation again.
I believe Windows on the other hand maintains a search string and keeps a timeout for when the search expires. As such, typing "sr" in quick succession will focus the
srcdirectory, pressing "c" before the timeout expires will keep focus onsrc, if it's after the timeout expires thenCONTRIBUTING.mdwill be focused. up/down are not restricted on Windows.MarkPieszak commentedon Aug 1, 2016
Oh well that'd be an even better implementation! If it narrowed down and only showed folders/files with the letter(s) you typed that'd be incredible. 👍
bpasero commentedon Aug 6, 2016
Related: #9373
Tyriar commentedon Aug 8, 2016
Haha, of course I already reported this in #4763 😛
dougrosenfeld commentedon Aug 25, 2016
This is a great request. We too are working with thousands of files in hundreds of folders on multiple network shares. Finding and navigating with a mouse and scrolling through a large folder structure to find the file and manually selecting the file is burdensome - especially when the Explorer jumps around when clicking on a file in the Open Editors pane.
We kindly request that finding files in the Explorer be easier. The standard Windows Explorer is a good example.
For example, provide a box where you can start typing in the file name and the folders/files displayed in the Explorer are limited to names that match - even if the folders are "closed". Please support wild cards. This search needs to be very fast.
Another example, a simple goto file would be helpful.
Another example, allow typing in the Explorer to jump to a file. But don't limit it to the current folder.
ConstantineK commentedon Dec 6, 2016
Agreed with Doug Rosenfeld (@dougrosenfeld), as soon as I opened my first folder in the Explorer menu I intuitively looked for the bar that I could click to filter the items within the window, mainly because it is available in many code editors.
I have had multiple people ask me this same question when I introduced Code to them, and when working with larger directories with many files this would simplify the mental overhead of dealing with all of the folders.
Tyriar commentedon Dec 6, 2016
It would make sense to tackle this when we look at adding multi-select in #1023
[-]Feature Proposal: Allow to navigate to specific file/folder by Letter when folder selected[/-][+]Allow to filter explorer by typing names[/+]bpasero commentedon Jan 16, 2017
Updated this summary: this feature asks for filtering the explorer while typing whereas #10839 would cover the request of selecting the next element in the tree that matches a specific key that was pressed.
127 remaining items
isidorn commentedon Jan 23, 2019
Maik Riechert (@letmaik) nope not a bug, this is a feature which we might do in the future. To resolve all folders up front when user starts filtering.
Please file a feature request and ping me on it. Thanks
sandy081 commentedon Jan 30, 2019
Isidor Nikolic (@isidorn) Is not this covered in test plan item - #67274 where it asked to test simple filtering which is this feature?
isidorn commentedon Jan 30, 2019
Sandeep Somavarapu (@sandy081) yes it is, I appologize was not aware that Joao will create that test plan item.
andyl commentedon Jan 31, 2019
I download today's insiders and gave this feature a try. I found that I can search for individual directory names only if they are open. Could not do a fuzzy-search for a directory in a path: eg "test/models/membership/"... Could not search for a directory that is closed. Is there a way to do these things? (I'm using 1.31.0-insider Date 2019-01-30)
potatoqualitee commentedon Jan 31, 2019
ditto andyl - i found a newly opened issue regarding that problem here: #66971
jaykilleen commentedon Jan 31, 2019
For now (not an insider) I have added some empty files to my directories like
.s-specs,.s-views,.s-controllers..gitignoredthem and now usingCtrl+P. This is ok for directories that I am frequently switching to and it is only a reasonably sized rails app (like 50 controllers etc).AntonPuko commentedon Feb 2, 2019
Hey guys, I understand that its a cool feature for many people, but is there a way to disable it? :) I couldn't find one :(
TimvdHorst commentedon Feb 11, 2019
Anton Puko (@AntonPuko) add the next line to your VSCode settings.json:
"workbench.list.keyboardNavigation": "simple"vsizov commentedon Feb 14, 2019
I think that most of the people expected this feature to work differently.
When you start typing, you filter your folders/files in the root of the project. Then you hit "Enter" and you can now type again to filter folder/files in the selected directory. This is how it works in vim and some other editors.
Why not fuzzy finder? For example, you're looking for some particular file in
application/database/migrations/.... Using fuzzy finder you would need to type all the passapplication/database/migrations/and then type something specific for you need. It's too annoying. While with the proposed search you would just type: ap[Enter]d[Enter]m[Enter] and then symbols specific to your need.I was poking around of what you did here and I didn't find any use case for me or any other developer. Sorry.
Whatever you think about this comment, thank you for the best editor in the word.
SetTrend commentedon Feb 14, 2019
Actually, I expected the feature to work like Visual Studio 201x, Windows 10 and other Microsoft products:
No filter, just navigating the tree incrementally by typing, opening folders using using the RIGHT ARROW key, closing them using the LEFT ARROW key, and moving the focus item up/down by hitting the UP ARROW/DOWN ARROW key.
dragonwolf83 commentedon Feb 15, 2019
Axel D. (@SetTrend) is correct. Filtering and Navigating are 2 different user stories with the expectation that both are usable without switching modes.
Navigating use case is about typing letters in the tree to focus the first item that matches. If an item is a child in a collapsed node, it would not be navigable until its parent is expanded. This is close to how Simple mode works, but it seems to not allow multiple letters which is how it works in Windows Explorer.
Highlighting breaks the navigation workflow by only navigating between matches. That should be a different key to jump to next match, much like search does.
Filtering really needs a search box which then searches for filename matches and optionally content matches. Issue #6697 is in the right direction for search. It just needs to be separated out from this navigation feature.
Corps-Yan commentedon Feb 18, 2019
Update VSCODE to lateset version.
It has resolved.