-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
Indexing doesn't work for medium sized projects on Windows 10 (files don't show up in 'Search in file' and 'Go to file') #40076
Comments
Hi, try to add this to your settings: Try to exclude as much as possible stuff like Check if Add these settings too:
|
Hi, thanks very much for the help. It works now! @bsvipas What made it work was to set the property "search.useRipgrep" to false. Or more accurately, what made the bug was the use of Ripgrep on Windows 10. If you have the time for an optional question (I always have to know the whys and hows): |
Thanks for trying that, I'd rather get to the bottom of why it doesn't work with ripgrep, if you don't mind a little more trouble shooting.
|
So to the point. That's the output for the folders where it doesn't work (and ripgrep is enabled, by default). There is no output when/for:
Because of that 'access denied' message, I thought it might worth the effort to try and run VSCode as an administrator, just in case.. but it didn't change anything. Hope it helps! @roblourens |
Is that folder tracked in OneDrive? |
Nope. I'd used to sync my workspace with OneDrive a few months ago(it was stored in a different location, 'elran/OneDrive/Workspace'), but I already learned this lesson ;) |
Hm... so what's different about that location? Is it all folders under Workspace that don't work? |
Nope, some of them work and others don't. Though I only checked this for 4 folders (didn't work for 2 till I disabled ripgrep). |
I wonder if you copied that folder out of OneDrive earlier and it brought some weird attributes along with it? |
I copied the problematic folders out of OneDrive. Concerning your question.. I didn't notice anything on git, so I don't think so, but the only think certain in this world is uncertainty :) If you heard about similar cases with folders that carry some evil out of OneDrive I'll be happy to know what should I look for(also touches the rest of the trauma victims) |
Well there is a bug around searching in some OneDrive folders - #35433, and it's suspicious that you get exactly the same symptoms and error message - Is it possible to try re-cloning the project into a different location? OneDrive can use special filesystem nodes which don't really show up anywhere else. |
I have the same issues as author have in main topic (+ this one: #39440), but on MacOS When I set Update https://github.com/BurntSushi/ripgrep doesn't help |
Same issue here, disabling ripgrep seems to work.
|
Unfortunatelly it stop works for me even if I have |
Hi, sorry for the late response. These are the steps that solved the issue for me: I cloned the project(s) folder again from the remote repo. I guess you were right, @roblourens , "OneDrive can use special filesystem nodes which don't really show up anywhere else.". Yes, it does and this is why(I guess) it didn't work for me even though I moved out those folders from my One-Drive and why I didn't notice any change in my local git repo. Thanks for the kind help, hope it will help others. |
I'm having this issue in OSX with a big Drupal project (php). Disabling ripGrep fixed it. |
Thanks for following up @ElranKadosh. I will file this under #35433 - it's surprising that the onedrive strangeness persists even when the folder isn't tracked by onedrive anymore. |
Hi guys,
I have a problem with indexing for both my web(default support) and Python(with the official Python extension installed) projects (22k files & 30k files projects). For some of those(web projects) VSCode works fine but for the others I can't find any files in Go to file and Search in files, excluding those I already opened with the editor.
I deleted any cache/settings both for my user and folder and even uninstalled(then re-installed) VSCode but it still occurs in the same projects. I tried the Insiders build(1.19.0-insider) and it doesn't seem to be solved(yet) there. In addition, I double verified my user and folder "search.exclude" and "files.exclude" settings.
NOTE: I originally commented here(requested to open a new issue):
#39440 (comment)
It seems to be the exact same problem, but for medium sized projects
Steps to Reproduce:
Reproduces without extensions: Yes
Thanks in advance,
Elran
The text was updated successfully, but these errors were encountered: