{"id":32742,"date":"2024-01-22T20:31:03","date_gmt":"2024-01-22T20:31:03","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/cppblog\/?p=32742"},"modified":"2024-01-22T20:31:03","modified_gmt":"2024-01-22T20:31:03","slug":"c-in-vs-code-getting-started-configuring-intellisense","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/cppblog\/c-in-vs-code-getting-started-configuring-intellisense\/","title":{"rendered":"C++ in VS Code: Getting Started &#038; Configuring IntelliSense"},"content":{"rendered":"<p><span class=\"TextRun SCXW143481977 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW143481977 BCX8\">Ever<\/span> <span class=\"NormalTextRun SCXW143481977 BCX8\">wondered how you can <\/span><span class=\"NormalTextRun SCXW143481977 BCX8\">configure IntelliSense in the C++ Extension\u00a0 in Visual Studio Code<\/span><span class=\"NormalTextRun SCXW143481977 BCX8\">? Or <\/span><span class=\"NormalTextRun SCXW143481977 BCX8\">the easiest way<\/span> <span class=\"NormalTextRun SCXW143481977 BCX8\">to run your C++ code?<\/span><span class=\"NormalTextRun SCXW143481977 BCX8\"> W<\/span><span class=\"NormalTextRun SCXW143481977 BCX8\">ith the <\/span><span class=\"NormalTextRun SCXW143481977 BCX8\">new <\/span><span class=\"NormalTextRun SCXW143481977 BCX8\">features <\/span><span class=\"NormalTextRun SCXW143481977 BCX8\">added<\/span> <span class=\"NormalTextRun SCXW143481977 BCX8\">to the <\/span><span class=\"NormalTextRun SCXW143481977 BCX8\">C++ <\/span><span class=\"NormalTextRun SCXW143481977 BCX8\">extension<\/span><span class=\"NormalTextRun SCXW143481977 BCX8\">, <\/span><span class=\"NormalTextRun SCXW143481977 BCX8\">configuring<\/span> <span class=\"NormalTextRun SCXW143481977 BCX8\">IntelliSense<\/span><span class=\"NormalTextRun SCXW143481977 BCX8\"> and <\/span><span class=\"NormalTextRun SCXW143481977 BCX8\">setting up a project is easier than ever. This includes a \u201cGetting Started with C++\u201d walkthrough,<\/span> c<span class=\"NormalTextRun SCXW143481977 BCX8\">onfigure IntelliSense indicator<\/span><span class=\"NormalTextRun SCXW143481977 BCX8\">, and the language status bar<\/span><span class=\"NormalTextRun SCXW143481977 BCX8\">.<\/span><\/span><\/p>\n<p>&nbsp;<\/p>\n<h3 aria-level=\"2\"><span data-contrast=\"none\">&#8220;Getting Started with C++&#8221; Walkthrough <\/span><span data-ccp-props=\"{&quot;134245418&quot;:true,&quot;134245529&quot;:true,&quot;201341983&quot;:0,&quot;335559738&quot;:160,&quot;335559739&quot;:80,&quot;335559740&quot;:279}\">\u00a0<\/span><\/h3>\n<p><span class=\"TextRun SCXW216764055 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun CommentStart SCXW216764055 BCX8\">With the C++ Extension for VS Code installed, t<\/span><span class=\"NormalTextRun SCXW216764055 BCX8\">he<\/span> <span class=\"NormalTextRun SCXW216764055 BCX8\">new<\/span><span class=\"NormalTextRun SCXW216764055 BCX8\"> Getting Started <\/span><span class=\"NormalTextRun SCXW216764055 BCX8\">w<\/span><span class=\"NormalTextRun SCXW216764055 BCX8\">alkthrough<\/span> helps<span class=\"NormalTextRun SCXW216764055 BCX8\"> you set up your environment and will <\/span><span class=\"NormalTextRun SCXW216764055 BCX8\">have you running <\/span><span class=\"NormalTextRun SCXW216764055 BCX8\">your <\/span><span class=\"NormalTextRun SCXW216764055 BCX8\">C++ code in <\/span><span class=\"NormalTextRun SCXW216764055 BCX8\">no time<\/span><span class=\"NormalTextRun SCXW216764055 BCX8\">. <\/span><span class=\"NormalTextRun SCXW216764055 BCX8\">Invoke it by running the<\/span> <\/span><strong><span class=\"TextRun SCXW216764055 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW216764055 BCX8\">Open Walkthrough <\/span><\/span><\/strong><span class=\"TextRun SCXW216764055 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW216764055 BCX8\">command <\/span><\/span><span class=\"TextRun SCXW216764055 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW216764055 BCX8\">in the command palette and selecting the C++ walkthrough<\/span><span class=\"NormalTextRun SCXW216764055 BCX8\">.<\/span> <span class=\"NormalTextRun SCXW216764055 BCX8\">You can also <\/span><span class=\"NormalTextRun SCXW216764055 BCX8\">follow along with this step-by-step tutorial:<\/span><\/span><span class=\"EOP SCXW216764055 BCX8\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:279}\">\u00a0<\/span><\/p>\n<p><iframe title=\"C++ in VS Code: A Quick Guide\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/qeEcV6u1kV4?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p><span class=\"TextRun SCXW141529743 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW141529743 BCX8\">While this video is specifically using macOS, the walkthrough can be used with any platform. It<\/span><span class=\"NormalTextRun SCXW141529743 BCX8\">\u00a0includes steps on <\/span><span class=\"NormalTextRun SCXW141529743 BCX8\">how to <\/span><span class=\"NormalTextRun CommentStart SCXW141529743 BCX8\">set<\/span> <span class=\"NormalTextRun SCXW141529743 BCX8\">up a C++ environment<\/span><span class=\"NormalTextRun SCXW141529743 BCX8\">, creat<\/span><span class=\"NormalTextRun SCXW141529743 BCX8\">e<\/span><span class=\"NormalTextRun SCXW141529743 BCX8\"> a<\/span><span class=\"NormalTextRun SCXW141529743 BCX8\"> file, <\/span><span class=\"NormalTextRun SCXW141529743 BCX8\">run<\/span> <span class=\"NormalTextRun SCXW141529743 BCX8\">your code,<\/span><span class=\"NormalTextRun SCXW141529743 BCX8\"> debu<\/span><span class=\"NormalTextRun SCXW141529743 BCX8\">g<\/span> <span class=\"NormalTextRun SCXW141529743 BCX8\">your code<\/span><span class=\"NormalTextRun SCXW141529743 BCX8\">, and<\/span><span class=\"NormalTextRun SCXW141529743 BCX8\">\u00a0use <\/span><span class=\"NormalTextRun SCXW141529743 BCX8\">advanced debugging features<\/span><span class=\"NormalTextRun SCXW141529743 BCX8\">.<\/span> <\/span><span class=\"EOP SCXW141529743 BCX8\" data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559685&quot;:0,&quot;335559737&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:279}\"><span tabindex=\"0\">It<\/span> <span tabindex=\"0\">also<\/span> helps you install<span tabindex=\"0\">\u00a0a<\/span> <span tabindex=\"0\">C++ compiler <\/span><span tabindex=\"0\">based on <\/span><span tabindex=\"0\">your <\/span><span tabindex=\"0\">operating system and<\/span> <span tabindex=\"0\">configure <\/span><span tabindex=\"0\">IntelliSense to use th<\/span><span tabindex=\"0\">e newly installed compiler.<\/span><\/span><\/p>\n<h3 aria-level=\"2\"><span data-contrast=\"none\">Why IntelliSense? <\/span><span data-ccp-props=\"{&quot;134245418&quot;:true,&quot;134245529&quot;:true,&quot;201341983&quot;:0,&quot;335559738&quot;:160,&quot;335559739&quot;:80,&quot;335559740&quot;:279}\">\u00a0<\/span><\/h3>\n<p><span class=\"TextRun SCXW150542675 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW150542675 BCX8\">This leads to the question \u2013 <\/span><span class=\"NormalTextRun SCXW150542675 BCX8\">wh<\/span><span class=\"NormalTextRun SCXW150542675 BCX8\">at is <\/span><span class=\"NormalTextRun SCXW150542675 BCX8\">Intelli<\/span><span class=\"NormalTextRun SCXW150542675 BCX8\">S<\/span><span class=\"NormalTextRun SCXW150542675 BCX8\">ense<\/span><span class=\"NormalTextRun SCXW150542675 BCX8\">? Why does it need to be configured? <\/span><\/span><a class=\"Hyperlink SCXW150542675 BCX8\" href=\"https:\/\/code.visualstudio.com\/docs\/editor\/intellisense\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW150542675 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW150542675 BCX8\" data-ccp-charstyle=\"Hyperlink\">Intelli<\/span><span class=\"NormalTextRun SCXW150542675 BCX8\" data-ccp-charstyle=\"Hyperlink\">S<\/span><span class=\"NormalTextRun SCXW150542675 BCX8\" data-ccp-charstyle=\"Hyperlink\">ense <\/span><\/span><\/a><span class=\"TextRun SCXW150542675 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW150542675 BCX8\">is<\/span><span class=\"NormalTextRun SCXW150542675 BCX8\"> a tool <\/span><span class=\"NormalTextRun SCXW150542675 BCX8\">built into VS Code<\/span><span class=\"NormalTextRun SCXW150542675 BCX8\"> that <\/span><span class=\"NormalTextRun SCXW150542675 BCX8\">provides<\/span><span class=\"NormalTextRun SCXW150542675 BCX8\"> various code editing features that will help you code faster <\/span><span class=\"NormalTextRun SCXW150542675 BCX8\">and<\/span> <span class=\"NormalTextRun SCXW150542675 BCX8\">more efficiently. For example, <\/span><span class=\"NormalTextRun SCXW150542675 BCX8\">code completion, parameter info, code actions (light bulbs), and member lists are all generated by <\/span><span class=\"NormalTextRun SCXW150542675 BCX8\">IntelliSense<\/span><span class=\"NormalTextRun SCXW150542675 BCX8\">.<\/span><\/span><\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2024\/01\/IntelliSenseExample.gif\"><img decoding=\"async\" class=\"aligncenter wp-image-33455\" src=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2024\/01\/IntelliSenseExample.gif\" alt=\"A gif that shows that as you type in VS Code, IntelliSense provides different features, like a dropdown of suggestions.\" width=\"598\" height=\"255\" \/><\/a><\/p>\n<p><span data-contrast=\"auto\">IntelliSense is powered by a language service, which provides language specific completions for your code. For these to be C++ specific, IntelliSense needs to first be configured. This configuration can be done via a compiler, compile_commands.json file, or another VS Code extension (e.g. the Makefile or CMake extension).<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:279}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">The C++ Extension will, on most occasions, configure IntelliSense automatically for you. For details on this process, reference the<\/span><a href=\"https:\/\/code.visualstudio.com\/docs\/cpp\/configure-intellisense\"><span data-contrast=\"none\">\u00a0IntelliSense documentation<\/span><\/a><span data-contrast=\"auto\">. But how can you check if\u00a0IntelliSense is already configured?\u00a0<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:279}\">\u00a0<\/span><\/p>\n<h4 aria-level=\"3\"><span data-contrast=\"none\">Configure IntelliSense indicator<\/span><span data-ccp-props=\"{&quot;134245418&quot;:true,&quot;134245529&quot;:true,&quot;201341983&quot;:0,&quot;335559738&quot;:160,&quot;335559739&quot;:80,&quot;335559740&quot;:279}\">\u00a0<\/span><\/h4>\n<p><span class=\"TextRun SCXW24636514 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW24636514 BCX8\">If you do not have <\/span><span class=\"NormalTextRun SCXW24636514 BCX8\">IntelliSense<\/span><span class=\"NormalTextRun SCXW24636514 BCX8\"> configured<\/span><span class=\"NormalTextRun SCXW24636514 BCX8\"> for your workspace<\/span><span class=\"NormalTextRun SCXW24636514 BCX8\">, you will see now see a new<\/span><span class=\"NormalTextRun SCXW24636514 BCX8\">\u00a0indicator in the status bar with a warning sign<\/span><span class=\"NormalTextRun SCXW24636514 BCX8\">, as shown below:<\/span><\/span><span class=\"EOP SCXW24636514 BCX8\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:279}\">\u00a0<\/span><\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2024\/01\/configure-intellisense-indicator.png\"><img decoding=\"async\" class=\"aligncenter wp-image-33457\" src=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2024\/01\/configure-intellisense-indicator.png\" alt=\"screenshot of the status bar in VS Code, which shows a yellow indicator to the right of the C++ symbol. The yellow indicator says configure intellisense.\" width=\"671\" height=\"41\" srcset=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2024\/01\/configure-intellisense-indicator.png 1586w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2024\/01\/configure-intellisense-indicator-300x18.png 300w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2024\/01\/configure-intellisense-indicator-1024x62.png 1024w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2024\/01\/configure-intellisense-indicator-768x46.png 768w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2024\/01\/configure-intellisense-indicator-1536x93.png 1536w\" sizes=\"(max-width: 671px) 100vw, 671px\" \/><\/a><\/p>\n<p><span class=\"TextRun SCXW134998660 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW134998660 BCX8\">Click on the <\/span><span class=\"NormalTextRun SCXW134998660 BCX8\">\u201cConfigure IntelliSense\u201d <\/span><span class=\"NormalTextRun SCXW134998660 BCX8\">button to open the Configuration Q<\/span><span class=\"NormalTextRun CommentStart SCXW134998660 BCX8\">uick<\/span> P<span class=\"NormalTextRun SCXW134998660 BCX8\">ick<\/span><span class=\"NormalTextRun SCXW134998660 BCX8\">, as explained below, which will help you get configured<\/span><span class=\"NormalTextRun SCXW134998660 BCX8\">.\u00a0<\/span><\/span><span class=\"EOP SCXW134998660 BCX8\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:279}\">\u00a0<\/span><\/p>\n<h4 aria-level=\"3\"><span data-contrast=\"none\">Configuration Quick Pick<\/span><span data-ccp-props=\"{&quot;134245418&quot;:true,&quot;134245529&quot;:true,&quot;201341983&quot;:0,&quot;335559738&quot;:160,&quot;335559739&quot;:80,&quot;335559740&quot;:279}\">\u00a0<\/span><\/h4>\n<p><span class=\"TextRun SCXW64247617 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun CommentStart CommentHighlightPipeClicked CommentHighlightClicked SCXW64247617 BCX8\">Select a new configuration for IntelliSense by using the Configuration Quick Pick. Open the <\/span><span class=\"NormalTextRun CommentHighlightClicked SCXW64247617 BCX8\">Q<\/span><span class=\"NormalTextRun CommentHighlightClicked SCXW64247617 BCX8\">uick <\/span><span class=\"NormalTextRun CommentHighlightClicked SCXW64247617 BCX8\">P<\/span><span class=\"NormalTextRun CommentHighlightClicked SCXW64247617 BCX8\">ick <\/span><span class=\"NormalTextRun CommentHighlightClicked SCXW64247617 BCX8\">either by clicking the Configure IntelliSense button or by <\/span><span class=\"NormalTextRun CommentHighlightClicked SCXW64247617 BCX8\">entering <\/span><\/span><strong><span class=\"TextRun SCXW64247617 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun CommentHighlightClicked SCXW64247617 BCX8\">Select IntelliSense Configuration<\/span><\/span><\/strong><span class=\"TextRun SCXW64247617 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun CommentHighlightClicked SCXW64247617 BCX8\"> in the Command Palette. <\/span><span class=\"NormalTextRun CommentHighlightClicked SCXW64247617 BCX8\">Select a configuration <\/span><span class=\"NormalTextRun CommentHighlightClicked SCXW64247617 BCX8\">from<\/span><span class=\"NormalTextRun CommentHighlightClicked SCXW64247617 BCX8\"> those available in the dropdown.<\/span><\/span><span class=\"EOP CommentHighlightPipeClicked SCXW64247617 BCX8\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:279}\">\u00a0<\/span><\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2024\/01\/compiler_quicpick.png\"><img decoding=\"async\" class=\"aligncenter wp-image-33458\" src=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2024\/01\/compiler_quicpick.png\" alt=\"Image of the dropdown for the compiler quickpick which shows a list of compilers, such as cl.exe and g++.exe. At the bottom of the list there are the options to select another compiler on your machine, help me install a compile, and do not configure with a compiler,\" width=\"557\" height=\"272\" srcset=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2024\/01\/compiler_quicpick.png 1462w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2024\/01\/compiler_quicpick-300x147.png 300w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2024\/01\/compiler_quicpick-1024x501.png 1024w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2024\/01\/compiler_quicpick-768x376.png 768w\" sizes=\"(max-width: 557px) 100vw, 557px\" \/><\/a><\/p>\n<p><span data-contrast=\"none\">If no options are listed, there are multiple ways to install a compiler on your machine. On Windows, select \u201cHelp me install a compiler\u201d from the dropdown which will take you to the step-by-step installation instructions in the walkthrough. On a MacOS or Linux machine, choose \u201cInstall a compiler\u201d to have the C++ Extension install a C++ compiler for you. For either scenario, the installed compiler will automatically be configured for IntelliSense by the C++ Extension. To learn more, reference the <\/span><a href=\"https:\/\/code.visualstudio.com\/docs\/cpp\/configure-intellisense\"><span data-contrast=\"none\">Configuring IntelliSense documentation<\/span><\/a><span data-contrast=\"none\">.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:279}\">\u00a0<\/span><\/p>\n<h3 aria-level=\"3\"><span data-contrast=\"none\">Language Status Bar\u00a0<\/span><span data-ccp-props=\"{&quot;134245418&quot;:true,&quot;134245529&quot;:true,&quot;201341983&quot;:0,&quot;335559738&quot;:160,&quot;335559739&quot;:80,&quot;335559740&quot;:279}\">\u00a0<\/span><\/h3>\n<p><span data-contrast=\"auto\">To check whether IntelliSense is configured and actively doing work in the background, use the new language status bar. Hover over the {} in the status bar which will show you the IntelliSense status. It also indicates the status of whether your workspace has been parsed and indexed, as well as the option to run code analysis. For IntelliSense, you are looking for the \u201cIntelliSense: Ready\u201d status, indicating it is configured and ready for code evaluation. <\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:279}\">\u00a0<\/span><\/p>\n<p><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335551550&quot;:2,&quot;335551620&quot;:2,&quot;335559739&quot;:160,&quot;335559740&quot;:279}\"> <a href=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2024\/01\/language-status-bar.png\"><img decoding=\"async\" class=\"aligncenter wp-image-33459\" src=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2024\/01\/language-status-bar.png\" alt=\"Image of the language status bar, which is located whne hovering over the {} symbol.\" width=\"420\" height=\"184\" srcset=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2024\/01\/language-status-bar.png 1760w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2024\/01\/language-status-bar-300x132.png 300w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2024\/01\/language-status-bar-1024x449.png 1024w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2024\/01\/language-status-bar-768x337.png 768w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2024\/01\/language-status-bar-1536x674.png 1536w\" sizes=\"(max-width: 420px) 100vw, 420px\" \/><\/a><\/span><\/p>\n<p><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:279}\"><span class=\"TextRun SCXW200403425 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW200403425 BCX8\">If \u201cIntelliSense: Not configured\u201d is <\/span><span class=\"NormalTextRun SCXW200403425 BCX8\">displayed, you need to configure IntelliSense in your workspace. Follow the steps described previously to select an IntelliSense configuration through the configuration Q<\/span><span class=\"NormalTextRun CommentStart SCXW200403425 BCX8\">uick<\/span> P<span class=\"NormalTextRun SCXW200403425 BCX8\">ick<\/span><span class=\"NormalTextRun SCXW200403425 BCX8\">.<\/span><\/span><span class=\"EOP SCXW200403425 BCX8\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:279}\">\u00a0<\/span> <\/span><\/p>\n<h3 aria-level=\"3\"><b><span data-contrast=\"none\">Have issues with getting IntelliSense configured?\u00a0 <\/span><\/b><span data-ccp-props=\"{&quot;134245418&quot;:true,&quot;134245529&quot;:true,&quot;201341983&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:120,&quot;335559740&quot;:279}\">\u00a0<\/span><\/h3>\n<p><span data-contrast=\"none\">If you run into any issues with configuring IntelliSense, please feel free to<a href=\"https:\/\/github.com\/microsoft\/vscode-cpptools\/discussions\/new\/choose\"> start a discussion<\/a> or <\/span><a href=\"https:\/\/github.com\/microsoft\/vscode-cpptools\/issues\/new?assignees=&amp;labels=&amp;projects=&amp;template=1_language-service.yml\"><span data-contrast=\"none\">raise an issue<\/span><\/a><span data-contrast=\"none\"> in <\/span><span data-contrast=\"none\">our GitHub repository. <\/span><span data-contrast=\"none\">We can also be reached via the comments below, per email at\u202f <\/span><a href=\"mailto:visualcpp@microsoft.com\"><span data-contrast=\"none\">visualcpp@microsoft.com,<\/span><\/a><span data-contrast=\"none\"> or through our team on X (formerly known as Twitter) at \u202f<\/span><a href=\"https:\/\/twitter.com\/visualc\"><span data-contrast=\"none\">@<\/span><\/a><a href=\"https:\/\/twitter.com\/visualc\"><span data-contrast=\"none\">VisualC.<\/span><\/a><span data-contrast=\"none\">\u00a0\u00a0<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:240,&quot;335559740&quot;:279}\">\u00a0<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ever wondered how you can configure IntelliSense in the C++ Extension\u00a0 in Visual Studio Code? Or the easiest way to run your C++ code? With the new features added to the C++ extension, configuring IntelliSense and setting up a project is easier than ever. This includes a \u201cGetting Started with C++\u201d walkthrough, configure IntelliSense indicator, [&hellip;]<\/p>\n","protected":false},"author":101195,"featured_media":35994,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1,275],"tags":[],"class_list":["post-32742","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cplusplus","category-visual-studio-code"],"acf":[],"blog_post_summary":"<p>Ever wondered how you can configure IntelliSense in the C++ Extension\u00a0 in Visual Studio Code? Or the easiest way to run your C++ code? With the new features added to the C++ extension, configuring IntelliSense and setting up a project is easier than ever. This includes a \u201cGetting Started with C++\u201d walkthrough, configure IntelliSense indicator, [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/32742","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\/101195"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/comments?post=32742"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/32742\/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=32742"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/categories?post=32742"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/tags?post=32742"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}