-
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
Add settings for auto pch #3184
Conversation
Extension/package.json
Outdated
@@ -308,6 +308,19 @@ | |||
"description": "Determines whether pop up notifications will be shown when a configuration provider extension is unable to provide a configuration for a source file.", | |||
"scope": "resource" | |||
}, | |||
"C_Cpp.intelliSense.cachePath": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This naming style seems inconsistent with our existing settings like intelliSenseEngine, intelliSenseMode, and intelliSenseEngineFallback.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, we were trying to be forward-looking, but I agree this might be premature.
We should rename these intelliSenseCachePath
and intelliSenseCacheSize
.
Does intelliSenseCachePath need to be unique per workspace, or can it be set to a global location? Really, on Linux it should point to somewhere in XDG_CACHE_HOME by default. |
We were emulating Visual Studio which sets this per project, but you can certainly set |
It looks like |
@renkun-ken It's a bug -- we have a fix at #3368 for our next release. |
Thanks, @sean-mcmanus! |
|
@LinAGKar, it's the same bug as |
Add these settings for auto pch: