Skip to content

Instantly share code, notes, and snippets.

@AndrewAllison
Last active February 10, 2017 11:56
Show Gist options
  • Save AndrewAllison/30b890d03a510c67d228313dd86f13db to your computer and use it in GitHub Desktop.
Save AndrewAllison/30b890d03a510c67d228313dd86f13db to your computer and use it in GitHub Desktop.
Visual Studio Code settings
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "ctrl+d",
"command": "editor.action.copyLinesUpAction",
"when": "editorTextFocus"
}
]
// Place your settings in this file to overwrite the default settings
{
// Controls the font size in pixels.
"editor.fontSize": 14,
// Migrated from previous "File | Auto Save" setting:
"files.autoSave": "afterDelay",
// exclude files from display
"files.exclude": {
"**/.git": true,
"**/.DS_Store": true,
"**/*.min.css": true,
"**/*.min.js": true,
"**/*.js.map": true,
"**/*.css": {
"when": "$(basename).scss"
},
"**/*.js": {
"when": "$(basename).ts"
}
},
// Controls if the editor will insert spaces for tabs.
// If set to auto, the value will be guessed based on the opened file.
"editor.insertSpaces": true,
// Trim WhiteSpaces
"editor.trimAutoWhitespace": true,
// Controls the rendering size of tabs in characters.
// If set to auto, the value will be guessed based on the opened file.
"editor.tabSize": 4,
// Format on save
"editor.formatOnSave": true,
// wrapping the word from the lines.
"editor.wordWrap": true,
"editor.wrappingColumn": 400
}
@AndrewAllison
Copy link
Author

Removed the Ctrl+K+D for formatting document. Using the defaults now instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment