简体   繁体   English

Visual Studio Code IntelliSense删除的类

[英]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. 我已经习惯了Visual Studio Code半断的IntelliSense ,在这种情况下它仅显示某些情况下的相关方法,但是那使我发疯。 Every time I create a class, Visual Studio Code is able to find it. 每当我创建一个类时,Visual Studio Code都可以找到它。 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. vscode将智能信息存储在.BROWSE.VC.DB文件中。 For some reasons I was able to find them in .vscode folder for some projects but not in others, even with default configuration. 由于某些原因,即使使用默认配置,我也可以在某些项目的.vscode文件夹中找到它们,而在其他项目中却找不到。 The location might have changed with recent versions. 该位置可能已随最新版本更改。 I found all .BROWSE.VC.DB in AppData\\Roaming\\Code\\User\\workspaceStorage. 我在AppData \\ Roaming \\ Code \\ User \\ workspaceStorage中找到了所有.BROWSE.VC.DB。 Deleted it and it worked. 删除它并起作用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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