Visual Studio Code Setup
Extensions
Install the following extensions:
- Click each link below.
- And then follow these steps:
- Click the
Install
button - Click the
Open Visual Studio Code
button - Click the
Install
button in VS Code
Configure settings
- On the bottom left of VS Code > click the
Gear Icon
- Choose
Command Palette..
- Type
open user settings
- Choose
Open User Settings.JSON
- Paste the settings below into the file.
If you have existing USER SETTINGS
you will want to add the following settings below your current settings. Otherwise, you can replace the contents of the file with the JSON below.
settings.json
{
"files.autoSave": "afterDelay",
"editor.fontFamily": "Fira Code iScript, Menlo, Monaco, 'Courier New', monospace",
"editor.fontLigatures": true,
"editor.multiCursorModifier": "alt",
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"emmet.includeLanguages": {
"typescript": "html",
"javascript": "javascriptreact"
}
}
- Create a directory (somewhere on your computer that you would easily remember) named
code
where you will write code during the course. - Copy prettier.config.js into the
code
directory.
Install a font for programming (optional)
If you are interested in trying a new font designed for programming.
- Install the free FiraCodeiScript font on your system.
- Close and reopen VS Code to see the new font.