Sergio Belevskij
Sergio Belevskij

Reputation: 2957

How to disable infinitely indexing source files in Visual Studio Code

My Visual Studio Code (1.16.1) doesn't stop this indexing anymore. I try to wait too long time, but it indexing continues with hard disk extensive loading.

How can i find solution for this problem? I'd like to indexing working, but wan't doing it all of time when Visual Studio runned. Help me, please.

enter image description here

P.S. When I close Visual Studio Code - hard disk become to still and isn't hearing.

Upvotes: 3

Views: 12708

Answers (3)

jmm
jmm

Reputation: 9

The indexing could be due to a caching process. You can find where this caching is being stored by looking at the path in the list of indexed files.

Then you can add the root path to your .gitignore file. In my case, I simply added .cache/ to my .gitignore file.

This resolved the problem for me without having to uninstall the extension.

Upvotes: 1

user20792068
user20792068

Reputation: 1

"Disabling indexing would break most functionality and it would not be helpful providing a config option for this."

https://github.com/bmewburn/vscode-intelephense/issues/71

Upvotes: 0

Sergio Belevskij
Sergio Belevskij

Reputation: 2957

After two hours of lazy digging to this trouble, i find solution: that is a "vscode-ruby" extension. After uninstalling problem discontinued.

So, question tag need to be updated: 'vscode-ruby' tags needs.

Upvotes: 5

Related Questions