Skip to content

Instantly share code, notes, and snippets.

@chenrui333
Last active August 29, 2019 19:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chenrui333/1aed6d57a2350dedcdf4a2722d901d75 to your computer and use it in GitHub Desktop.
Save chenrui333/1aed6d57a2350dedcdf4a2722d901d75 to your computer and use it in GitHub Desktop.
my vscode workspace settings.json
{
"explorer.autoReveal": true,
"window.zoomLevel": 0,
"git.confirmSync": false,
"git.enableSmartCommit": true,
// The number of spaces a tab is equal to. This setting is overridden
// based on the file contents when `editor.detectIndentation` is true.
"editor.tabSize": 2,
// Insert spaces when pressing Tab. This setting is overriden
// based on the file contents when `editor.detectIndentation` is true.
"editor.insertSpaces": true,
// When opening a file, `editor.tabSize` and `editor.insertSpaces`
// will be detected based on the file contents. Set to false to keep
// the values you've explicitly set, above.
"editor.detectIndentation": false,
"[yaml]": {
"editor.insertSpaces": true,
"editor.tabSize": 2,
"editor.detectIndentation": false,
},
// https://github.com/dthielking/aws-cloudformation-yaml/issues/5
"yaml.customTags": [
"!FindInMap sequence",
"!GetAtt",
"!GetAZs",
"!ImportValue",
"!Join sequence",
"!Ref",
"!Select sequence",
"!Split sequence",
"!Sub",
"!Not sequence",
"!Equals sequence"
],
// https://github.com/yzhang-gh/vscode-markdown/issues/464
"[markdown]": {
"editor.tabSize": 2
},
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true,
"explorer.confirmDragAndDrop": false,
"explorer.confirmDelete": false,
"markdown.extension.toc.githubCompatibility": true,
"markdown.extension.toc.orderedList": false,
"markdown.extension.list.indentationSize": "adaptive",
"markdown.extension.toc.updateOnSave": true,
"markdown.extension.tableFormatter.enabled": true,
"markdown.extension.tableFormatter.normalizeIndentation": true,
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
// Show whitespace characters in Visual Studio Code
"editor.renderWhitespace": "all",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment