{"id":18285,"date":"2018-01-17T17:08:11","date_gmt":"2018-01-18T01:08:11","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/vcblog\/?p=18285"},"modified":"2019-02-18T17:48:04","modified_gmt":"2019-02-18T17:48:04","slug":"visual-studio-code-cc-extension-jan-2018-update","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/cppblog\/visual-studio-code-cc-extension-jan-2018-update\/","title":{"rendered":"Visual Studio Code C\/C++ extension Jan 2018 update"},"content":{"rendered":"<p><a href=\"https:\/\/blogs.msdn.microsoft.com\/c\/2018\/02\/24\/visual-studio-code-cc-%e6%89%a9%e5%b1%952018%e5%b9%b41%e6%9c%88%e6%9b%b4%e6%96%b0\/\">\u70b9\u8fd9\u91cc\u770b\u4e2d\u6587\u7248<\/a><\/p>\n<p>Today we are shipping the first update of the year to the <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ms-vscode.cpptools\">Visual Studio Code C\/C++ extension<\/a>! This update includes IntelliSense and code navigation performance improvements and a CPU Usage setting for the tag parser to specify the CPU resources to be used. Also, just recently we open-sourced part of the extension <a href=\"https:\/\/github.com\/Microsoft\/vscode-cpptools\/\">on GitHub<\/a>.<\/p>\n<h2>IntelliSense and code navigation performance improvements<\/h2>\n<p>We enhanced the tag parser based IntelliSense engine by optimizing the list of files that need to be parsed, resulting in greatly improved performance for any features powered by the tag parser. This includes IntelliSense lightbulb suggestions, fallback \u201cfuzzy\u201d IntelliSense results, and code navigation operations such as \u201cGo To Definition\u201d.<\/p>\n<h2>CPU Usage setting for tag parser<\/h2>\n<p>By default, the tag parser utilizes full CPU resources to provide the best possible IntelliSense experience. However, if there are situations where you need the CPU resources spent somewhere else, you can use the new C_Cpp.workspaceParsingPriority setting in the Settings.json file (menu Preferences &gt; Settings) to adjust the priority of the tag parser. If the setting is set to values other than \u201chighest\u201d, the extension will cap the CPU usage of the tag parser.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/9\/2019\/02\/19.jpg\"><img decoding=\"async\" width=\"879\" height=\"193\" class=\"alignnone size-large wp-image-18295\" alt=\"\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/9\/2019\/02\/19-1024x225.jpg\" \/><\/a><\/p>\n<h2>Part of the extension is now open sourced<\/h2>\n<p>Part of the extension code, which owns the communication between VS Code and the C++ language service and the debugger engine, is now open sourced on the <a href=\"https:\/\/github.com\/Microsoft\/vscode-cpptools\/\">VS Code C\/C++ extension repo on GitHub<\/a>. <a href=\"https:\/\/github.com\/Microsoft\/vscode-cpptools\/issues\">Issues<\/a> on this repo track issues for all parts of the extension, and we\u2019ve tagged those that can be fixed in the open-sourced part of the code with \u201c<a href=\"https:\/\/github.com\/Microsoft\/vscode-cpptools\/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22\">help wanted<\/a>\u201d in case you want to <a href=\"https:\/\/github.com\/Microsoft\/vscode-cpptools\/blob\/master\/CONTRIBUTING.md\">contribute<\/a>.<\/p>\n<h2>Tell us what you think<\/h2>\n<p><a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ms-vscode.cpptools\">Download the C\/C++ extension for Visual Studio Code<\/a>, try it out, and let us know what you think. File <a href=\"https:\/\/github.com\/Microsoft\/vscode-cpptools\/issues\">issues and suggestions on GitHub<\/a>. If you haven\u2019t already provided us feedback, please take this <a href=\"https:\/\/www.surveymonkey.com\/r\/X6ZSTP5\">quick survey<\/a> to help shape this extension for your needs. You can also find us on Twitter (<a href=\"https:\/\/twitter.com\/visualc\">@VisualC<\/a>).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u70b9\u8fd9\u91cc\u770b\u4e2d\u6587\u7248 Today we are shipping the first update of the year to the Visual Studio Code C\/C++ extension! This update includes IntelliSense and code navigation performance improvements and a CPU Usage setting for the tag parser to specify the CPU resources to be used. Also, just recently we open-sourced part of the extension on GitHub. [&hellip;]<\/p>\n","protected":false},"author":269,"featured_media":35994,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[270,275],"tags":[274,276],"class_list":["post-18285","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-announcement","category-visual-studio-code","tag-c-extension","tag-vscode"],"acf":[],"blog_post_summary":"<p>\u70b9\u8fd9\u91cc\u770b\u4e2d\u6587\u7248 Today we are shipping the first update of the year to the Visual Studio Code C\/C++ extension! This update includes IntelliSense and code navigation performance improvements and a CPU Usage setting for the tag parser to specify the CPU resources to be used. Also, just recently we open-sourced part of the extension on GitHub. [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/18285","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/users\/269"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/comments?post=18285"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/18285\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/media\/35994"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/media?parent=18285"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/categories?post=18285"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/tags?post=18285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}