<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Visual Studio Code on Groundhog Learning</title>
    <link>https://groundhoglearning.com/vault/programming/visual-studio-code/</link>
    <description>Recent content in Visual Studio Code on Groundhog Learning</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <atom:link href="https://groundhoglearning.com/vault/programming/visual-studio-code/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>C# Dev Kit</title>
      <link>https://groundhoglearning.com/vault/programming/visual-studio-code/csharp-dev-kit/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://groundhoglearning.com/vault/programming/visual-studio-code/csharp-dev-kit/</guid>
      <description>&lt;p&gt;&lt;strong&gt;C# Dev Kit&lt;/strong&gt; is a &lt;a href=&#34;https://groundhoglearning.com/vault/programming/visual-studio-code&#34;class=&#34;book-link book-link--internal&#34;&gt;&#xA;    Visual Studio Code&lt;/a&gt; extension made by Microsoft that adds full C# support to the editor. Without it, VS Code has no understanding of C#. With it, you get the tools you need to write, run, and debug C# programs.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;p&gt;Installing C# Dev Kit gives VS Code three things it doesn&amp;rsquo;t have by default for C#:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Intelligent autocomplete&lt;/strong&gt;: As you type, VS Code suggests completions based on the C# language and the code in the project. It shows available methods, properties, and variables so you don&amp;rsquo;t have to remember everything.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Real-time error detection&lt;/strong&gt;: Mistakes are underlined as you type, before you run anything. A red underline means a compile error. A yellow underline means a warning. Catching these early saves a lot of time.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Solution Explorer&lt;/strong&gt;: A panel that shows the project structure in terms of solutions and projects, matching how .NET organises code. It sits alongside the regular file Explorer and gives a cleaner view of larger projects.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&lt;h2&gt;⚠️ Mistakes&lt;/h2&gt;&#xA;&#xA;&lt;details  data-hint=&#34;&#34;&gt;&lt;summary&gt;Thinking C# Dev Kit is C#&lt;/summary&gt;&lt;div class=&#34;markdown-inner&#34;&gt;&#xA;&lt;p&gt;C# Dev Kit is a tool that helps you write C#. It is not the language itself. The actual C# compiler and runtime come from the .NET SDK, which is a separate install. If the .NET SDK isn&amp;rsquo;t installed, C# Dev Kit will report errors and the programs won&amp;rsquo;t run, no matter how correctly they are written.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Install the C# Dev Kit Extension</title>
      <link>https://groundhoglearning.com/vault/programming/visual-studio-code/install-csharp-dev-kit/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://groundhoglearning.com/vault/programming/visual-studio-code/install-csharp-dev-kit/</guid>
      <description>&lt;p&gt;This procedure walks you through installing the &lt;a href=&#34;https://groundhoglearning.com/vault/programming/visual-studio-code/csharp-dev-kit&#34;class=&#34;book-link book-link--internal&#34;&gt;&#xA;    C# Dev Kit&lt;/a&gt; extension in Visual Studio Code.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&lt;h2&gt;🧰 Prerequisites&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://groundhoglearning.com/vault/programming/visual-studio-code/install&#34;class=&#34;book-link book-link--internal&#34;&gt;&#xA;    Visual Studio Code installed&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&lt;h2&gt;📋 Steps&lt;/h2&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Open &lt;strong&gt;Visual Studio Code&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Open the &lt;strong&gt;Extensions&lt;/strong&gt; panel by clicking the extensions icon in the left sidebar. It looks like four squares.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;In the search box, type &lt;code&gt;C# Dev Kit&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;label class=&#34;book-image&#34; for=&#34;book-image-toggle-04147d6487&#34;&gt;&#xA;      &lt;input class=&#34;hidden toggle&#34; type=&#34;checkbox&#34; id=&#34;book-image-toggle-04147d6487&#34; /&gt;&#xA;      &lt;img src=&#34;https://groundhoglearning.com/vault/programming/images/vscode-install-csharp-devkit-step01.png&#34; alt=&#34;The VS Code Extensions panel with C# Dev Kit typed into the search box&#34;loading=&#34;lazy&#34; /&gt;&#xA;    &lt;/label&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Find the extension named &lt;strong&gt;C# Dev Kit&lt;/strong&gt; published by &lt;strong&gt;Microsoft&lt;/strong&gt;, and click &lt;strong&gt;Install&lt;/strong&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Install the Python Extension</title>
      <link>https://groundhoglearning.com/vault/programming/visual-studio-code/install-python-extension/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://groundhoglearning.com/vault/programming/visual-studio-code/install-python-extension/</guid>
      <description>&lt;blockquote class=&#39;book-hint note&#39;&gt;&#xA;&lt;p&gt;This page explains how to install the Python extension.&#xA;For an overview of what it is and what it adds, see the &lt;a href=&#34;https://groundhoglearning.com/vault/programming/visual-studio-code/python-extension&#34;class=&#34;book-link book-link--internal&#34;&gt;&#xA;    Python extension&lt;/a&gt; concept page.&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;This procedure walks you through installing the &lt;a href=&#34;https://groundhoglearning.com/vault/programming/visual-studio-code/python-extension&#34;class=&#34;book-link book-link--internal&#34;&gt;&#xA;    Python extension&lt;/a&gt; in &lt;a href=&#34;https://groundhoglearning.com/vault/programming/visual-studio-code&#34;class=&#34;book-link book-link--internal&#34;&gt;&#xA;    Visual Studio Code&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&lt;h2&gt;🧰 Prerequisites&lt;/h2&gt;&#xA;&#xA;&lt;blockquote class=&#39;book-hint important&#39;&gt;&#xA;&lt;p&gt;Install both before continuing. The steps below assume they are already set up.&lt;/p&gt;&lt;/blockquote&gt;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://groundhoglearning.com/vault/programming/python/install&#34;class=&#34;book-link book-link--internal&#34;&gt;&#xA;    Python&lt;/a&gt; installed&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://groundhoglearning.com/vault/programming/visual-studio-code/install&#34;class=&#34;book-link book-link--internal&#34;&gt;&#xA;    Visual Studio Code&lt;/a&gt; installed&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&lt;h2&gt;📋 Steps&lt;/h2&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Open &lt;strong&gt;Visual Studio Code&lt;/strong&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Install Visual Studio Code</title>
      <link>https://groundhoglearning.com/vault/programming/visual-studio-code/install/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://groundhoglearning.com/vault/programming/visual-studio-code/install/</guid>
      <description>&lt;p&gt;This procedure walks you through downloading and installing &lt;a href=&#34;https://groundhoglearning.com/vault/programming/visual-studio-code&#34;class=&#34;book-link book-link--internal&#34;&gt;&#xA;    Visual Studio Code&lt;/a&gt; on the machine.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&lt;h2&gt;🧰 Prerequisites&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;None.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&lt;h2&gt;📋 Steps&lt;/h2&gt;&#xA;&#xA;&lt;div class=&#34;book-tabs&#34;data-tabset=&#34;tabs-2&#34;&gt;&#xA;&lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-2&#34; id=&#34;tabs-2-0&#34; data-tab-id=&#34;windows&#34; checked=&#34;checked&#34; /&gt;&#xA;&lt;label for=&#34;tabs-2-0&#34; data-tab-id=&#34;windows&#34;&gt;Windows&lt;/label&gt;&#xA;&lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Open the browser.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Go to &lt;a href=&#34;https://code.visualstudio.com/&#34;class=&#34;book-link book-link--external&#34;&#xA;    target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; &gt;&#xA;    code.visualstudio.com&lt;span class=&#34;book-link__icon&#34; aria-hidden=&#34;true&#34;&gt;↗&lt;/span&gt;&#xA;    &lt;span class=&#34;sr-only&#34;&gt;(external link)&lt;/span&gt;&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Download the installer for Windows.&lt;/p&gt;&#xA; &lt;label class=&#34;book-image&#34; for=&#34;book-image-toggle-fba239f841&#34;&gt;&#xA;   &lt;input class=&#34;hidden toggle&#34; type=&#34;checkbox&#34; id=&#34;book-image-toggle-fba239f841&#34; /&gt;&#xA;   &lt;img src=&#34;https://groundhoglearning.com/vault/programming/images/vscode-install-step01.png&#34; alt=&#34;Description&#34;loading=&#34;lazy&#34; /&gt;&#xA; &lt;/label&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Run the installer.&lt;/p&gt;&#xA; &lt;label class=&#34;book-image&#34; for=&#34;book-image-toggle-4bceea3fca&#34;&gt;&#xA;   &lt;input class=&#34;hidden toggle&#34; type=&#34;checkbox&#34; id=&#34;book-image-toggle-4bceea3fca&#34; /&gt;&#xA;   &lt;img src=&#34;https://groundhoglearning.com/vault/programming/images/vscode-install-step02.png&#34; alt=&#34;Description&#34;loading=&#34;lazy&#34; /&gt;&#xA; &lt;/label&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Accept the agreement and press &lt;strong&gt;Next&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Follow all the steps. The default options are fine.&lt;/p&gt;&#xA; &lt;label class=&#34;book-image&#34; for=&#34;book-image-toggle-5328b8705f&#34;&gt;&#xA;   &lt;input class=&#34;hidden toggle&#34; type=&#34;checkbox&#34; id=&#34;book-image-toggle-5328b8705f&#34; /&gt;&#xA;   &lt;img src=&#34;https://groundhoglearning.com/vault/programming/images/vscode-install-step03.png&#34; alt=&#34;Description&#34;loading=&#34;lazy&#34; /&gt;&#xA; &lt;/label&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Finish the installation and Visual Studio Code will open automatically.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Open a Project Folder</title>
      <link>https://groundhoglearning.com/vault/programming/visual-studio-code/open-project-folder/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://groundhoglearning.com/vault/programming/visual-studio-code/open-project-folder/</guid>
      <description>&lt;p&gt;This procedure walks you through opening a project folder in &lt;a href=&#34;https://groundhoglearning.com/vault/programming/visual-studio-code&#34;class=&#34;book-link book-link--internal&#34;&gt;&#xA;    Visual Studio Code&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&lt;h2&gt;🧰 Prerequisites&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://groundhoglearning.com/vault/programming/visual-studio-code/install&#34;class=&#34;book-link book-link--internal&#34;&gt;&#xA;    Visual Studio Code installed&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&lt;h2&gt;📋 Steps&lt;/h2&gt;&#xA;&#xA;&lt;div class=&#34;book-tabs&#34;data-tabset=&#34;tabs-2&#34;&gt;&#xA;&lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-2&#34; id=&#34;tabs-2-0&#34; data-tab-id=&#34;windows&#34; checked=&#34;checked&#34; /&gt;&#xA;&lt;label for=&#34;tabs-2-0&#34; data-tab-id=&#34;windows&#34;&gt;Windows&lt;/label&gt;&#xA;&lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open Visual Studio Code.&lt;/li&gt;&#xA;&lt;li&gt;Open the Explorer Tab.&lt;/li&gt;&#xA;&lt;li&gt;Click &lt;strong&gt;Open Folder&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;label class=&#34;book-image&#34; for=&#34;book-image-toggle-5b02837e86&#34;&gt;&#xA;  &lt;input class=&#34;hidden toggle&#34; type=&#34;checkbox&#34; id=&#34;book-image-toggle-5b02837e86&#34; /&gt;&#xA;  &lt;img src=&#34;https://groundhoglearning.com/vault/programming/images/vscode-open-project-folder-step01.png&#34; alt=&#34;Description&#34;loading=&#34;lazy&#34; /&gt;&#xA;&lt;/label&gt;&#xA;&lt;ol start=&#34;4&#34;&gt;&#xA;&lt;li&gt;Create new or select existing folder.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;label class=&#34;book-image&#34; for=&#34;book-image-toggle-51928e7ad6&#34;&gt;&#xA;  &lt;input class=&#34;hidden toggle&#34; type=&#34;checkbox&#34; id=&#34;book-image-toggle-51928e7ad6&#34; /&gt;&#xA;  &lt;img src=&#34;https://groundhoglearning.com/vault/programming/images/vscode-open-project-folder-step02.png&#34; alt=&#34;Description&#34;loading=&#34;lazy&#34; /&gt;&#xA;&lt;/label&gt;&#xA;&lt;ol start=&#34;5&#34;&gt;&#xA;&lt;li&gt;Visual Studio Code will show the opened folder in the &lt;strong&gt;Explorer&lt;/strong&gt; tab.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;label class=&#34;book-image&#34; for=&#34;book-image-toggle-3236d364dc&#34;&gt;&#xA;  &lt;input class=&#34;hidden toggle&#34; type=&#34;checkbox&#34; id=&#34;book-image-toggle-3236d364dc&#34; /&gt;&#xA;  &lt;img src=&#34;https://groundhoglearning.com/vault/programming/images/vscode-open-project-folder-step03.png&#34; alt=&#34;Description&#34;loading=&#34;lazy&#34; /&gt;&#xA;&lt;/label&gt;&#xA;&lt;ol start=&#34;6&#34;&gt;&#xA;&lt;li&gt;The first time you open a folder, Visual Studio Code may ask whether you trust the authors of the files in it. This is your folder, so you can trust it.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;label class=&#34;book-image&#34; for=&#34;book-image-toggle-88f46051e2&#34;&gt;&#xA;  &lt;input class=&#34;hidden toggle&#34; type=&#34;checkbox&#34; id=&#34;book-image-toggle-88f46051e2&#34; /&gt;&#xA;  &lt;img src=&#34;https://groundhoglearning.com/vault/programming/images/vscode-open-project-folder-step04.png&#34; alt=&#34;Description&#34;loading=&#34;lazy&#34; /&gt;&#xA;&lt;/label&gt;&#xA;&lt;/div&gt;&#xA;&lt;/div&gt;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&lt;h2&gt;🎯 Expected Outcome&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Visual Studio Code shows the selected folder in the file explorer on the left.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Python Extension</title>
      <link>https://groundhoglearning.com/vault/programming/visual-studio-code/python-extension/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://groundhoglearning.com/vault/programming/visual-studio-code/python-extension/</guid>
      <description>&lt;p&gt;The &lt;strong&gt;Python extension&lt;/strong&gt; is a &lt;a href=&#34;https://groundhoglearning.com/vault/programming/visual-studio-code&#34;class=&#34;book-link book-link--internal&#34;&gt;&#xA;    Visual Studio Code&lt;/a&gt; extension made by Microsoft that adds full Python support to the editor. Without it, VS Code has no understanding of Python. With it, you get the tools you need to write, run, and debug Python programs.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;what-it-adds&#34;&gt;What it adds&lt;a class=&#34;anchor&#34; href=&#34;#what-it-adds&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;Installing the Python extension gives VS Code three things it doesn&amp;rsquo;t have by default for Python:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Intelligent autocomplete&lt;/strong&gt;: As you type, VS Code suggests completions based on the Python language and the code in the project. It shows available functions, methods, and variables so you don&amp;rsquo;t have to remember everything.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Real-time error detection&lt;/strong&gt;: Mistakes are underlined as you type, before you run anything. A red underline means an error. A yellow underline means a warning. Catching these early saves a lot of time.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Run and debug support&lt;/strong&gt;: The extension adds a way to run Python files directly from the editor and to pause a program mid-run to inspect what it&amp;rsquo;s doing. This makes finding and fixing problems far easier than running blind.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&lt;details  data-hint=&#34;&#34;&gt;&lt;summary&gt;The Python extension is not Python&lt;/summary&gt;&lt;div class=&#34;markdown-inner&#34;&gt;&#xA;&lt;p&gt;The Python extension is a tool that helps you write Python. It is not the language itself. The Python interpreter, which actually runs the code, comes from a separate install at &lt;a href=&#34;https://www.python.org/downloads/&#34;class=&#34;book-link book-link--external&#34;&#xA;    target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; &gt;&#xA;    python.org&lt;span class=&#34;book-link__icon&#34; aria-hidden=&#34;true&#34;&gt;↗&lt;/span&gt;&#xA;    &lt;span class=&#34;sr-only&#34;&gt;(external link)&lt;/span&gt;&lt;/a&gt;. If Python isn&amp;rsquo;t installed, the extension can&amp;rsquo;t run anything, no matter how correctly the code is written.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
