-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Add setting to throttle workspace parsing. #1389
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 setting to throttle workspace parsing. #1389
Conversation
|
|
Extension/CHANGELOG.md
Outdated
| # C/C++ for Visual Studio Code Change Log | ||
|
|
||
| ## Version 0.14.6: Janurary 2, 2017 | ||
| ## Version 0.14.6: Janurary 4, 2017 |
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.
I believe January 10 is when we're planning to submit this update
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.
I thought we were talking about the 16th per Rong's mail?
| * Fix "Include file not found" messages not re-appearing after settings changes. [#1363](https://github.com/Microsoft/vscode-cpptools/issues/1363) | ||
| * Performance improvements when no files need to be parsed, and stop showing "Parsing files" when there's no actual parsing. [#1393](https://github.com/Microsoft/vscode-cpptools/issues/1393) | ||
| * Fix crash when settings with the wrong type are used. [#1396](https://github.com/Microsoft/vscode-cpptools/issues/1396) | ||
| * Add `C_Cpp.workspaceParsingPriority` setting to avoid using 100% CPU during parsing of workspace files. |
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.
"Add C_Cpp.workspaceParsingPriority setting to allow users to throttle CPU usage during parsing of workspace files."
| * Performance improvements when no files need to be parsed, and stop showing "Parsing files" when there's no actual parsing. [#1393](https://github.com/Microsoft/vscode-cpptools/issues/1393) | ||
| * Fix crash when settings with the wrong type are used. [#1396](https://github.com/Microsoft/vscode-cpptools/issues/1396) | ||
| * Add `C_Cpp.workspaceParsingPriority` setting to avoid using 100% CPU during parsing of workspace files. | ||
| * Add `C_Cpp.exclusionPolicy` default to `checkFolders` to avoid expensive `files.exclude` checking on every file. |
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.
"Add C_Cpp.exclusionPolicy. Default to checkFolders to avoid expensive files.exclude checking on every file."
Extension/package.json
Outdated
| "checkFilesAndFolders" | ||
| ], | ||
| "default": "checkFolders", | ||
| "description": "Instructs the extension when to use the \"files.exclude\" setting when determining which files should be added to the code navigation database while traversing through the paths in the \"browse.path\" array. \"checkFolders\" means that the exclusion filters will only be evaluated once per folder (all children of the folder are excluded). \"checkFilesAndFolders\" means that the exclusion filters will be evaluated against every file and folder encountered. If your \"files.exclude\" setting only contains folders, then \"checkFolders\" is the best choice and will increase the speed at which the extension can initialize the code navigation database.", |
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.
replace "(all children of the folder are excluded)" with "(individual files are not checked)"
Add workspaceParsingPriority and exclusionPolicy settings.