1                 // Configure cpptools IntelliSense
   2                 "C_Cpp.intelliSenseCachePath": "{{OUTPUTDIR}}/.vscode",
   3                 "C_Cpp.default.compileCommands": "{{OUTPUTDIR}}/compile_commands.json",
   4                 "C_Cpp.default.cppStandard": "c++03",
   5                 "C_Cpp.default.compilerPath": "{{COMPILER}}",
   6 
   7                 // Configure ccls
   8                 "ccls.misc.compilationDatabaseDirectory": "{{TOPDIR_RELATIVE}}",
   9                 "ccls.cache.hierarchicalPath": true,
  10                 "ccls.cache.directory": "{{OUTPUTDIR}}/.vscode/ccls",
  11 
  12                 // Avoid issues with precompiled headers
  13                 "ccls.clang.excludeArgs": [
  14                         // Windows / MSVC
  15                         "-Fp{{OUTPUTDIR}}/hotspot/variant-server/libjvm/objs/BUILD_LIBJVM.pch",
  16                         "-Fp{{OUTPUTDIR}}/hotspot/variant-server/libjvm/gtest/objs/BUILD_GTEST_LIBJVM.pch",
  17                         "-Yuprecompiled.hpp",
  18                         // MacOS / clang
  19                         "{{OUTPUTDIR}}/hotspot/variant-server/libjvm/objs/precompiled/precompiled.hpp.pch",
  20                         "{{OUTPUTDIR}}/hotspot/variant-server/libjvm/gtest/objs/precompiled/precompiled.hpp.pch",
  21                         "-include-pch"
  22                 ],
  23 
  24                 // Disable conflicting features from cpptools
  25                 "C_Cpp.autocomplete": "Disabled",
  26                 "C_Cpp.errorSquiggles": "Disabled",
  27                 "C_Cpp.formatting": "Disabled",
  28                 "C_Cpp.intelliSenseEngine": "Disabled",