mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-14 20:48:00 +00:00
### Description If you open onnxruntime source code using VSCode with C/C++ extension, it's keeping adding file associations for C/C++ headers into this settings.json. This is annoying when staging/committing changes. Add a configuration to disable this behavior. see: - https://stackoverflow.com/questions/65220185/how-to-stop-vs-code-to-keep-adding-standard-c-libraries-to-the-file-associatio - https://github.com/microsoft/vscode-cpptools/issues/722#issuecomment-480329005
26 lines
759 B
JSON
26 lines
759 B
JSON
{
|
|
// 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": {
|
|
"source.organizeImports": "explicit"
|
|
},
|
|
"editor.defaultFormatter": "ms-python.black-formatter"
|
|
},
|
|
// Enable Python linting and Pylance type checking
|
|
"python.analysis.typeCheckingMode": "basic",
|
|
"cpplint.lineLength": 120,
|
|
"cpplint.filters": [
|
|
"-build/include_subdir",
|
|
"-runtime/references"
|
|
],
|
|
"C_Cpp.autoAddFileAssociations": false
|
|
}
|