-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trigger database rebuild #464
Comments
The database doesn't rebuild, other than via manually deleting or renaming it. It's a known problem we would like to fix. I've also never seen "Unload Language Server" have any effect. |
It appears that modifying or deleting the |
It just re-does what it usually does when the workspace is first opened (searches for new files to add to the database, potentially parsing them), but it doesn't remove stuff from the database yet. Also, ideally it would only trigger a rebuild when a setting that requires a rebuild changes, i.e. changing the intelliSenseMode shouldn't trigger a rebuild. Was there a reason you did not want a "rebuild"? |
Oh, I see. Because removing an include path did break stuff. |
As per your question, I was positively surprised. Sorry if it sounded as if it was something negative. |
We just released 0.12.3 which added a new command to reset the database. |
After looking at #415 (comment) I found the new location for the database file. But this leads me to two questions:
c_cpp_properties.json
. This is also the case for adding entries tofiles.exclude
where I have to manually delete the database to have it take effect.Unload Language Server
which doesn't seem to do much.The text was updated successfully, but these errors were encountered: