Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CMS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MO-P
CMS
Commits
f0d969b4
Commit
f0d969b4
authored
10 months ago
by
William Di Luigi
Browse files
Options
Downloads
Patches
Plain Diff
Update vscode-specific settings
Add one recommended extension, and specify auto-formatters
parent
b77c87b4
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.vscode/extensions.json
+7
-2
7 additions, 2 deletions
.vscode/extensions.json
.vscode/settings.json
+21
-1
21 additions, 1 deletion
.vscode/settings.json
with
28 additions
and
3 deletions
.vscode/extensions.json
+
7
−
2
View file @
f0d969b4
{
"recommendations"
:
[
//
Auto-format
Python
code
with
Ruff
linter
"charliermarsh.ruff"
,
//
To
apply
settings
from
.editorconfig
file
"editorconfig.editorconfig"
,
//
Python
intellisense
support
"ms-python.python"
,
"ms-python.vscode-pylance"
//
Python
language
server
and
type
checker
"ms-python.vscode-pylance"
,
]
}
This diff is collapsed.
Click to expand it.
.vscode/settings.json
+
21
−
1
View file @
f0d969b4
{
"python.analysis.typeCheckingMode"
:
"basic"
"python.analysis.typeCheckingMode"
:
"basic"
,
"files.insertFinalNewline"
:
true
,
"editor.formatOnSave"
:
true
,
"editor.formatOnSaveMode"
:
"modifications"
,
"[python]"
:
{
"editor.defaultFormatter"
:
"charliermarsh.ruff"
,
},
"[jsonc]"
:
{
"editor.defaultFormatter"
:
"vscode.json-language-features"
,
},
"[javascript]"
:
{
"editor.defaultFormatter"
:
"vscode.typescript-language-features"
,
},
"[css]"
:
{
"editor.defaultFormatter"
:
"vscode.css-language-features"
,
},
"[html]"
:
{
//
Doesn't
work
properly
with
template
files
,
for
example
with
things
//
like
{{
url(
"page"
)
}}
becoming
{{
url(
" page"
)
}}
"editor.formatOnSave"
:
false
,
},
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment