mirror of
https://github.com/gbowne1/ClassicOS.git
synced 2024-11-23 14:26:52 -08:00
66 lines
2.1 KiB
JSON
66 lines
2.1 KiB
JSON
{
|
|
// General C/C++ settings
|
|
"C_Cpp.autoAddFileAssociations": true,
|
|
"C_Cpp.autocompleteAddParentheses": true,
|
|
"C_Cpp.clang_format_sortIncludes": true,
|
|
"C_Cpp.codeAnalysis.clangTidy.enabled": true,
|
|
"C_Cpp.configurationWarnings": "enabled",
|
|
"C_Cpp.default.browse.limitSymbolsToIncludedHeaders": false,
|
|
"C_Cpp.default.cStandard": "c11",
|
|
"C_Cpp.default.compilerPath": "/usr/bin/gcc",
|
|
"C_Cpp.default.cppStandard": "c++11",
|
|
"C_Cpp.default.enableConfigurationSquiggles": true,
|
|
"C_Cpp.errorSquiggles": "enabledIfIncludesResolve",
|
|
"C_Cpp.formatting": "default",
|
|
"C_Cpp.loggingLevel": "Debug",
|
|
"C_Cpp.vcFormat.indent.caseContentsWhenBlock": true,
|
|
"C_Cpp.vcFormat.indent.namespaceContents": false,
|
|
"C_Cpp.vcFormat.indent.preserveComments": true,
|
|
"C_Cpp.vcFormat.space.pointerReferenceAlignment": "right",
|
|
// CMake integration settings
|
|
"cmake.autoSelectActiveFolder": false,
|
|
"cmake.configureOnEdit": false,
|
|
"cmake.configureOnOpen": false,
|
|
"cmake.cmakePath": "/usr/bin/cmake",
|
|
"cmake.sourceDirectory": "${workspaceFolder}/",
|
|
// Language-specific settings
|
|
"[c]": {
|
|
"editor.defaultFormatter": "ms-vscode.cpptools",
|
|
"editor.formatOnSave": true
|
|
},
|
|
"[cpp]": {
|
|
"editor.defaultFormatter": "ms-vscode.cpptools",
|
|
"editor.formatOnSave": true
|
|
},
|
|
// File associations
|
|
"files.associations": {
|
|
"*.c": "c",
|
|
"*.cpp": "cpp",
|
|
"*.h": "c",
|
|
"*.hpp": "c"
|
|
},
|
|
"workbench.editorAssociations": {
|
|
"*.c": "default",
|
|
"*.cpp": "default",
|
|
"*.h": "default",
|
|
"*.hpp": "default"
|
|
},
|
|
// IntelliSense configuration
|
|
"C_Cpp.default.includePath": [
|
|
"/usr/include",
|
|
"${workspaceFolder}/**",
|
|
"${workspaceFolder}/src/include",
|
|
"${workspaceFolder}/include"
|
|
],
|
|
"C_Cpp.default.defines": [],
|
|
"C_Cpp.default.compileCommands": "build/compile_commands.json",
|
|
"C_Cpp.default.browse.path": [
|
|
"/usr/include",
|
|
"${workspaceFolder}/**",
|
|
"${workspaceFolder}/src/include",
|
|
"${workspaceFolder}/include"
|
|
],
|
|
"C_Cpp.default.browse.databaseFilename": "${workspaceFolder}/.vscode/browse.vc.db",
|
|
"C_Cpp.default.configurationProvider": "ms-vscode.cpptools",
|
|
"C_Cpp.default.intelliSenseMode": "linux-gcc-x64"
|
|
} |