You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
geajack edited this page Nov 18, 2023
·
1 revision
clangd setup
For anyone using clangd, for example with VSCode, you must generate a compile_commands.json file for features like autocomplete or symbol lookup to work. To do this we will use a tool called compiledb, which is a Python package. Assuming you have Python and pip installed, simply run pip install compiledb (pip3 on some Linux distributions) to install the package, and then run:
compiledb make
in the root of this repository. clangd should now function. You may need to close/re-open files or even your editor.
These instructions were lifted from this article, see there for further information.