Spaces:
Runtime error
Runtime error
{ | |
"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", | |
} |