make/vscode/indexers/clangd-settings.txt
author amenkov
Wed, 21 Aug 2019 12:34:37 -0700
changeset 57825 8c73d2a46ba9
parent 55166 2ae056696b15
permissions -rw-r--r--
8228547: accessibility errors in jvmti.html Reviewed-by: jcbeyler, sspitsyn, dholmes
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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",