Mind updating with the exact shell you’re using now?
Also for the compile_commands.json bit, see
compile_commands.json