<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Phillip Dodd</title>
    <description>The latest articles on DEV Community by Phillip Dodd (@phillipdodd).</description>
    <link>https://dev.to/phillipdodd</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F138753%2Fe27463ff-8c96-47bc-8156-1aa573be9a27.jpeg</url>
      <title>DEV Community: Phillip Dodd</title>
      <link>https://dev.to/phillipdodd</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/phillipdodd"/>
    <language>en</language>
    <item>
      <title>How to Set Up GitHub Projects in a VS Code Workspace</title>
      <dc:creator>Phillip Dodd</dc:creator>
      <pubDate>Tue, 18 Jun 2019 15:54:59 +0000</pubDate>
      <link>https://dev.to/phillipdodd/how-to-set-up-github-projects-in-a-vs-code-workspace-2j27</link>
      <guid>https://dev.to/phillipdodd/how-to-set-up-github-projects-in-a-vs-code-workspace-2j27</guid>
      <description>&lt;h1&gt;
  
  
  How to Set Up GitHub Projects in VSC Workspace
&lt;/h1&gt;

&lt;blockquote&gt;
&lt;p&gt;This is written as though you do not already have a Workspace created.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Step 1: Create a local dev folder
&lt;/h2&gt;

&lt;p&gt;This is simply a folder somewhere on your local machine that you save code to. You probably already have one. Once you've created it, return to VSCode and click &lt;code&gt;File &amp;gt; Add Folder to Workspace...&lt;/code&gt;  and select your folder that you want to work from. &lt;/p&gt;

&lt;p&gt;It is my personal preference to also create a folder called &lt;code&gt;local&lt;/code&gt; within this folder to stash random files.&lt;/p&gt;

&lt;p&gt;This will serve as a base for your Workspace (as I am currently unaware of a way to create a Workspace from scratch.)&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2: Create a local GitHub folder
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;This step is not required, I just prefer it for organizational purposes. Feel free to skip this step, name the folder something different or add additional folders within it before cloning any projects* &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;If this does not already exist on your machine, create a folder somewhere (I personally created it in my Documents directory on my Windows machine) and name it GitHub. &lt;/p&gt;

&lt;p&gt;Now, return once more to VS Code and click &lt;code&gt;File &amp;gt; Add Folder to Workspace...&lt;/code&gt;, selecting your newly created GitHub folder.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3: Save your Workspace
&lt;/h2&gt;

&lt;p&gt;VS Code will typically use the last workspace you had loaded as default when it loads up, but there have been a time or two when I was thankful I had taken the time to save my workspace settings. &lt;/p&gt;

&lt;p&gt;You can save this by selecting &lt;code&gt;File &amp;gt; Save Workspace As...&lt;/code&gt; in the menu.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 4: 'Open in Terminal' the GitHub folder
&lt;/h2&gt;

&lt;p&gt;By right clicking the GitHub folder in the Explorer sidebar, you can click the option in the resulting menu &lt;code&gt;Open in Terminal&lt;/code&gt; to make Visual Studio Code's integrated Terminal open up with the prompt location already set to the folder you clicked.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;On occasion, I've noticed this will be a directory level up from what I anticipated, so it's always important to double check the location and make adjustments via &lt;code&gt;cd&lt;/code&gt; if necessary.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Step 5: Git Clone All the Things
&lt;/h2&gt;

&lt;p&gt;Now that you've got this terminal open, it's a simple matter of using the &lt;code&gt;git clone&lt;/code&gt; command using the clone URL from the project your wanting to clone! I've included a few links below in case you need any additional help with cloning the desired repository or using version control in VS Code.&lt;/p&gt;

&lt;h2&gt;
  
  
  Resources:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://help.github.com/en/articles/cloning-a-repository"&gt;GitHub Help: Cloning a Repository&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://code.visualstudio.com/docs/editor/versioncontrol"&gt;Using Version Control in VS Code&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://code.visualstudio.com/docs/getstarted/settings"&gt;VS Code and Workspace Settings&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Lastly,
&lt;/h2&gt;

&lt;p&gt;Thank you for taking the time to check out this guide. If you have any constructive criticism or suggestions on the content or style of this article, I encourage you to share it with me, as I am always seeking to improve my communication skills! :)&lt;/p&gt;

</description>
      <category>vscode</category>
      <category>github</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
