-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.json
127 lines (127 loc) · 4.04 KB
/
settings.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
/* ****** GENERAL ****** */
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"editor.formatOnSave": true,
/* ****** ****** ****** */
/* ****** JSON ****** */
"[json][jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
/* ****** ****** ****** */
/* ****** YAML ****** */
"[yaml]": {
"editor.insertSpaces": true,
"editor.tabSize": 2,
"editor.autoIndent": "advanced"
},
"yaml.format.bracketSpacing": false,
"yaml.format.singleQuote": true,
/* ****** ****** ****** */
/* ****** DOCKER ****** */
"[dockercompose]": {
"editor.insertSpaces": true
},
/* ****** ****** ****** */
/* ****** SHELL ****** */
"shellcheck.enable": true,
"shellcheck.run": "onSave",
"shellcheck.useWorkspaceRootAsCwd": true,
"shellcheck.customArgs": ["-x", "--enable=all", "--severity=style"],
"[shellscript]": {
"editor.insertSpaces": true,
"editor.tabSize": 2,
"editor.autoIndent": "advanced"
},
/* ****** ****** ****** */
/* ****** OTHER ****** */
"prettier.configPath": "settings/.prettierrc.yml",
"[github-actions-workflow]": {
"editor.autoIndent": "advanced"
},
/* ****** ****** ****** */
/* ****** PYTHON ****** */
"python.defaultInterpreterPath": "python",
"python.languageServer": "Pylance",
"python.analysis.autoImportCompletions": true,
"autoDocstring.docstringFormat": "google",
"black-formatter.args": ["--config", "settings/pyproject.toml"],
"isort.args": ["--settings-file", "settings/pyproject.toml"],
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit",
"source.fixAll": "explicit"
}
},
"pylint.args": ["--rcfile=settings/pyproject.toml"],
"mypy-type-checker.args": ["--config=settings/pyproject.toml"],
"ruff.configuration": "settings/pyproject.toml",
"ruff.lint.args": ["--config=settings/pyproject.toml"],
"ruff.lint.run": "onSave",
"ruff.nativeServer": true,
"ruff.organizeImports": false,
/* ****** ****** ****** */
/* ****** GO ****** */
"go.lintOnSave": "workspace",
"go.lintTool": "golangci-lint",
"go.lintFlags": ["--config=settings/.golangci.yml"],
"go.useLanguageServer": true,
"gopls": {
"formatting.gofumpt": true,
"ui.semanticTokens": true
},
/* ****** ****** ****** */
/* ****** GROOVY ****** */
"files.associations": {
"Jenkinsfile": "groovy"
},
"[groovy]": {
"editor.insertSpaces": true
},
/* ****** ****** ****** */
/* ****** TODOs ****** */
"todo-tree.filtering.includeHiddenFiles": true,
"todo-tree.highlights.defaultHighlight": {
"type": "text"
},
/* ****** ****** ****** */
/* ****** CONSOLE ****** */
"terminal.integrated.env.windows": {
"PWD": "${workspaceFolder}",
"DEVENV": ".",
"PYTHONPATH": "${workspaceFolder}"
},
"terminal.integrated.env.linux": {
"PWD": "${workspaceFolder}",
"DEVENV": ".",
"PYTHONPATH": "${workspaceFolder}"
},
"terminal.integrated.enableMultiLinePasteWarning": false,
/* ****** ****** ****** */
/* ****** SYSTEM ****** */
"files.eol": "\n",
/* ****** ****** ****** */
/* ****** COPILOT ****** */
"editor.inlineSuggest.enabled": true,
"github.copilot.enable": {
"*": true,
"plaintext": true,
"markdown": true,
"yaml": true,
"python": true,
"go": true,
"rust": true,
"groovy": true,
"dockerfile": true,
"dockercompose": true,
"json": true,
"jsonc": true,
"csharp": true
}
}
// Note that environment variables might not work in config path
// TODO: https://code.visualstudio.com/docs/editor/intellisense
// Export a list of extensions:
// code --list-extensions | xargs -L 1 echo code --install-extension