2022-04-23 13:23:04 +00:00
|
|
|
{
|
|
|
|
|
// Always remove trailing whitespaces
|
|
|
|
|
"files.trimTrailingWhitespace": true,
|
|
|
|
|
"files.insertFinalNewline": true,
|
|
|
|
|
"files.trimFinalNewlines": true,
|
|
|
|
|
"editor.rulers": [
|
|
|
|
|
120
|
|
|
|
|
],
|
|
|
|
|
"[python]": {
|
|
|
|
|
"editor.tabSize": 4,
|
|
|
|
|
// Auto sort imports
|
|
|
|
|
"editor.formatOnSave": true,
|
|
|
|
|
"editor.codeActionsOnSave": {
|
2024-01-11 03:26:01 +00:00
|
|
|
"source.organizeImports": "explicit"
|
2022-04-23 13:23:04 +00:00
|
|
|
},
|
2023-11-24 10:04:48 +00:00
|
|
|
"editor.defaultFormatter": "ms-python.black-formatter"
|
2022-04-23 13:23:04 +00:00
|
|
|
},
|
|
|
|
|
// Enable Python linting and Pylance type checking
|
|
|
|
|
"python.analysis.typeCheckingMode": "basic",
|
2022-07-20 15:47:57 +00:00
|
|
|
"cpplint.lineLength": 120,
|
|
|
|
|
"cpplint.filters": [
|
|
|
|
|
"-build/include_subdir",
|
|
|
|
|
"-runtime/references"
|
2024-03-01 21:44:29 +00:00
|
|
|
],
|
2024-09-01 02:04:12 +00:00
|
|
|
"C_Cpp.autoAddFileAssociations": false
|
2023-09-26 16:51:13 +00:00
|
|
|
}
|