carbon-language / carbon-lang

Carbon Language's main repository: documents, design, implementation, and related tools. (NOTE: Carbon Language is experimental; see README)
http://docs.carbon-lang.dev/
Other
32.24k stars 1.48k forks source link

docs: add a note on setting up `clangd` #4135

Closed brymer-meneses closed 2 months ago

brymer-meneses commented 2 months ago

This PR adds a note on how to generate compile_commands.json which is necessary for having clangd generate accurate diagnostics

google-cla[bot] commented 2 months ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

brymer-meneses commented 2 months ago

I have also added a note telling the user that python3 should be installed on their system.