mirror of
https://github.com/microsoft/terminal.git
synced 2025-12-19 09:58:08 -05:00
Add VSCode configs for better out-of-box LSP support (#16920)
Prevents errors generated due to unresolved headers in VSCode ## Validation Steps Performed - Errors messages are removed. - Headers are resolved properly.
This commit is contained in:
31
.vscode/settings.json
vendored
31
.vscode/settings.json
vendored
@@ -1,8 +1,28 @@
|
|||||||
{
|
{
|
||||||
"C_Cpp.default.browse.databaseFilename": "${workspaceFolder}\\.vscode\\.BROWSE.VC.DB",
|
"C_Cpp.default.browse.databaseFilename": "${workspaceFolder}\\.vscode\\.BROWSE.VC.DB",
|
||||||
|
"C_Cpp.default.browse.limitSymbolsToIncludedHeaders": true,
|
||||||
"C_Cpp.default.browse.path": [
|
"C_Cpp.default.browse.path": [
|
||||||
"${workspaceFolder}"
|
"${workspaceFolder}"
|
||||||
],
|
],
|
||||||
|
"C_Cpp.default.cppStandard": "c++20",
|
||||||
|
"C_Cpp.default.cStandard": "c17",
|
||||||
|
"C_Cpp.default.defines": [
|
||||||
|
"_DEBUG",
|
||||||
|
"_UNICODE",
|
||||||
|
"BUILD_ONECORE_INTERACTIVITY",
|
||||||
|
"DBG",
|
||||||
|
"NT_SUCCESS",
|
||||||
|
"UNICODE",
|
||||||
|
"UNIT_TESTING",
|
||||||
|
"INLINE_TEST_METHOD_MARKUP",
|
||||||
|
],
|
||||||
|
"C_Cpp.default.includePath": [
|
||||||
|
"${workspaceFolder}/**",
|
||||||
|
"${workspaceFolder}/**/Generated Files",
|
||||||
|
"${workspaceFolder}/**/inc",
|
||||||
|
"${workspaceFolder}/**/include",
|
||||||
|
"${workspaceFolder}/**/Include"
|
||||||
|
],
|
||||||
"C_Cpp.loggingLevel": "None",
|
"C_Cpp.loggingLevel": "None",
|
||||||
"files.associations": {
|
"files.associations": {
|
||||||
"xstring": "cpp",
|
"xstring": "cpp",
|
||||||
@@ -98,14 +118,13 @@
|
|||||||
"coroutine": "cpp",
|
"coroutine": "cpp",
|
||||||
"format": "cpp",
|
"format": "cpp",
|
||||||
"forward_list": "cpp",
|
"forward_list": "cpp",
|
||||||
"latch": "cpp"
|
"latch": "cpp",
|
||||||
|
"gsl_assert": "cpp"
|
||||||
},
|
},
|
||||||
"files.exclude": {
|
"files.exclude": {
|
||||||
"**/bin/**": true,
|
"**/bin/**": true,
|
||||||
|
"**/Generated Files/**": true,
|
||||||
"**/obj/**": true,
|
"**/obj/**": true,
|
||||||
"**/Generated Files/**": true
|
"**/packages/**": true,
|
||||||
},
|
},
|
||||||
"search.exclude": {
|
}
|
||||||
"**/packages/**": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user