make/vscode/indexers/clangd-settings.txt
author bulasevich
Thu, 28 Nov 2019 10:57:38 +0300
changeset 59303 1d6e62764eee
parent 55166 2ae056696b15
permissions -rw-r--r--
8234891: AArch64: Fix build failure after JDK-8234387 Reviewed-by: vlivanov, smonteith

		// Configure cpptools IntelliSense
		"C_Cpp.intelliSenseCachePath": "{{OUTPUTDIR}}/.vscode",
		"C_Cpp.default.compileCommands": "{{OUTPUTDIR}}/compile_commands.json",
		"C_Cpp.default.cppStandard": "c++03",
		"C_Cpp.default.compilerPath": "{{COMPILER}}",

		// Configure clangd
		"clangd.arguments": [
			"-background-index",
			"-compile-commands-dir={{OUTPUTDIR}}"
		],

		// Disable conflicting features from cpptools
		"C_Cpp.autocomplete": "Disabled",
		"C_Cpp.errorSquiggles": "Disabled",
		"C_Cpp.formatting": "Disabled",
		"C_Cpp.intelliSenseEngine": "Disabled",