add .vscode to cookiecutter
This commit is contained in:
parent
6a76687c36
commit
a4e2f8266e
2 changed files with 29 additions and 0 deletions
8
doc/{{cookiecutter.output_directory}}/.vscode/extensions.json
vendored
Normal file
8
doc/{{cookiecutter.output_directory}}/.vscode/extensions.json
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
// List of extensions which should be recommended for users of this workspace.
|
||||
"recommendations": [
|
||||
"ms-python.vscode-pylance",
|
||||
"ms-python.black-formatter",
|
||||
"ms-python.isort",
|
||||
],
|
||||
}
|
21
doc/{{cookiecutter.output_directory}}/.vscode/settings.json
vendored
Normal file
21
doc/{{cookiecutter.output_directory}}/.vscode/settings.json
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"[python]": {
|
||||
"editor.defaultFormatter": "ms-python.black-formatter",
|
||||
"editor.formatOnSave": true,
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.organizeImports": true,
|
||||
},
|
||||
"editor.rulers": [88],
|
||||
},
|
||||
"isort.importStrategy": "fromEnvironment",
|
||||
"python.languageServer": "Pylance",
|
||||
"python.analysis.diagnosticMode": "workspace",
|
||||
"python.testing.unittestEnabled": false,
|
||||
"python.testing.pytestEnabled": true,
|
||||
"[html][jinja-html]": {
|
||||
"editor.rulers": [120],
|
||||
},
|
||||
"files.associations": {
|
||||
"*.js.jinja": "javascript"
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue