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
Because if I search (Ctrl+Shift+F) something contained in .env file, it is in the results.
It's not though. And I mostly look for the cmd+P to open the file, but I checked and cmd+shift+F doesn't work neither for gitignored files with search.exclude set to false.
I have .env in .gitignore
I have default settings for VSCode.
Searching a content in the ignored file (Ctrl+Shift+F) I get the results.
Using Ctrl+P to find an ignored file like .env, it is displayed in the combo box.
Please, can you provide the steps and the setup to reproduce your context?
I have .env in .gitignore I have default settings for VSCode.
Searching a content in the ignored file (Ctrl+Shift+F) I get the results. Using Ctrl+P to find an ignored file like .env, it is displayed in the combo box.
Please, can you provide the steps and the setup to reproduce your context?
Do you have search.useIgnoreFiles set to true? I don't know what's the default. I want to ignore almost all gitignored files, just with some exceptions. Please use the config I pasted in the issue.
I tried to somehow whitelist some files from
.gitignore
, good example being.env
files. I thought this would work:Sadly, it doesn't work like that. Perhaps
search.exclude
could be always taking priority oversearch.useIgnoreFiles
?The text was updated successfully, but these errors were encountered: