This is a short set of notes on how I like to set-up VS Code. Mainly in case I lose my settings (surely not!) and don’t want to figure it all out from scratch again.
Sidenote: if you’d like to use VS Code without Microsoft’s telemetry, Microsoft have been awesome and make allow you to grab binary releases of VS Code without MS branding/telemetry/licensing.
Settings / Preferences
- Text Editor > Tab Completion: On
- Text Editor > Tab Size: 4 spaces
- Files > Auto Save: afterDelay
- Files > Auto Save Delay: 1000 (ms)
- Workbench > Appearance > Color Theme: Kimbie Dark
- Features > SCM > Always Show Actions: Yes
- Features > SCM > Always Show Providers: Yes
- Features > Terminal > Integrated: Copy on Selection (Yes)
- Features > Terminal > Integrated: Cursor Blinking (Yes)
- Features > Terminal > Integrated: Cursor Style: Line
- Features > Terminal > Integrated: Renderer Type: dom
- Features > Terminal > Integrated > Shell: Windows (path to powershell.exe)
Extensions / Add-ons
Synchronize Settings, Snippets, Themes, File Icons, Launch, Keybindings, Workspaces and Extensions Across Multiple Machines Using GitHub Gist.
GitLens — Git supercharged
Supercharge the Git capabilities built into Visual Studio Code — Visualize code authorship at a glance via Git blame annotations and code lens, seamlessly navigate and explore Git repositories, gain valuable insights via powerful comparison commands, and so much more.
- Extensions > ESLint > Eslint: Always Show Status (yes)
Integrates github and its workflows into vscode.
GitHub Pull Requests
Pull Request Provider for GitHub.
Git Extensions for VS Code
Provide a command to browse the current project using GitExtensions, from the Explorer.
Node.js debugging support
- Extensions > Node debug > Debug > Node: Auto attach (on)
npm support for VS Code.
- Extensions > Npm > Enable Script Explorer (yes)
Bracket Pair Colorizer
A customizable extension for colorizing matching brackets.
Prettier – Code formatter
VS Code plugin for prettier/prettier.
If you’re working with Azure
The Azure Account extension provides a single Azure sign-in and subscription filtering experience for all other Azure extensions. It makes Azure’s Cloud Shell service available in VS Code’s integrated terminal.
Connect to Azure Repos and work with Git and Team Foundation Version Control (TFVC) repositories. Manage your pull requests, work items, and more.
Extension Manifest Editor
Preview how your extension appears on the Marketplace.