mirror of
https://github.com/Architeuthis-Flux/JumperlessV5.git
synced 2025-09-05 10:47:58 +00:00
105 lines
3.6 KiB
JSON
105 lines
3.6 KiB
JSON
{
|
|
"files.associations": {
|
|
"array": "cpp",
|
|
"deque": "cpp",
|
|
"list": "cpp",
|
|
"string": "cpp",
|
|
"unordered_map": "cpp",
|
|
"vector": "cpp",
|
|
"string_view": "cpp",
|
|
"initializer_list": "cpp",
|
|
"ranges": "cpp",
|
|
"cstring": "cpp",
|
|
"cmath": "cpp",
|
|
"bit": "cpp",
|
|
"compare": "cpp",
|
|
"cstddef": "cpp",
|
|
"limits": "cpp",
|
|
"memory": "cpp",
|
|
"new": "cpp",
|
|
"functional": "cpp",
|
|
"*.tcc": "cpp",
|
|
"optional": "cpp",
|
|
"ratio": "cpp",
|
|
"system_error": "cpp",
|
|
"regex": "cpp",
|
|
"tuple": "cpp",
|
|
"type_traits": "cpp",
|
|
"utility": "cpp",
|
|
"variant": "cpp",
|
|
"pads_bank0.h": "c",
|
|
"charconv": "cpp",
|
|
"chrono": "cpp",
|
|
"format": "cpp",
|
|
"cstdint": "cpp",
|
|
"algorithm": "cpp",
|
|
"random": "cpp",
|
|
"span": "cpp",
|
|
"text_encoding": "cpp",
|
|
"ostream": "cpp",
|
|
"*.h": "cpp",
|
|
"*.ino": "cpp"
|
|
},
|
|
"cortex-debug.registerUseNaturalFormat": false,
|
|
"clang-format.language.cpp.style": "file",
|
|
"C_Cpp.clang_format_style": "Visual Studio",
|
|
"cmake.ignoreCMakeListsMissing": true,
|
|
"C_Cpp.formatting": "clangFormat",
|
|
"cortex-debug.variableUseNaturalFormat": false,
|
|
"files.trimTrailingWhitespace": false,
|
|
|
|
// Disable auto-formatting to prevent unwanted wrapping
|
|
"editor.formatOnSave": false,
|
|
"editor.formatOnPaste": false,
|
|
"editor.formatOnType": false,
|
|
|
|
// Ensure clang-format is used
|
|
"clang-format.executable": "clang-format",
|
|
"clang-format.style": "file",
|
|
"clang-format.fallbackStyle": "none",
|
|
|
|
// Explicitly set the default formatter for C++
|
|
"[cpp]": {
|
|
"editor.defaultFormatter": "llvm-vs-code-extensions.vscode-clangd"
|
|
},
|
|
"[c]": {
|
|
"editor.defaultFormatter": "ms-vscode.cpptools"
|
|
},
|
|
|
|
"C_Cpp.vcFormat.indent.preserveWithinParentheses": true,
|
|
"C_Cpp.enhancedColorization": "enabled",
|
|
"C_Cpp.doxygen.generateOnType": true,
|
|
"C_Cpp.vcFormat.wrap.preserveBlocks": "allOneLineScopes",
|
|
|
|
// Editor settings to prevent line wrapping
|
|
"editor.wordWrap": "off",
|
|
"editor.rulers": [400],
|
|
"editor.scrollBeyondLastLine": true,
|
|
|
|
// C++ formatter settings to prevent wrapping in parentheses
|
|
"C_Cpp.vcFormat.wrap.preserveBlocksOnSeparateLines": false,
|
|
"C_Cpp.vcFormat.newLine.beforeOpenBrace.function": "ignore",
|
|
"C_Cpp.vcFormat.newLine.beforeOpenBrace.block": "ignore",
|
|
"C_Cpp.vcFormat.newLine.beforeOpenBrace.lambda":"ignore",
|
|
"C_Cpp.vcFormat.space.beforeFunctionOpenParenthesis": "ignore",
|
|
"C_Cpp.vcFormat.space.withinParameterListParentheses": false,
|
|
"C_Cpp.vcFormat.space.betweenEmptyParameterListParentheses": false,
|
|
"C_Cpp.vcFormat.space.afterKeywordsInControlFlowStatements": "ignore",
|
|
"C_Cpp.vcFormat.space.withinControlFlowStatementParentheses": false,
|
|
"C_Cpp.vcFormat.space.beforeControlFlowStatementParentheses": true,
|
|
"C_Cpp.vcFormat.space.aroundBinaryOperators": "insert",
|
|
"C_Cpp.vcFormat.space.aroundAssignmentOperators": "insert",
|
|
"C_Cpp.vcFormat.space.pointerReferenceAlignment": "left",
|
|
"C_Cpp.vcFormat.space.aroundTernaryOperators": "insert",
|
|
|
|
// Disable line wrapping in VS formatter
|
|
"C_Cpp.vcFormat.wrap.lineLength": 0,
|
|
"C_Cpp.vcFormat.wrap.preserveBlocks": "allOneLineScopes",
|
|
"C_Cpp.vcFormat.wrap.preserveBlocksOnSeparateLines": false,
|
|
"C_Cpp.vcFormat.wrap.ColumnLimit": 0,
|
|
|
|
|
|
// Use default IntelliSense engine
|
|
"C_Cpp.intelliSenseEngine": "disabled"
|
|
|
|
} |