Describe the enhancement requested
CMakePresets.json does not export compile commands by default. The relevant option is "CMAKE_EXPORT_COMPILE_COMMANDS": "ON", and produces a file compile_commands.json which is used by clang tooling. The file is not huge; about 1MB. IMHO it'd be worthwhile to enable this by default so that developers always have access to it without needing to regenerate their cmake build dir; language servers and other tooling can be silently disabled without the compile commands database. See also discussion here
Component(s)
C++