简体   繁体   中英

Visual Studio Code IntelliSense removed classes

I've been used to Visual Studio Code semi-broken IntelliSense , where it only shows relevant methods in certain circumstances, but that one is driving me crazy. Every time I create a class, Visual Studio Code is able to find it. But once this class is deleted, it is STILL able to find it, even days after it's been deleted.

How do I fix that?

vscode stores intellisense informations in .BROWSE.VC.DB files. For some reasons I was able to find them in .vscode folder for some projects but not in others, even with default configuration. The location might have changed with recent versions. I found all .BROWSE.VC.DB in AppData\\Roaming\\Code\\User\\workspaceStorage. Deleted it and it worked.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM