This lesson will have you download, install and configure Visual Studio Code.
You should have a Github account created before starting this activity.
Installing Visual Studio Code
Go to code.visualstudio.com. And download Visual Studio Code.
Run the installer.
When asked select the options shown below
- Both Add “Open with Code” options
- Register Code as an editor for supported file types
- Make sure Add to PATH is selected.
Restart your computer when the install has finished.
Signing into Github
Extensions are additional features that you can add to Visual Studio Code to enable certain features
When your computer has restarted start VS Code.
You should see a Windows similar to the one below.
Sign in with your Github Account.
In the bottom right cornet click the User icon
Choose Sign in with Github.
A browser tab will open.
Then click the Continue button.
You might be asked to sign into Github. If so sign in.
You should then receive a success message.
You can now return to Visual Studio Code. Click the Open button on the pop up.
You wiull se a similar message in Visual Studio Code, click open. This allows VS Code to open the link.
You should now see that you are signed in.
If you have used Visual Studio before you will have the option to sync your settings which syncs extensions and layout preferences. This is really useful.
The two files allow you to open a folder to work in.
To add extensions click the four blocks
Install the following extensions:
- HTML Preview
- open in browser
- Markdown Paste
- Markdown All in One
- Python (Make sure that Python is installed first), this will also install:
- Pylance and Jupyter