Add intelliSenseUpdateDelay setting#6344
Conversation
|
This requires changes in the closed source part of the code that handles the IntelliSense update. |
| "c_cpp.configuration.intelliSenseCachePath.description": "Defines the folder path for cached precompiled headers used by IntelliSense. The default cache path is \"%LocalAppData%/Microsoft/vscode-cpptools\" on Windows, \"$XDG_CACHE_HOME/vscode-cpptools/\" on Linux (or \"$HOME/.cache/vscode-cpptools/\" if XDG_CACHE_HOME is not defined), and \"$HOME/Library/Caches/vscode-cpptools/\" on Mac. The default path will be used if no path is specified or if a specified path is invalid.", | ||
| "c_cpp.configuration.intelliSenseCacheSize.description": "Maximum size of the per-workspace hard drive space in megabytes (MB) for cached precompiled headers; the actual usage may fluctuate around this value. The default size is 5120 MB. Precompiled header caching is disabled when the size is 0.", | ||
| "c_cpp.configuration.intelliSenseMemoryLimit.description": "Memory usage limit in megabytes (MB) of an IntelliSense process. The default limit is 4096 MB and the maximum limit is 16 GB. The extension will shutdown and restart an IntelliSense process when it exceeds the limit.", | ||
| "c_cpp.configuration.intelliSenseUpdateDelay.description": "Controls the delay in milliseconds before intelliSense takes effect.", |
There was a problem hiding this comment.
intelliSense -> IntelliSense
Yeah, but it should be pretty trivial to replace the hardcoded value with the setting. |
| "type": "number", | ||
| "default": 2000, | ||
| "description": "%c_cpp.configuration.intelliSenseUpdateDelay.description%", | ||
| "scope": "resource" |
There was a problem hiding this comment.
Could you add
"minimum": 500,
"maximum": 3000
| "c_cpp.configuration.intelliSenseCachePath.description": "Defines the folder path for cached precompiled headers used by IntelliSense. The default cache path is \"%LocalAppData%/Microsoft/vscode-cpptools\" on Windows, \"$XDG_CACHE_HOME/vscode-cpptools/\" on Linux (or \"$HOME/.cache/vscode-cpptools/\" if XDG_CACHE_HOME is not defined), and \"$HOME/Library/Caches/vscode-cpptools/\" on Mac. The default path will be used if no path is specified or if a specified path is invalid.", | ||
| "c_cpp.configuration.intelliSenseCacheSize.description": "Maximum size of the per-workspace hard drive space in megabytes (MB) for cached precompiled headers; the actual usage may fluctuate around this value. The default size is 5120 MB. Precompiled header caching is disabled when the size is 0.", | ||
| "c_cpp.configuration.intelliSenseMemoryLimit.description": "Memory usage limit in megabytes (MB) of an IntelliSense process. The default limit is 4096 MB and the maximum limit is 16 GB. The extension will shutdown and restart an IntelliSense process when it exceeds the limit.", | ||
| "c_cpp.configuration.intelliSenseUpdateDelay.description": "Controls the delay in milliseconds before intelliSense takes effect.", |
There was a problem hiding this comment.
"takes effect" -> "starts updating after a modification."
| "type": "number", | ||
| "default": 2000, | ||
| "description": "%c_cpp.configuration.intelliSenseUpdateDelay.description%", | ||
| "scope": "resource" |
There was a problem hiding this comment.
I think "resource" should be "application".
| intelliSenseCachePath : settings_intelliSenseCachePath, | ||
| intelliSenseCacheSize : settings_intelliSenseCacheSize, | ||
| intelliSenseMemoryLimit : settings_intelliSenseMemoryLimit, | ||
| intelliSenseUpdateDelay: settings_intelliSenseUpdateDelay, |
There was a problem hiding this comment.
This would be workspaceSettings.intelliSenseUpdateDelay if the scope is changed to "application".
I have PR with the change. |
|
all need fixed had done @sean-mcmanus |
Thanks. The setting is working with our binary changes for our pending 1.1.0-insiders3 -- we may have an update later this week. |
@tjx666 Can you sign this CLA? |
No description provided.