Microsoft Visual Studio Code is a code editor redefined and optimized for building and debugging modern web and cloud applications.

Installation Link to heading

You can find an installation package for the most platforms here.

Install Visual Studio Code on MacOS from the Terminal Link to heading

1brew cask install visual-studio-code

Install Visual Studio Code on Ubuntu from the Terminal Link to heading

Install deb package from the official site:

1wget -O /tmp/vscode.deb "https://go.microsoft.com/fwlink/?LinkID=760868"
2sudo dpkg -i /tmp/vscode.deb
3rm /tmp/vscode.deb

Install from the repository:

1sudo apt install software-properties-common apt-transport-https wget
2wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add -
3sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"
4sudo apt update
5sudo apt install code

Install Visual Studio Code on Windows Link to heading

  • Option 1: Download from the official site and install
  • Option 2: Install from the command line using Chocolatey: choco install vscode

Extensions Link to heading

Command Line Interface to work with extensions: Link to heading

code --list-extensions
code --install-extension ms-vscode.cpptools
code --uninstall-extension ms-vscode.csharp

List of my extensions Link to heading

Name ID Description
Python language ms-python.python
Powershell language ms-vscode.PowerShell
Java language redhat.java Language Support for Java by RedHat
JSON file vscode-json
YAML file YAML
Markdown Lint DavidAnson.vscode-markdownlint Markdown/CommonMark linting and style checking
Windows REG file ionutvmi.reg
TSLint eg2.tslint
Dockerfile PeterJausovec.vscode-docker Adds syntax highlighting for Dockerfile
Git History donjayamanne.githistory Git History, Search and More (including git log)
Git History Diff huizhou.githd
Git Graph mhutchie.git-graph View a Git Graph of your repository
Image preview kisstkondoros.vscode-gutter-preview
Display PDF file tomoki1207.pdf / vscode-pdf
Switch indent from 2 to 4 ephoton.indent-switcher Add commands to switch indent: “Switch indent from 2 to 4” or “Switch indent from 4 to 2”
Indent Rainbow oderwat.indent-rainbow Makes indentation easier to read
Bracket Pair Colorizer 2 CoenraadS.bracket-pair-colorizer-2 Matching brackets to be identified with colours
Code Spell Checker streetsidesoftware.code-spell-checker
Prettier esbenp.prettier-vscode
Auto rename Tag formulahendry.auto-rename-tag
Node.js Extension Pack waderyan.nodejs-extension-pack Contains: ES Lint, npm, JavaScript (ES6) Snippets, Search node_modules, NPM IntelliSence, Path IntelliSence
vscode-faker deerawan.vscode-faker Generate fake data
Encode Decode mitchdenny.ecdc Convert: String to Base64, String to Unicode, and etc.
CSS Peek pranaygp.vscode-css-peek Add ‘Go To Definition’ and ‘Go To Symbol in Workspace’ support for css/scss/less
Html CSS Support ecmel.vscode-html-css Missing CSS support for HTML documents
Live Server ritwickdey.LiveServer Simple web server for web developer

Hot Keys Link to heading

Keys Command
Shift + Option + F Format code
Shift + Option + O Java: Organize Import