-
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
"Go to File" limited to recently opened files #39061
Comments
@VeteranPatriot what is the issue? |
@VeteranPatriot were you trying to search a file which is in your |
Hi, I am having the same exact issue. For instance I have the following files in the current open folder:
and I recently opened When I use Go to File to search and type in "vault" I only see "vault-dashboard.component...." files listed. This happens for all files in open folder. @bpasero Benjamin, for me the issue is that I am only seeing files when using "Go to file" that have been recently open instead of all the files available in the open folder. |
Here is a video of the issue being reproduced: https://1drv.ms/v/s!AsWzMHwD7gfb8RwKTBdVTs6c64f7 |
Does it still happen if you set Does search work? |
@itomek Could you share your settings? Does this only occur with these two subfolders or also others? |
@roblourens that seemed to have fixed it. @chrmarti Workspace Settings Ok I think I found the culprit... its this last line for me: I have just learned that the files.exclude also works on the "Go to File"? Is this intentional? |
@chrmarti In text search, an error message would pop up, but we don't have anywhere to surface messages like that in quickopen.
Yes |
Thank you everyone! |
@roblourens Ripgrep's exit code has changed to 1 in this case. We ignore that exit code because we assume it means no results were found. |
The handling for this in text search is: https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/services/search/node/ripgrepTextSearch.ts#L124 If there were no results, and there was some stderr output, and the stderr matches a whitelist of error messages, then return that as an error. |
I only see the message in a single folder workspace... I can investigate |
(4 theme extensions excluded)
Steps to Reproduce:
Reproduces without extensions: Yes
The text was updated successfully, but these errors were encountered: