Skip to content

Latest commit

 

History

History
86 lines (69 loc) · 3.54 KB

vscode.md

File metadata and controls

86 lines (69 loc) · 3.54 KB

Visual Studio Code

Download

https://code.visualstudio.com/

Keyboard shortcuts

Useful plugins

Change shell type

The first time you open the terminal with Ctrl+` it will ask if you want to change the terminal type. Choose "Customize", then select WSL Bash or whichever you want.

If this prompt does not appear, type Ctrl+Shift+P and start typing "select default shell". Press enter and select your desired shell type.

Useful Settings

User Settings

Type Ctrl+Shift+P and open User Settings. Here are some of mine:

{
  "files.autoSave": "off",
  "terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\bash.exe",
  "git.enableSmartCommit": true,
  "editor.quickSuggestions": {
    "strings": true // Enables autocomplete in strings
  },
  "files.associations": {
    "*.styl": "css"
  },
  "window.title": "${rootName}${separator}${activeEditorShort} ${dirty}",
  "files.exclude": {
    "**/nbproject": true,
    "**/.idea": true,
    // "**/node_modules": true,
    "**/build": true,
    "**/dist": true,
    "**/.vscode": true
  },
  "npm.enableScriptExplorer": true,
  "extensions.showRecommendationsOnlyOnDemand": true,
  "editor.renderWhitespace": "all"
}

Workspace Settings

Type Ctrl+Shift+P and open Workspace Settings. Here is a potential one:

{
  // give window title more meaningful name than "trunk" or "src"
  "window.title": "CUSTOM_PROJECT_NAME — ${separator}${activeEditorShort} ${dirty}"
}