1

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?

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Aulaulz
  • 459
  • 4
  • 15
  • 1
    This question appears to be a duplicate of: http://stackoverflow.com/questions/18289936/refreshing-the-auto-completeintellisense-database-in-visual-studio – Mikel F Dec 16 '16 at 20:34
  • No it's not a duplicate unfortunately. This give an answer in visual studio, not visual studio code. May I ask why the downvote? – Aulaulz Dec 16 '16 at 21:08
  • The downvote was based on the belief that this was a duplicate issue. I would not be surprised of VSCode worked in a similar fashion as VS, creating a database to store intellisense data. Find the file and kill it. – Mikel F Dec 16 '16 at 21:45
  • Can you please provide some example code along with the the expected and actual behavior. It'd probably be best if you file this sort of issue on Github instead: https://github.com/Microsoft/vscode-cpptools or https://github.com/Microsoft/vscode/issues/new – Matt Bierner Dec 16 '16 at 22:50

1 Answers1

1

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.

Aulaulz
  • 459
  • 4
  • 15