author | michaelm |
Thu, 14 Nov 2019 10:40:08 +0000 | |
branch | unixdomainchannels |
changeset 59077 | 85df93a18fe0 |
parent 55166 | 2ae056696b15 |
permissions | -rw-r--r-- |
55166
2ae056696b15
8223678: Add Visual Studio Code workspace generation support (for native code)
rwestberg
parents:
diff
changeset
|
1 |
// Configure cpptools IntelliSense |
2ae056696b15
8223678: Add Visual Studio Code workspace generation support (for native code)
rwestberg
parents:
diff
changeset
|
2 |
"C_Cpp.intelliSenseCachePath": "{{OUTPUTDIR}}/.vscode", |
2ae056696b15
8223678: Add Visual Studio Code workspace generation support (for native code)
rwestberg
parents:
diff
changeset
|
3 |
"C_Cpp.default.compileCommands": "{{OUTPUTDIR}}/compile_commands.json", |
2ae056696b15
8223678: Add Visual Studio Code workspace generation support (for native code)
rwestberg
parents:
diff
changeset
|
4 |
"C_Cpp.default.cppStandard": "c++03", |
2ae056696b15
8223678: Add Visual Studio Code workspace generation support (for native code)
rwestberg
parents:
diff
changeset
|
5 |
"C_Cpp.default.compilerPath": "{{COMPILER}}", |
2ae056696b15
8223678: Add Visual Studio Code workspace generation support (for native code)
rwestberg
parents:
diff
changeset
|
6 |
|
2ae056696b15
8223678: Add Visual Studio Code workspace generation support (for native code)
rwestberg
parents:
diff
changeset
|
7 |
// Configure clangd |
2ae056696b15
8223678: Add Visual Studio Code workspace generation support (for native code)
rwestberg
parents:
diff
changeset
|
8 |
"clangd.arguments": [ |
2ae056696b15
8223678: Add Visual Studio Code workspace generation support (for native code)
rwestberg
parents:
diff
changeset
|
9 |
"-background-index", |
2ae056696b15
8223678: Add Visual Studio Code workspace generation support (for native code)
rwestberg
parents:
diff
changeset
|
10 |
"-compile-commands-dir={{OUTPUTDIR}}" |
2ae056696b15
8223678: Add Visual Studio Code workspace generation support (for native code)
rwestberg
parents:
diff
changeset
|
11 |
], |
2ae056696b15
8223678: Add Visual Studio Code workspace generation support (for native code)
rwestberg
parents:
diff
changeset
|
12 |
|
2ae056696b15
8223678: Add Visual Studio Code workspace generation support (for native code)
rwestberg
parents:
diff
changeset
|
13 |
// Disable conflicting features from cpptools |
2ae056696b15
8223678: Add Visual Studio Code workspace generation support (for native code)
rwestberg
parents:
diff
changeset
|
14 |
"C_Cpp.autocomplete": "Disabled", |
2ae056696b15
8223678: Add Visual Studio Code workspace generation support (for native code)
rwestberg
parents:
diff
changeset
|
15 |
"C_Cpp.errorSquiggles": "Disabled", |
2ae056696b15
8223678: Add Visual Studio Code workspace generation support (for native code)
rwestberg
parents:
diff
changeset
|
16 |
"C_Cpp.formatting": "Disabled", |
2ae056696b15
8223678: Add Visual Studio Code workspace generation support (for native code)
rwestberg
parents:
diff
changeset
|
17 |
"C_Cpp.intelliSenseEngine": "Disabled", |