{"id":228,"date":"2026-04-16T17:22:29","date_gmt":"2026-04-16T17:22:29","guid":{"rendered":"https:\/\/sites.tntech.edu\/acrockett\/?p=228"},"modified":"2026-04-17T20:33:06","modified_gmt":"2026-04-17T20:33:06","slug":"install-set-up-visual-studio-code-vs-code-on-macos","status":"publish","type":"post","link":"https:\/\/sites.tntech.edu\/acrockett\/2026\/04\/16\/install-set-up-visual-studio-code-vs-code-on-macos\/","title":{"rendered":"Install &amp; Set Up Visual Studio Code (VS Code) on MacOS"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">STEP ONE: Install VS Code<\/h1>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Download Visual Studio Code (VS Code) for MacOS from <a href=\"https:\/\/code.visualstudio.com\/download\">https:\/\/code.visualstudio.com\/download<\/a>.<br><\/li>\n\n\n\n<li>Extract (Double click) the downloaded VS code file.<br><\/li>\n\n\n\n<li>Drag <strong><code><mark>Visual Studio Code.app<\/mark><\/code><\/strong> to the \u2018<strong>Applications<\/strong>\u2019 folder and make it available in the MacOS Launchpad.<br><\/li>\n\n\n\n<li>To launch VS code, press <strong><code><mark>Command + space<\/mark><\/code><\/strong> bar and type <strong><code><mark>Visual Studio Code.app<\/mark><\/code><\/strong> and click <strong>VS code icon<\/strong>.\n<ul class=\"wp-block-list\">\n<li>You can add the VS Code to your Dock by right-clicking on the icon and choosing Options, Keep in dock. <\/li>\n\n\n\n<li>Later, you can launch the VS Code directly clicking the VS Code icon in Dock.<br><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>You can also launch VS Code from the macOS terminal, but path need to be added.\n<ul class=\"wp-block-list\">\n<li>Launch VS Code (as in step 4)<\/li>\n\n\n\n<li>Open the <strong>Command Palette <code><mark>(Shift + command + P)<\/mark><\/code><\/strong> and type \u2018<strong>shell command<\/strong>\u2019 and click <strong>Shell Command: Install &#8216;code&#8217; command in PATH<\/strong>.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<h1 class=\"wp-block-heading\">STEP TWO: Install C++ Extension to VS Code<\/h1>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Click on the <strong>Extensions<\/strong> button &nbsp;in VS Code. It is in the menu on the left side (see image below).<br>Then, type &#8220;<strong>C++<\/strong>&#8221; in the <strong>search bar<\/strong> (see image below) and hit the Enter key on your keyboard to display all extensions related to C++.<br><img decoding=\"async\" src=\"http:\/\/sites.tntech.edu\/acrockett\/wp-content\/uploads\/sites\/108\/2026\/04\/vscode-extensions.png\" alt=\"vscode extensions\"><br><\/li>\n\n\n\n<li>Then, click on the <strong>C\/C++ Extension Pack<\/strong> Microsoft extension and click the <strong>Install <\/strong>button. This extension will install four extensions at one time.<br><img decoding=\"async\" src=\"http:\/\/sites.tntech.edu\/acrockett\/wp-content\/uploads\/sites\/108\/2026\/04\/install-extensions.png\" alt=\"install extensions\"><\/li>\n<\/ol>\n\n\n\n<h1 class=\"wp-block-heading\">STEP THREE: <a href=\"https:\/\/sites.tntech.edu\/acrockett\/2026\/04\/17\/disable-all-genai-in-vs-code\/\">Disable all GenAI in VS Code<\/a><\/h1>\n\n\n\n<h1 class=\"wp-block-heading\">STEP FOUR: <a href=\"https:\/\/sites.tntech.edu\/acrockett\/2026\/04\/16\/vs-code-write-compile-run-a-c-program\/\">VS Code: Write, Compile &amp; Run C++ Code<\/a><\/h1>\n\n\n\n<h1 class=\"wp-block-heading\">STEP FIVE: <a href=\"https:\/\/sites.tntech.edu\/acrockett\/2026\/04\/16\/vs-code-features-you-may-like\/\" target=\"_blank\">VS Code Features You May Like<\/a><\/h1>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>STEP ONE: Install VS Code STEP TWO: Install C++ Extension to VS Code STEP THREE: Disable all GenAI in VS Code STEP FOUR: VS Code: Write, Compile &amp; Run C++ Code STEP FIVE: VS Code Features You May Like<\/p>\n","protected":false},"author":119,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[24,25,18,32,23,33],"class_list":{"0":"post-228","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-c","7":"tag-24","8":"tag-25","9":"tag-c","10":"tag-macos","11":"tag-setting-up-computer","12":"tag-vs-code","13":"czr-hentry"},"_links":{"self":[{"href":"https:\/\/sites.tntech.edu\/acrockett\/wp-json\/wp\/v2\/posts\/228","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sites.tntech.edu\/acrockett\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sites.tntech.edu\/acrockett\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sites.tntech.edu\/acrockett\/wp-json\/wp\/v2\/users\/119"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.tntech.edu\/acrockett\/wp-json\/wp\/v2\/comments?post=228"}],"version-history":[{"count":3,"href":"https:\/\/sites.tntech.edu\/acrockett\/wp-json\/wp\/v2\/posts\/228\/revisions"}],"predecessor-version":[{"id":268,"href":"https:\/\/sites.tntech.edu\/acrockett\/wp-json\/wp\/v2\/posts\/228\/revisions\/268"}],"wp:attachment":[{"href":"https:\/\/sites.tntech.edu\/acrockett\/wp-json\/wp\/v2\/media?parent=228"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sites.tntech.edu\/acrockett\/wp-json\/wp\/v2\/categories?post=228"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sites.tntech.edu\/acrockett\/wp-json\/wp\/v2\/tags?post=228"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}