make/vscode/indexers/ccls-settings.txt
author zgu
Tue, 17 Sep 2019 08:22:14 -0400
changeset 58190 9adf95692a3d
parent 55166 2ae056696b15
permissions -rw-r--r--
8230350: Shenandoah: Assertion failed when GC is cancelled by a worker thread Reviewed-by: rkennke

		// 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 ccls
		"ccls.misc.compilationDatabaseDirectory": "{{TOPDIR_RELATIVE}}",
		"ccls.cache.hierarchicalPath": true,
		"ccls.cache.directory": "{{OUTPUTDIR}}/.vscode/ccls",

		// Avoid issues with precompiled headers
		"ccls.clang.excludeArgs": [
			// Windows / MSVC
			"-Fp{{OUTPUTDIR}}/hotspot/variant-server/libjvm/objs/BUILD_LIBJVM.pch",
			"-Fp{{OUTPUTDIR}}/hotspot/variant-server/libjvm/gtest/objs/BUILD_GTEST_LIBJVM.pch",
			"-Yuprecompiled.hpp",
			// MacOS / clang
			"{{OUTPUTDIR}}/hotspot/variant-server/libjvm/objs/precompiled/precompiled.hpp.pch",
			"{{OUTPUTDIR}}/hotspot/variant-server/libjvm/gtest/objs/precompiled/precompiled.hpp.pch",
			"-include-pch"
		],

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