Cannot exclude root folders while searching
See original GitHub issueTesting #50498
- In a MR workspace, try to exclude root folder using /folder1/ and search. Results are still shown in folder1.
This happens irrespective of setting search.enableSearchProviders"
Issue Analytics
- State:
- Created 5 years ago
- Reactions:6
- Comments:9 (4 by maintainers)
Top Results From Across the Web
How do I exclude a directory when using `find`? - Stack Overflow
It excludes ANY file or folder which merely begins with the text dir_to_exclude and is in the root directory of where you're searching....
Read more >How do I make "find" exclude the folder it searches in?
The easiest way would be to just add -mindepth 1 , which will skip the first depth hierarchy and thus leave out your...
Read more >Multi-root Workspaces in Visual Studio Code
When you have a multi-root workspace open, you can choose to search in a single root folder by using the ./ syntax in...
Read more >Content root | PyCharm Documentation - JetBrains
These roots contain files and folders ignored by PyCharm when indexing, searching, parsing, watching and so on. Excluded roots are not visible ...
Read more >When a File is Created, Create a Folder - Trigger
When a File is Created, Create a Folder - Trigger Condition for Root Folder (Exclude Subfolders) · @endsWith(triggerOutputs()?['body/{Path}'],' ...
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
This was an annoying issue to track down, I thought search was bugged for the longest time.
Its an issue for me in large projects because I like to have folders like
node_modules
anddist
added as root folders for easier access. However this prevents them from being excluded in search results, which is obviously undesirable.I would support
./name
in ‘exclude’ too. It works in ‘include’