Skip to content

Commit

Permalink
Add some python file settings
Browse files Browse the repository at this point in the history
including using the black formatter
  • Loading branch information
cderv committed May 31, 2024
1 parent 9e2b4a1 commit ee04f16
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"esbenp.prettier-vscode",
"sumneko.lua",
"julialang.language-julia",
"ms-python.black-formatter"
]
}
8 changes: 8 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@
"editor.defaultFormatter": "julialang.language-julia",
"editor.wordSeparators": "`~#$%^&*()-=+[{]}\\|;:'\",.<>/?"
},
"[python]": {
"diffEditor.ignoreTrimWhitespace": false,
"gitlens.codeLens.symbolScopes": ["!Module"],
"editor.formatOnSave": false,
"editor.formatOnType": false,
"editor.wordBasedSuggestions": "off",
"editor.defaultFormatter": "ms-python.black-formatter"
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.tabSize": 2,
Expand Down

0 comments on commit ee04f16

Please sign in to comment.