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
Open File explorer search doesn't include files in subdirectories #93615
electronIssues and items related to Electronfixed-in-electron-14Issues fixed with Electron 14.x updateinsiders-releasedPatch has been released in VS Code InsiderslinuxIssues with VS Code on LinuxupstreamIssue identified as 'upstream' component related (exists outside of VS Code)upstream-issue-fixedThe underlying upstream issue has been fixed
Move to directory with subdirectory containing file of interest (FOI)
ctrl + f > partial name of FOI
Previously, this type of search from a parent directory would return results from all (afaik) child directories, but this now does not seem to be the case.
VS Code version: Code 1.43.2 (0ba0ca5, 2020-03-24T07:52:11.516Z)
OS version: Linux x64 5.5.8-1-MANJARO
System Info
Item
Value
CPUs
Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz (4 x 2709)
changed the title [-]Open File explorer search doesn't include subdirectories[/-][+]Open File explorer search doesn't include files in subdirectories[/+]on Mar 27, 2020
Isidor Nikolic (@isidorn) sure thing, here is a quick gif showing the behavior. In it, I am attempting to open the file test_sub_script.py in the subdirectory subdir, where the current working directory is the parent directory of subdir Previously, selecting "Open File" and then performing a search with ctrl+f (or simply typing a partial filename) would return all matching files in all subdirectories of the starting directory, but this appear to no longer work.
This is a native dialog, whic I believe is controlled by your linux distrubtion and VS Code can not control it. Though forwarding to Robo (@deepak1556) as this might be electron specific. Though I think it is just native dialogs
As Isidor Nikolic (@isidorn) suggested this is definitely an issue with the file manager, as I see things work fine with nautilus. But you can see if the issue repros with chromium or any other gui applications ?
I also have Nemo installed (which does have built-in recursive search), and from what I can see Thunar has never had this, which leads me to believe somehow Nemo used to be the file manager requested for the Open File dialog. I don't see why this would have changed, however, as Thunar has been the default on my system the whole time. Changing the default file manager in Preferred Applications (Manjaro XFCE) from Thunar --> Nemo doesn't seem to affect anything.
It seems that there are at least a couple other related issues, one in vscode (#50386) and one in electron (electron/electron#2911).
Finally yes, can confirm that the issue repros w/ that gist under Fiddle.
electronIssues and items related to Electronfixed-in-electron-14Issues fixed with Electron 14.x updateinsiders-releasedPatch has been released in VS Code InsiderslinuxIssues with VS Code on LinuxupstreamIssue identified as 'upstream' component related (exists outside of VS Code)upstream-issue-fixedThe underlying upstream issue has been fixed
Activity
[-]Open File explorer search doesn't include subdirectories[/-][+]Open File explorer search doesn't include files in subdirectories[/+]isidorn commentedon Mar 30, 2020
Graham Larue (@glarue) Can you please post a screenshot? I am not sure what exact search feature you are talking about. Thanks
glarue commentedon Mar 30, 2020
Isidor Nikolic (@isidorn) sure thing, here is a quick gif showing the behavior. In it, I am attempting to open the file
test_sub_script.pyin the subdirectorysubdir, where the current working directory is the parent directory ofsubdirPreviously, selecting "Open File" and then performing a search with ctrl+f (or simply typing a partial filename) would return all matching files in all subdirectories of the starting directory, but this appear to no longer work.isidorn commentedon Mar 31, 2020
This is a native dialog, whic I believe is controlled by your linux distrubtion and VS Code can not control it. Though forwarding to Robo (@deepak1556) as this might be electron specific. Though I think it is just native dialogs
glarue commentedon Mar 31, 2020
Isidor Nikolic (@isidorn) thanks, and sorry for the trouble. Robo (@deepak1556) if it helps, the file manager for my system is
Thunar 1.8.14-1deepak1556 commentedon Apr 16, 2020
As Isidor Nikolic (@isidorn) suggested this is definitely an issue with the file manager, as I see things work fine with nautilus. But you can see if the issue repros with chromium or any other gui applications ?
Also I am having trouble setting up thunar on my system, it would help if you can run the following gist https://gist.github.com/deepak1556/8756c593cda34a102095f87f7aa8b066 with https://github.com/electron/fiddle/releases/tag/v0.14.0 and see if the issue repros. Thanks!
glarue commentedon Apr 16, 2020
I also have Nemo installed (which does have built-in recursive search), and from what I can see Thunar has never had this, which leads me to believe somehow Nemo used to be the file manager requested for the Open File dialog. I don't see why this would have changed, however, as Thunar has been the default on my system the whole time. Changing the default file manager in Preferred Applications (Manjaro XFCE) from Thunar --> Nemo doesn't seem to affect anything.
It seems that there are at least a couple other related issues, one in vscode (#50386) and one in electron (electron/electron#2911).
Finally yes, can confirm that the issue repros w/ that gist under Fiddle.
13 remaining items