File tree 2 files changed +28
-3
lines changed
2 files changed +28
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"recommendations" : [
3
+ // Auto-format Python code with Ruff linter
4
+ " charliermarsh.ruff" ,
5
+ // To apply settings from .editorconfig file
3
6
" editorconfig.editorconfig" ,
7
+ // Python intellisense support
4
8
" ms-python.python" ,
5
- " ms-python.vscode-pylance"
9
+ // Python language server and type checker
10
+ " ms-python.vscode-pylance" ,
6
11
]
7
- }
12
+ }
Original file line number Diff line number Diff line change 1
1
{
2
- "python.analysis.typeCheckingMode" : " basic"
2
+ "python.analysis.typeCheckingMode" : " basic" ,
3
+ "files.insertFinalNewline" : true ,
4
+ "editor.formatOnSave" : true ,
5
+ "editor.formatOnSaveMode" : " modifications" ,
6
+ "[python]" : {
7
+ "editor.defaultFormatter" : " charliermarsh.ruff" ,
8
+ },
9
+ "[jsonc]" : {
10
+ "editor.defaultFormatter" : " vscode.json-language-features" ,
11
+ },
12
+ "[javascript]" : {
13
+ "editor.defaultFormatter" : " vscode.typescript-language-features" ,
14
+ },
15
+ "[css]" : {
16
+ "editor.defaultFormatter" : " vscode.css-language-features" ,
17
+ },
18
+ "[html]" : {
19
+ // Doesn't work properly with template files, for example with things
20
+ // like {{ url("page") }} becoming {{ url(" page") }}
21
+ "editor.formatOnSave" : false ,
22
+ },
3
23
}
You can’t perform that action at this time.
0 commit comments