Open laralex opened 3 days ago
Hey @laralex , thanks for the report.
Yes, Bear does not put precompiled header into the output. This was a kind of design decision, because I have not seen use of it. Give me some time to implement it. Will keep the ticket open.
@rizsotto I tried to build v3.1.5 from source, it seems to work already. Though I wonder why Ubuntu 20.04 is packaged with such an old version 2.4.3
Describe the bug Can't make Bear to append the compilation command of a precompiled header into
compile_commands.json
To Reproduce Make a header file
test.hpp
Run Bear to generated the precompiled header
Expected behavior
compile_commands.json
should contain the compilation command,clangd
is perfectly capable of interacting with it for code completionInstead
compile_commands.json
is justEnvironment:
sudo apt install bear
Additional context