Find in Folder not working if the folder is excluded in setting
See original GitHub issue- VSCode Version: 1.31.1
- OS Version: mac
Steps to Reproduce:
- Right click the
node_modules
folder in left sider bar and selct Find in Folder - Search some text that existed in
node_modules
folders - Be sure in settings.json, the
node_modules
need to be excluded - can not search any result.
The version before 1.31.1, also exclude node_modules
, but If use Find in Folder and select node_modules, It can search the correct result.
Does this issue occur when all extensions are disabled?: No
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Searching Windows - Find my Files - Excluded Folders
Earlier today for some reason I open settings and found myself on the Search - Searching Windows. Then I saw the Classic button...
Read more >How to Exclude Folders From Windows Search
Select the Searching Windows option on the right side of the window. Navigate to the Exclude folders from the enhanced search section and...
Read more >Folders are not excluded from vs code search
The toggle determines whether to exclude files that are ignored by your .gitignore files and/or matched by your files.exclude and search.exclude ...
Read more >Add Directories to Exclude Folders of Windows Search
Go to Searching Windows, scroll down find the section named “Excluded Folders”. You will probably already see quite a few locations listed ...
Read more >Content roots | IntelliJ IDEA Documentation
Files in excluded folders are ignored by code completion, navigation and inspection. That is why, when you exclude a folder that you don't...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sorry, it is the button of ‘Use Exclude Setting’ selected, unselected it and the search works fine.
I close this issue by myself.
I’d like to reopen this as the behaviour is not obvious at all. I had to dig around GH to figure this out and almost logged the same bug you just had.
If I go to 'Find in Folder…" specifically, it should definitely find in that folder no matter what the settings say. It’s an explicit action.