Spaces:
Runtime error
Runtime error
File size: 1,441 Bytes
e4570d0 |
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 |
{
"editor.trimAutoWhitespace": true,
"files.trimTrailingWhitespace": true, // 儲存的時候,會幫你自動過濾多餘的空格
"files.autoSave": "onFocusChange", // 是否自動儲存檔案
"editor.formatOnSave": true,
// "editor.defaultFormatter": "esbenp.prettier-vscode",
// "[javascriptreact]": {
// "editor.defaultFormatter": "esbenp.prettier-vscode",
// "editor.formatOnPaste": false, //Black didn;t support format selection
// "editor.formatOnSave": true,
// "editor.insertSpaces": true,
// "editor.detectIndentation": true,
// "editor.tabSize": 2
// },
"editor.wordWrapColumn": 240,
"python.linting.enabled": false,
"python.linting.pylintEnabled": true,
"python.linting.pylintPath": "pylint",
"python.linting.pylintArgs": [
"--max-line-length",
"240",
"--aggressive"
],
// "python.formatting.provider": "black", // or "black" here
// "python.formatting.blackArgs": [
// "--line-length",
// "80"
// ],
"[python]": {
// 加入這幾行
"editor.formatOnPaste": false, //Black didn;t support format selection
"editor.formatOnSave": true,
// "editor.renderIndentGuides": true,
"editor.insertSpaces": true,
"editor.detectIndentation": true,
"editor.tabSize": 4
},
// "python.analysis.typeCheckingMode": "basic",
} |