Since update to VS 2022 17.2.0, a new folder called "FileContentIndex" is created in "...\.vs\[soln name]".
This seems to be related to ServiceHub.IndexingService.exe. There's also a new file type of ".vsidx" and a "merges" folder.
There's not much info around at the moment. At the time of posting, StackOverflow returns no search results on the above.
I want to disable this feature. I've gone through all the Tools > Options settings but can't seem to find anything relevant. Any ideas?
Thanks
Added screenshot: VS 2022 17.2.0 Tools > Options
I was experiencing the same issue. I'm running Visual Studio 2022 ARM version 17.4.0 preview 4.0.
I found this work around in the Microsoft Developer Community.
Basically, rename or delete the Indexing.servicehub.service.json file from the C:\Program Files\Microsoft Visual Studio\2022\[Community,Pro,Enterprise,Preview]\Common7\IDE\CommonExtensions\Microsoft\Editor\ServiceHub folder.
You can then delete the .vs\[Solution Name]\FileContentIndex folder.
That folder was 185GB on my machine. I followed this work around and the folder has not come back.
Hope this helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With