Visual Studio Code Setup
My preferred setup for VS Code
This page provides information on the Visual Studio Code settings file and a checklist of tasks I follow when setting up this application on a new machine.
Settings
The settings.json file contains settings for VS Code and usually lives in the following locations:
| OS | Path |
|---|---|
| Unix | /home/<user-name>/.config/Code/User/settings.json |
| Windows | C:\\Users\<user-name>\\AppData\\Roaming\\Code\\User\\settings.json |
Access my settings.json and custom color theme below. If you need help with color theme installation, see this page.
settings.json Original Color Scheme
Settings Override
The settings.json file located at the user level will take precedence. To override or add to the settings at the workspace or directory level, create a new directory called .vscode and add another settings.json file here.
Extensions
Install the following extensions:
- C/C++ by Microsoft
- Python by Microsoft
- Python Debugger by Microsoft
- Code Runner by Jun Han
- Vim by vscodevim
- CMake by twxs
- CMake Tools by Microsoft
Vim
Point Vim extension to local .vimrc file.
Code Runner Configuration
- Enable
Clear Previous Output - Disable
Show Execution Message