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

NameIDDescription
Python languagems-python.python
Powershell languagems-vscode.PowerShell
Java languageredhat.javaLanguage Support for Java by RedHat
JSON filevscode-json
YAML fileYAML
Markdown LintDavidAnson.vscode-markdownlintMarkdown/CommonMark linting and style checking
Windows REG fileionutvmi.reg
TSLinteg2.tslint
DockerfilePeterJausovec.vscode-dockerAdds syntax highlighting for Dockerfile
Git Historydonjayamanne.githistoryGit History, Search and More (including git log)
Git History Diffhuizhou.githd
Git Graphmhutchie.git-graphView a Git Graph of your repository
Image previewkisstkondoros.vscode-gutter-preview
Display PDF filetomoki1207.pdf / vscode-pdf
Switch indent from 2 to 4ephoton.indent-switcherAdd commands to switch indent: “Switch indent from 2 to 4” or “Switch indent from 4 to 2”
Indent Rainbowoderwat.indent-rainbowMakes indentation easier to read
Bracket Pair Colorizer 2CoenraadS.bracket-pair-colorizer-2Matching brackets to be identified with colours
Code Spell Checkerstreetsidesoftware.code-spell-checker
Prettieresbenp.prettier-vscode
Auto rename Tagformulahendry.auto-rename-tag
Node.js Extension Packwaderyan.nodejs-extension-packContains: ES Lint, npm, JavaScript (ES6) Snippets, Search node_modules, NPM IntelliSence, Path IntelliSence
vscode-fakerdeerawan.vscode-fakerGenerate fake data
Encode Decodemitchdenny.ecdcConvert: String to Base64, String to Unicode, and etc.
CSS Peekpranaygp.vscode-css-peekAdd ‘Go To Definition’ and ‘Go To Symbol in Workspace’ support for css/scss/less
Html CSS Supportecmel.vscode-html-cssMissing CSS support for HTML documents
Live Serverritwickdey.LiveServerSimple web server for web developer

Hot Keys Link to heading

KeysCommand
Shift + Option + FFormat code
Shift + Option + OJava: Organize Import