Genio-The-Haiku-IDE / Genio

The Haiku IDE
Other
59 stars 9 forks source link

Docs: Add page on "Configuring Clangd / LSP" #414

Closed humdingerb closed 2 weeks ago

humdingerb commented 3 weeks ago

More or less imported 'Configuring-clangd-lsp.md' into the user documentation. Only removed the install instruction for llvm and syslibs, because those should come as dependencies of Genio, if I'm not mistaken.

jackburton79 commented 3 weeks ago

We're considering removing the dependency on llvm/clang for the next release, since technically one could do python development and not need llvm at all, and install pylsp instead.

humdingerb commented 2 weeks ago

Oh, I see. Just added the package installing, too.

I suppose one needs to re-build compile_commands.json regularly? Every time a source file is added/removed, Makefile changes... what else? That info should be added to that page.

jackburton79 commented 2 weeks ago

Every time you update the makefile (adding or removing source files) you should rebuild the compile db

humdingerb commented 2 weeks ago

Alright. I added a little info box pointing this out.

jackburton79 commented 2 weeks ago

Shall I merge the PR?

humdingerb commented 2 weeks ago

If you or your collegues don't have changes I should make, feel free to merge.