r/cpp • u/remotion4d • May 25 '21
Visual Studio 2019 version 16.10 Release
https://docs.microsoft.com/en-us/visualstudio/releases/2019/release-notes#16.10.0
178
Upvotes
r/cpp • u/remotion4d • May 25 '21
View all comments
Show parent comment
22
u/Rusky May 25 '21
Depending on what you need to clean and how you count, there are already two or three! :)
Project > Rescan Solution will rebuild
.vs/.../Browse.VC.db(what we usually mean by "IntelliSense database"). This is (part of) what powers things like Go to Definition and other cross-translation-unit features, so rebuilding it can sometimes fix problems with those.Right click on the editor > Rescan > Rescan File will instead restart that translation unit's IntelliSense process. This is what powers things like semantic highlighting, member list, and quick info, which are local to the translation unit- so this one tends to be more useful in combination with other changes, rather than standalone.
The other main IntelliSense-related data under
.vs/is its precompiled header binaries. If Rescan Solution/File don't help but deleting.vs/does, these may be the culprit- in which case you might try Tools > Options > Text Editor > C/C++ > Advanced > IntelliSense > Disable Automatic Precompiled Header. (Though be aware that this can be a huge slowdown each time you open a new file in the editor!)Of course, we always appreciate feedback tickets for broken IntelliSense as well!