Visual Studio Code (VSCode) is easy to install and configure. You just need to remember a few keyboard shortcuts.
- Download the latest
.debfile of VSCode from here.
VSCode is being developed rapidly and new releases appear frequently. If you have an older version of VSCode, uninstall it first:
$ sudo apt remove code
- Install the downloaded VSCode:
$ sudo dpkg -i vscode-you-downloaded.deb
- Start in a root directory of your code:
$ code .
VSCode will start up using all the files and directories inside the current directory as belonging to a project. While it is indexing the files, you will see a red flame icon in bottom-right corner. Once the flame goes away, you are ready to edit files!
Extensions: VSCode is no fun without extensions for your favorite languages (say C++ or Python) or your favorite features (say Vim). To install extensions use keyboard shortcut
ext install. You can search and install extensions from the VSCode Marketplace. Many extensions might restart VSCode to get enabled.
Settings: VSCode can handle both user settings (works across all projects) and workspace settings (works only for a particular project). All settings are set in JSON files. You can choose File → Preferences to open these. To set something, you need to copy that line from default settings to
Tried with: Visual Studio Code 1.4 and Ubuntu 16.04