Skip to content

Instantly share code, notes, and snippets.

@diogorusso
Last active October 28, 2018 00:42
Show Gist options
  • Save diogorusso/4138a306f52417cd19c81ca0fa668430 to your computer and use it in GitHub Desktop.
Save diogorusso/4138a306f52417cd19c81ca0fa668430 to your computer and use it in GitHub Desktop.

VS Code

  • what's
  • extensions
  • config

What's VS Code

Visual Studio Code is a source code editor developed by Microsoft .It is free and open-source. It is also customizable, so users can change the editor's theme, keyboard shortcuts, and preferences.

Vs Code Settings

VS Code provides two different scopes for settings: User These settings apply globally to any instance of VS Code you open Workspace These settings are stored inside your workspace in a .vscode folder and only apply when the workspace is opened.

VS Code Extensions

This separate process for extensions ensures that VS Code remains responsive through-out. Extensions include support for: Activation - load an extension when a specific file type is detected, when a specific file exists, or when a command is selected via the Command Palette or a key combination.

VS Code Snippets

Code snippets are templates that make it easier to enter repeating code patterns, such as loops or conditional-statements. Snippets show in IntelliSense (⌃Space) mixed with other suggestions as well as in a dedicated snippet picker (Insert Snippet in the Command Palette). There is also support for tab-completion: Enable it with "editor.tabCompletion": true, type a snippet prefix, and press Tab to insert a snippet.

{
"workbench.iconTheme": "vscode-icons",
"workbench.sideBar.location": "right",
"editor.fontSize": 18,
"editor.tabSize": 2,
"explorer.sortOrder": "type",
"explorer.confirmDragAndDrop": false,
"files.exclude": {
"node_modules": true,
"Gemfile.lock": true,
"package-lock.json": true,
".sass-cache": true,
},
"window.zoomLevel": 1.25,
"git.enableSmartCommit": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment