Clangd language server can be used inside editors with language clients
like eglot in Emacs.  It gives IDE-like features support, for example
M-x eglot-rename with cursor at variable would rename matching specific
variable rather than regex substring. But Clangd also need compilation
database to know about included and linked files.

Repo on github[1] states that it is for GNU Make based build systems, but
to me it seems that it works with BSD make when invoked like this:
$ make clean
$ make | compiledb -p -

I may try to write short pkg-readme about this if needed.
If you still not sure that it work this way —— please test.

Depends on py-click and py-bashlex.

I submitted py-bashlex port before.
There is one small patch I added because of which I dont need to port
third rarely used python dependancy package.

License is GPLv3+

[1]: https://github.com/nickdiego/compiledb


Attachment: py-compiledb-0.10.1rev01.tar.gz
Description: compiledb port first revision

File .tar.gz file attached as application/octet-stream mime-type.

Best regards, Artsiom.
I hope to submit more complex ports like newer cad/KiCAD or
audio/clementine or audio/strawberry one day in the future.

Reply via email to