Skip to content

Instantly share code, notes, and snippets.

@mackjoner
Created April 28, 2019 10:43
Show Gist options
  • Save mackjoner/b2bb31b7b20cf886290a570d91bc3437 to your computer and use it in GitHub Desktop.
Save mackjoner/b2bb31b7b20cf886290a570d91bc3437 to your computer and use it in GitHub Desktop.
code setting
{
"terminal.explorerKind": "external",
"terminal.external.osxExec": "iterm2.app",
"editor.fontSize": 14,
"editor.fontFamily": "Menlo",
"workbench.colorTheme": "Atom One Dark",
"window.zoomLevel": 0,
"terminal.integrated.fontFamily": "Droid Sans Mono Dotted for Powerline",
"terminal.integrated.fontSize": 12,
"typescript.check.npmIsInstalled": false,
// go configure
// "go.toolsEnvVars": {
// "GO111MODULE": "on"
// },
"go.lintTool": "golangci-lint",
"go.lintFlags": [
"--fast",
"-E", "goimports",
"-E", "gocritic",
"-E", "gocyclo",
"-E", "gosec",
"-E", "maligned",
"-E", "scopelint",
"-E", "interfacer",
"-E", "goconst",
"-E", "unconvert",
"-E", "unparam",
"-E", "prealloc",
],
"go.formatTool": "goimports",
"go.useLanguageServer": true,
"go.alternateTools": {
"go-langserver": "gopls",
},
"go.languageServerExperimentalFeatures": {
"format": true,
"autoComplete": true
},
"[go]": {
"editor.codeActionsOnSave": {
"source.organizeImports": true
},
},
"go.testOnSave": false,
"go.coverOnSave": false,
"go.testFlags": ["-v"],
// beautify js format
// "beautify.config": "~/.jsbeautifyrc",
// "beautify.language": {
// "js": {
// "type": [
// "javascript",
// "json"
// ],
// "filename": [
// ".jshintrc",
// ".jsbeautify"
// ]
// },
// "css": [
// "css",
// "scss"
// ],
// "html": [
// "htm",
// "html"
// ]
// },
// python
"python.venvPath": "~/Envs",
"python.sortImports.args": ["-rc", "--atomic"],
// "python.formatting.formatOnSave": true,
"python.linting.pylintEnabled": false,
"python.linting.flake8Enabled": true,
"python.formatting.provider": "yapf",
// "python.formatting.autopep8Args": ["--max-line-length", "120", "--experimental"],
"python.formatting.yapfArgs": [
"--style",
"{based_on_style: chromium, indent_width: 4}"
],
"gitlens.advanced.messages": {
"suppressCommitHasNoPreviousCommitWarning": false,
"suppressCommitNotFoundWarning": false,
"suppressFileNotUnderSourceControlWarning": false,
"suppressGitVersionWarning": false,
"suppressLineUncommittedWarning": false,
"suppressNoRepositoryWarning": false,
"suppressResultsExplorerNotice": false,
"suppressShowKeyBindingsNotice": true,
"suppressUpdateNotice": false,
"suppressWelcomeNotice": true
},
"gitlens.keymap": "alternate",
"workbench.startupEditor": "newUntitledFile",
"gitlens.showWhatsNewAfterUpgrades": false,
"C_Cpp.updateChannel": "Insiders",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment