make/vscode/indexers/ccls-settings.txt
author michaelm
Thu, 14 Nov 2019 10:40:08 +0000
branchunixdomainchannels
changeset 59077 85df93a18fe0
parent 55166 2ae056696b15
permissions -rw-r--r--
unixdomainchannels: apidoc updates

		// 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",