Skip to content

Instantly share code, notes, and snippets.

@akilb
Last active May 10, 2017 09:45
Show Gist options
  • Save akilb/11ec83824387887e865ef59962d33e50 to your computer and use it in GitHub Desktop.
Save akilb/11ec83824387887e865ef59962d33e50 to your computer and use it in GitHub Desktop.
VSCode settings
{
"editor.renderWhitespace": true,
// Columns at which to show vertical rulers
"editor.rulers": [80, 120],
// Controls the font size in pixels.
"editor.fontSize": 14,
// Insert spaces when pressing Tab. This setting is overriden based on the file contents when `editor.detectIndentation` is on.
"editor.insertSpaces": true,
// The number of spaces a tab is equal to. This setting is overriden based on the file contents when `editor.detectIndentation` is on.
"editor.tabSize": 2,
// Format a file on save. A formatter must be available, the file must not be auto-saved, and editor must not be shutting down.
"editor.formatOnSave": false,
// Controls if the editor should automatically format the line after typing
"editor.formatOnType": true,
// Controls if the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document.
"editor.formatOnPaste": true,
"editor.wordWrap": true,
"workbench.colorTheme": "Solarized Dark",
"workbench.iconTheme": "vscode-icons",
// Controls if the minimap is shown
"editor.minimap.enabled": true,
"files.exclude": {
// include the defaults from VS Code
"**/.git": true,
"**/.DS_Store": true,
// exclude .js and .js.map files, when in a TypeScript project
"**/*.js": {
"when": "$(basename).ts"
},
"**/*.js.map": true,
// exclude .css and .css.map files when in a SASS project
"**/*.css": {
"when": "$(basename).scss"
},
"**/*.css.map": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment