-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
search in folder, doing the search only in opened files... #38165
Comments
Please describe what is going wrong and provide some steps to reproduce the issue |
I am experiencing this issue as well. It started for me today when I updated VS Code and installed this morning's VS Code Insider. It occurs on both VS Code and Insiders. Steps to Reproduce:
(11 theme extensions excluded)
|
This seems to only happen when using "Files to include" filter with search in files over the network via UNC paths. It occurs whether I run VS Code normally or as administrator. When I use "whoami" in VS Code's Powershell it shows my proper domain and user which has permissions to the linux server through samba. The filtered search works normally on local directories and the output is basically identical (replace UNC path with local path by opening local folder and it works). Here is the search output (github code tag not working for me): ` rg --hidden --heading --line-number --color 'ansi' --colors 'path:none' --colors 'line:none' --colors 'match:fg:red' --colors 'match:style:nobold' --ignore-case -g '//server/folder/**/*.cfm/**' -g '//server/folder/**/*.cfm' --max-filesize '314572800' --no-ignore --follow --fixed-strings -- 'a' '\\server\folder' `
Reproduces without extensions: Yes |
Somehow the slashes get flipped |
Hello, same problem: happens on a local folder. This is the output: `rg --hidden --heading --line-number --color 'ansi' --colors 'path:none' --colors 'line:none' --colors 'match:fg:red' --colors 'match:style:nobold' --ignore-case -g '!/Scripts//.git' -g '!/Scripts//.svn' -g '!/Scripts//.hg' -g '!/Scripts//CVS' -g '!/Scripts//.DS_Store' -g '!/Scripts//node_modules' -g '!/Scripts/**/bower_components' --max-filesize '17179869184' --no-ignore --follow --fixed-strings -- 'write' 'c:\Scripts'
|
Same here, search works only in opened files. I am using Linux version. |
Same here in 1.18.1, please like the topic, so it get better priority! Happened after switch to multi-root project structure. Maybe its not related, but some projects are searchable, some are not. |
1.19.1 - still does not work. Does nobody using an integrated search feature?) |
This issue is tracking the search includes not working correctly in UNC paths. @davide-rota 's issue may be with searching in a onedrive-tracked directory, like #35433? @FelikZ please open a new issue with as many details about your setup as possible, including the info from the search output pane as above. |
(4 theme extensions excluded)
Steps to Reproduce:
Reproduces without extensions: Yes/No
The text was updated successfully, but these errors were encountered: