Skip to content

Instantly share code, notes, and snippets.

@andy3520
Created August 27, 2019 06:41
Show Gist options
  • Save andy3520/5ccfd224be98b3f779459ec81dc5495f to your computer and use it in GitHub Desktop.
Save andy3520/5ccfd224be98b3f779459ec81dc5495f to your computer and use it in GitHub Desktop.
vscode setting
{
"editor.rulers": [
80
],
"editor.renderWhitespace": "boundary",
"editor.renderIndentGuides": true,
"editor.renderControlCharacters": true,
"editor.scrollBeyondLastLine": false,
"editor.hideCursorInOverviewRuler": false,
"editor.wordWrap": "wordWrapColumn",
"editor.wordWrapColumn": 100,
"editor.wrappingIndent": "indent",
"editor.insertSpaces": true,
"editor.renderLineHighlight": "all",
"editor.cursorBlinking": "solid",
"editor.quickSuggestions": {
"other": true,
"comments": true,
"strings": true
},
"editor.snippetSuggestions": "top",
"editor.minimap.enabled": false,
"diffEditor.ignoreTrimWhitespace": false,
// auto update extension
"extensions.autoUpdate": true,
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"files.associations": {
// "*.yml": "ansible",
"Jenkinsfile": "groovy",
"*.js": "javascriptreact",
"*.jsx": "javascriptreact",
"*.vue": "vue"
},
// language specific settings
// go
"[go]": {
"editor.formatOnSave": true
},
"go.autocompleteUnimportedPackages": true,
// js
"javascript.validate.enable": false,
"javascript.implicitProjectConfig.checkJs": true,
"[javascript]": {
"editor.formatOnSave": false
},
"[elixir]": {
"editor.insertSpaces": true,
"editor.tabSize": 2,
"editor.wordBasedSuggestions": false,
"editor.formatOnType": true,
"editor.acceptSuggestionOnEnter": "smart",
"editor.trimAutoWhitespace": false,
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true
},
// html
"html.format.wrapAttributes": "force",
"eslint.validate": [
"javascript",
"javascriptreact",
{
"language": "html",
"autoFix": true
},
{
"language": "vue",
"autoFix": true
}
],
// html
"emmet.includeLanguages": {
"vue-html": "html",
"vue": "html",
"javascript": "javascriptreact"
},
"emmet.syntaxProfiles": {
"vue-html": "html",
"vue": "html"
},
// "typescript.tsdk": "/Users/huygn/.nvm/versions/node/v6.10.3/lib/node_modules/typescript/lib",
"workbench.statusBar.visible": false,
"workbench.activityBar.visible": true,
"workbench.editor.tabCloseButton": "left",
"editor.tabSize": 2,
"emmet.triggerExpansionOnTab": true,
"emmet.showSuggestionsAsSnippets": true,
"workbench.sideBar.location": "left",
"editor.tabCompletion": "on",
"gitlens.advanced.messages": {
"suppressCommitHasNoPreviousCommitWarning": false,
"suppressCommitNotFoundWarning": false,
"suppressFileNotUnderSourceControlWarning": false,
"suppressGitVersionWarning": false,
"suppressLineUncommittedWarning": false,
"suppressNoRepositoryWarning": false,
"suppressResultsExplorerNotice": false,
"suppressShowKeyBindingsNotice": true,
"suppressUpdateNotice": true,
"suppressWelcomeNotice": true
},
"gitlens.keymap": "none",
"editor.largeFileOptimizations": false,
"git.enableSmartCommit": true,
"git.autofetch": true,
"gitlens.views.fileHistory.enabled": true,
"gitlens.views.lineHistory.enabled": true,
"explorer.confirmDragAndDrop": false,
"prettier.eslintIntegration": true,
"eslint.autoFixOnSave": true,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment