Skip to content

Visual Studio Code

Marius Storhaug edited this page Nov 24, 2021 · 1 revision

Often refered to as VSCode.

Visual Studio Code is a lightweight but powerful source code editor which runs on your desktop and is available for Windows, macOS and Linux. It comes with built-in support for JavaScript, TypeScript and Node.js and has a rich ecosystem of extensions for other languages (such as C++, C#, Java, Python, PHP, Go) and runtimes (such as .NET and Unity).

Download

Download VSCode today!

If you are using Windows 10 and have winget, you can use the following command to install VSCode.

# Installs the stable version
winget install Microsoft.VisualStudioCode-User-x64 --silent

# Installs the insider version (in development)
winget install Microsoft.VisualStudioCodeInsiders.User-x64 --silent

Extensions

Enable additional languages, themes, debuggers, commands, and more. VS Code's growing community shares their secret sauce to improve your workflow. Check out the following extensions based on what you are working on!

Extensions for Azure

The following commands will these extensions:

code --install-extension ms-vscode.vscode-node-azure-pack
code --install-extension azurepolicy.azurepolicyextension

Extensions for PowerShell

The following commands will these extensions:

code --install-extension ms-vscode.powershell

-OR-

code --install-extension ms-vscode.powershell-preview

Extensions for Git

The following commands will these extensions:

code --install-extension mhutchie.git-graph
code --install-extension donjayamanne.githistory
code --install-extension eamodio.gitlens

Extensions for Wiki and documentation

The following commands will these extensions:

code --install-extension yzhang.markdown-all-in-one
code --install-extension davidanson.vscode-markdownlint

Extensions for Quality and productivity

NOTE!

Some extensions might require additional configuration to be usefull. Please review configurable settings for these extensions!

The following commands will install these extensions:

code --install-extension wwm.better-align
code --install-extension coenraads.bracket-pair-colorizer-2
code --install-extension usernamehw.errorlens
code --install-extension oderwat.indent-rainbow
code --install-extension mohsen1.prettify-json
code --install-extension vscode-icons-team.vscode-icons

Extensions can be installed through cmd using code --install-extension \<extension-id\>. i.e code --install-extension ms-vscode.vscode-node-azure-pack

The following commands will all extensions:

code --install-extension ms-vscode.vscode-node-azure-pack
code --install-extension azurepolicy.azurepolicyextension
code --install-extension ms-vscode.powershell
code --install-extension mhutchie.git-graph
code --install-extension donjayamanne.githistory
code --install-extension eamodio.gitlens
code --install-extension yzhang.markdown-all-in-one
code --install-extension davidanson.vscode-markdownlint
code --install-extension wwm.better-align
code --install-extension coenraads.bracket-pair-colorizer-2
code --install-extension usernamehw.errorlens
code --install-extension oderwat.indent-rainbow
code --install-extension mohsen1.prettify-json
code --install-extension vscode-icons-team.vscode-icons

Configure

N/A

References

Clone this wiki locally