dnkl :emacs: · @dnkl
447 followers · 1082 posts · Server linuxrocks.online

or just use instead of :D

#ccls #clangd

Last updated 1 year ago

DH Regensburg · @DHRegensburg
28 followers · 17 posts · Server fedihum.org

In diesem Jahr findet zum zweiten Mal die Joanna-Conference, die Konferenz für Computational Literary Studies statt. Wir freuen uns natürlich besonders, dass sie quasi in unserer Nachbarschaft in Würzburg ausgerichtet wird ☺️🌻 Mehr darüber heute und morgen hier!

#ccls

Last updated 1 year ago

@suprjami
`make --dry-run` prints but doesn't run the commands. Bear wraps the compiler calls to intercept them, so it requires you to actually call the compiler.

The whole problem is that there's no way to get the includes and dependencies unless you do all the preprocessing, which is a portion of the way into compiling. You could add the compiler flag to only do pre-processing, but you'll only save a little time versus a full compile.

#cprogramming #gcc #clang #llvm #ccls

Last updated 2 years ago

Jamie · @suprjami
91 followers · 406 posts · Server fosstodon.org

I really wish there was a Makefile way to generate compile_commands.json without running an actual build. Bear doesn't catch the output of "make --dry-run". This really feels like it should be a solved problem already?

#cprogramming #gcc #clang #llvm #ccls

Last updated 2 years ago

Jamie · @suprjami
82 followers · 362 posts · Server fosstodon.org

Is it just me, or is there no way to use clangd with the Linux Kernel without doing an entire build to generate compile_commands.json? I don't have hours to wait for a build every time I switch git branches, which I do very often. Just opening random files with vim-lsp and clangd setup for C files doesn't work well.

#clangd #ccls #lsp #llvm #kernel

Last updated 2 years ago

Jamie · @suprjami
81 followers · 358 posts · Server fosstodon.org

Turns out if you setup vim-lsp with ccls and open a directory with C it... just magically works! No compilation database necessary. Having used this for a couple of days on userspace projects and libraries like SDL2, I can see why people really like this.

#vim #neovim #lsp #ccls #clangd #cprogramming

Last updated 2 years ago

dnkl :emacs: · @dnkl
281 followers · 968 posts · Server linuxrocks.online

@merazi@hostux.social did some really quick testing and bugged out almost immediately 🙄

Using for now. No issues so far.

#ccls #clangd

Last updated 4 years ago

dnkl :emacs: · @dnkl
281 followers · 968 posts · Server linuxrocks.online

Switching from + to . Looking good so far!

But should I use or ?

#emacs #clangd #ccls #lsp #semantic #cedet

Last updated 4 years ago

Perpetual Beta 🇺🇦 · @kf
332 followers · 2151 posts · Server sonomu.club

Struggling a bit with in ... The language server refuses to recognize ofMain.h, even though its directory is dutifully listed in compile_commands.json... Anybody have any experience with getting cpp and openframeworks behave appropriately?

#ccls #openframeworks

Last updated 4 years ago