Skip to content

Visual Studio Code

November 1, 2023
June 19, 2017

Visual Studio Code - Code Editing. Redefined
Visual Studio Code for Chromebooks and Raspberry Pi

Visual Studio Code Tutorial for Beginners - Introduction - YouTube
Visual Studio Code Introduction

VSCode Tutorial For Beginners - Getting Started With VSCode - YouTube

Get Started - default (Workspace) - Visual Studio Code VSCode on the web

Visual Studio Code - ArchWiki

The History of Visual Studio Code | Microsoft Build 2020 | Channel 9
Visual Studio Code Is So Popular But Why?

VSCodium

VSCodium - Open Source Binaries of VSCode
VSCodium/vscodium: binary releases of VS Code without MS branding/telemetry/licensing
Why and how you should migrate from Visual Studio Code to VSCodium - DEV Community ๐Ÿ‘ฉโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป
VSCodium: 100% Open Source Version of Microsoft VS Code

Must Read Docs

Documentation for Visual Studio Code

vscode-docs
vscode

VSCode: 10 Most Useful Tips And Tricks - YouTube

A Visual Studio Code Tutorial
Tips to use VSCode more efficiently - DEV Community ๐Ÿ‘ฉโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป

Welcome screen
Interactive Playground

Tips and Tricks

viatsko/awesome-vscode: ๐ŸŽจ A curated list of delightful VS Code packages and resources.
Microsoft/vscode-recipes
Visual Studio Code Tips and Tricks
microsoft/vscode-tips-and-tricks: Collection of helpful tips and tricks for VS Code.

VS Code Can Do That?
VS Code Can Do That?! VS Code Tips and Tricks - YouTube 1.25 hours
Visual Studio Code Course | VS Code Customization | Frontend Masters | Frontend Masters free, 2019-10, 3:36:03

Why I moved away from Atom to Visual Studio Code and my Setup ยท EQuimper's Blog

Dan Taylor - Get Productive with Python in Visual Studio Code - YouTube
qubitron/pydemo: Get Productive with Python and Visual Studio Code - slides, video, and demo code
Python in Visual Studio Code - VSCode Features You Need to Know - YouTube
Powerful VSCode Tips And Tricks For Python Development And Design - YouTube
25 VS Code Productivity Tips and Speed Hacks - YouTube

Some Little Improvements to My VS Code Workflow (Workspaces, Icons, Tasks) | CSS-Tricks

Workspaces

Workspace settings are placed in ./.vscode/. On per folder level we can set files.exclude and files.watcherExclude.
There's also a workspace (.code-workspace) file can contain a list of folders and workspace settings.

Visual Studio Code User and Workspace Settings

Visual Studio Code User and Workspace Settings
Workspaces in Visual Studio Code
What is a 'workspace' in Visual Studio Code? - Stack Overflow
Multi-root Workspaces in Visual Studio Code
Workspace Search in VS Code โ€” A deep dive on find in files, replace, search editors and more! - YouTube

Some Little Improvements to My VS Code Workflow (Workspaces, Icons, Tasks) | CSS-Tricks

Totally confused by workspaces and folders in VSCode : vscode
What is a 'workspace' in VS Code? - Stack Overflow

Customization

Writing Snippets

Snippets in Visual Studio Code
snippet-creator - Visual Studio Marketplace
Visual Studio Code Snippets โ€“ the Definitive VS Code Snippet Guide for Beginners
codetalks-new/vscode-snippets-ext-template: A template project for create complex vscode snippets extension easily

Key Bindings

Visual Studio Code Key Bindings
when clause contexts | Visual Studio Code Extension API
Allow keybindings.json on .vscode folder. ยท Issue #4504 ยท microsoft/vscode no workspace keybindings

# unregister current key binding before overriding
{ "key": "ctrl+shift+n", "command": "-workbench.action.newWindow" }

Keybinding Issues ยท microsoft/vscode Wiki
Developer: Toggle Keyboard Shortcuts Troubleshooting

CLI

CLI

code --list-extensions
code --install-extension <extension>

Configs

jsconfig.json

jsconfig.json Reference

tsconfig.json

Profile

Profiles in Visual Studio Code
VSCode Profiles: Optimize Your Coding Environment

Extension

Installed extensions:

Recommending VSCode extensions within your Open Source projects - DEV Community ๐Ÿ‘ฉโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป add to .vscode

Extensions for Visual Studio family of products | Visual Studio Marketplace
Open VSX Registry

My list of Microsoft Visual Code Studio Extensions | virtuallyGhetto
VS Code Top-Ten Pro Tips - YouTube
Become a VS Code Ninja with these Extensions and Tools [2020] - DEV
โœจ Immensely upgrade your development environment with these Visual Studio Code extensions
Python Development in Visual Studio Code (Setup Guide) โ€“ Real Python
Python Development in Visual Studio Code โ€“ Real Python
Visual Studio Code Settings and Extensions for Faster JavaScript Development - Codesmith Development
The Ultimate VSCode Setup for JS/React โ€“ Productivity Freak โ€“ Medium
Visual Studio Code extensions to help your productivity - DEV Community ๐Ÿ‘ฉโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป
My Favorite VSCode Extensions and Settings โ€” Nick Janetakis
15 Essential Plugins for Visual Studio Code - Tutorialzine
22 Best Visual Studio Code Extensions for Web Development โ€• Scotch
26 Miraculous VSCode Tools for JavaScript Developers in 2019
10 Visual Studio Code extensions for every developer | InfoWorld
10 Extremely Helpful Visual Studio Code Plugins for Programmers
My VS Code settings for Web Development - DEV Community ๐Ÿ‘ฉโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป

Use "Sublime keybinding"
Set Crtl + U to "Open Link"
Set Crtl + F2 to toggle bookmark, F2 to jump to next bookmark

// Place your key bindings in this file to overwrite the defaults
[
  {
    "key": "shift+alt+t",
    "command": "workbench.action.tasks.test"
  },
  {
    "key": "alt+cmd+[ArrowDown]",
    "command": "workbench.action.terminal.focusNext",
    "when": "terminalFocus"
  },
  {
    "key": "alt+cmd+[ArrowUp]",
    "command": "workbench.action.terminal.focusPrevious",
    "when": "terminalFocus"
  }
]

Writing Extensions

Visual Studio Code Extensibility Reference
Visual Studio Code API Reference
Visual Studio Code Extension Contribution Points - package.json
Microsoft/vscode-extension-samples: Sample code illustrating the VS Code extension API.

Extending Visual Studio Code | InfoWorld
Creating an Extension Pack for Visual Studio Code โ€• Scotch
The Yo Code Visual Studio Code Extension Generator
My First Visual Code Extension - DEV Community ๐Ÿ‘ฉโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป
Why I wrote 33 VSCode extensions and how I manage them
How we built a VS Code extension with Rust, WebAssembly, and TypeScript

Language Extensions

Language Extensions Overview | Visual Studio Code Extension API

Change style of VS Code Markdown code syntax highlighting - Stack Overflow inspect scope

Use VS Code's syntax highlighting in Markdown preview ยท Issue #91279 ยท microsoft/vscode editor highlight is different from preview/export highlight

mjbvz/vscode-fenced-code-block-grammar-injection-example: Example of injecting a new grammar into VSCode's builtin markdown syntax highlighting for fenced code blocks

Syntax Injection

highlight a language in another language's source in the editor

Syntax Highlight Guide | Visual Studio Code Extension API
vscode-markdown-tm-grammar/markdown.tmLanguage at main ยท microsoft/vscode-markdown-tm-grammar predefined fenced_code_block_*
mjbvz/vscode-fenced-code-block-grammar-injection-example: Example of injecting a new grammar into VSCode's builtin markdown syntax highlighting for fenced code blocks
limejuly/vscode-markdown-autohotkey: A simple extension to enable VSCode's builtin markdown syntax highlighting for autohotkey fenced code blocks.

fish
reg
ahk
awk
make
cmake
logstash
nginx

Color scheme/Themes

Material Icon Theme - Visual Studio Marketplace
VSCode Great Icons - Visual Studio Marketplace
One Dark Pro - Visual Studio Marketplace

VS Code themes
Code Pretty in These Themes for Visual Studio Code | by Daan | Level Up Coding

Syntax/Snippets

Python
C/C++
Java
nginx.conf hint
Markdown Extended - Visual Studio Marketplace
Go
Docker
Output Colorizer - Visual Studio Marketplace
colorize - Visual Studio Marketplace
NDJSON Colorizer - Visual Studio Marketplace
Plantuml
styled-jsx - Visual Studio Marketplace
Rainbow CSV - Visual Studio Marketplace
indent-rainbow - Visual Studio Marketplace

Black Formatter - Visual Studio Marketplace
Prettier - Code formatter - Visual Studio Marketplace
shell-format - Visual Studio Marketplace

snippet generator
snipsnapdev/snipsnap: The ultimate snippets collection for VS Code

Tailwind

tailwindlabs/prettier-plugin-tailwindcss: A Prettier plugin for Tailwind CSS that automatically sorts classes based on our recommended class order.

npm install -D prettier prettier-plugin-tailwindcss
// prettier.config.js
module.exports = {
  plugins: ["prettier-plugin-tailwindcss"],
};

Tailwind CSS IntelliSense - Visual Studio Marketplace

Tailwind Raw Reorder - Visual Studio Marketplace
Headwind - Visual Studio Marketplace ๐Ÿ˜ดinactive

My VSCode + Tailwind CSS Workflow Tips (Shortcuts and Extensions) - YouTube

Code Screenshot

carbon-now-sh invokes browser, Polacode has some incorrect position and too much forks

CodeSnap - Visual Studio Marketplace
RayThis: Instant Beautiful Code Screenshots - Visual Studio Marketplace

REST client

http-agents#REST Client
http-agents#Thunder Client

Copilot

github#Copilot

CodeTour

CodeTour - Visual Studio Marketplace
How to build a rock, paper, scissors game with GitHub Copilot - DEV Community

Remote Development

Visual Studio Code Remote Development
Remote - WSL - Visual Studio Marketplace
Live Share - Visual Studio Marketplace

Removing VS Code Remote Extensions - DEV Community ๐Ÿ‘ฉโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป
Connect over SSH with Visual Studio Code
Work in Windows Subsystem for Linux with Visual Studio Code
Getting started with Dev Containers

Take your Linux development experience in Windows to the next level with WSL and Visual Studio Code Remote | Windows Command Line
An In Depth Tutorial on Linux Development on Windows with WSL and Visual Studio Code | Windows Command Line
Tips and Tricks for Linux development with WSL and Visual Studio Code | Windows Command Line

Live Share

Visual Studio Live Share | Visual Studio - Visual Studio
Live Share Extension Pack - Visual Studio Marketplace
VS Live Share Audio - Visual Studio Marketplace

Collaborate using Visual Studio Code - Visual Studio Live Share - Visual Studio Live Share | Microsoft Docs

Others

Better Comments - Visual Studio Marketplace
Bookmarks - Visual Studio Marketplace
Code Spell Checker - Visual Studio Marketplace
Data Preview - Visual Studio Marketplace
Excel Viewer - Visual Studio Marketplace
vscode-faker - Visual Studio Marketplace
File Utils - Visual Studio Marketplace ~= Sidebar Enhancements
GitLens โ€” Git supercharged - Visual Studio Marketplace
hadolint - Visual Studio Marketplace
HexEditor - Visual Studio Marketplace
Kubernetes - Visual Studio Marketplace
Paste JSON as Code - Visual Studio Marketplace
Peacock - Visual Studio Marketplace change chrome color for easier window identification
Project Manager - Visual Studio Marketplace
Sublime Text Keymap and Settings Importer - Visual Studio Marketplace
WordCounter - Visual Studio Marketplace

Introducing MongoDB for VS Code | MongoDB
MongoDB for VS Code - Visual Studio Marketplace

Remote - Containers - Visual Studio Marketplace
Use a Docker container as a development environment with Visual Studio Code - Learn | Microsoft Docs

Settings Sync

use built-in Settings Sync

Settings Sync in Visual Studio Code
How to Sync Your VS Code Settings and Extensions Across Multiple Devices | by Devin Ryan Riota | Better Programming

ๅฆ‚ไฝ•ๆธ…็ฉบ Visual Studio Code ๅ„ฒๅญ˜ๅœจ้›ฒ็ซฏ็š„่จญๅฎšๅŒๆญฅ่ณ‡ๆ–™ไธฆ้‡ๅปบๆ“ดๅ……ๅฅ—ไปถ | The Will Will Web

deprecated

Settings Sync - Visual Studio Marketplace

Visual Studio Code Settings Sync Configurations โ€“ Shan Ali Khan โ€“ Medium

~/.config/Code/User/settings.json
~/.config/Code/User/syncLocalSettings.json

%APPDATA%\Code\User\settings.json

User data gets uploaded ยท Issue #1341 ยท shanalikhan/code-settings-sync
DO ignore these folders in syncLocalSettings.json:
"ignoreUploadFolders": ["workspaceStorage", "globalStorage", "History"],

Sync Pragmas ยท shanalikhan/code-settings-sync Wiki platform dependent settings

// @sync os=linux
"key": "linux setting",
// @sync os=windows
// "key": "windows setting",