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

or just use instead of :D

#ccls #clangd

Last updated 1 year ago

James Peach · @jpeach
49 followers · 316 posts · Server hachyderm.io

I spend a bit of time trying to get various Clang tooling options to generate a JSON compilation database for a project. All the tooling around this seems really complicated and though Bear works well on Linux, it doesn't do much on macOS.

So I wrote a simple tool to swizzle the Clang "-MJ" option and collate the JSON fragments that emits. Super simple, and seems to work really well - I was actually able to get clangd working and resolving most symbols.

github.com/jpeach/mj

#clang #clangd

Last updated 1 year 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

Alex · @stsquad
235 followers · 1787 posts · Server mastodon.org.uk

I finally got working with in when I realised that the compile_commands database used by hadn't been updated in ages. I'll have to figure out what to fix for the build when I'm back at work.

#corfu #lsp #emacs #clangd

Last updated 2 years ago

:ferris: Naughtylus :nixos: · @Naughtylus
241 followers · 2878 posts · Server fosstodon.org

I have switched from nixpkgs#clang_13 to nixpgks#clang-tools_13 and everything is fixed.

Reading the derivation source, it looks like the clangd from clang-tools is patched to look for libc & co. where it should.

I'm not entirely sure why we need a separate derivation for clang tools then, but I don't know if/where I should report that issue.

#nixos #nixpkgs #nix #clang #clangd

Last updated 2 years ago

:ferris: Naughtylus :nixos: · @Naughtylus
242 followers · 2888 posts · Server fosstodon.org

I have switched from nixpkgs#clang_13 to nixpgks#clang-tools_13 and everything is fixed.

Reading the derivation source, it looks like the clangd from clang-tools is patched to look for libc & co. where it should.

I'm not entirely sure why we need a separate derivation for clang tools then, but I don't know if/where I should report that issue.

#nixos #nixpkgs #nix #clang #clangd

Last updated 2 years ago

+ is a way better setup than what I expected.
It actually works better than on (navigating a call hierarchy doesn't crash the server)

#neovim #cpp #vscode #clangd

Last updated 2 years ago

I am really battling to get to compile on my box. I think largely because I am using and not . Any tips?

#rust #linux #vscodium #vscode #clangd

Last updated 2 years ago

Aelspire · @aelspire
10 followers · 13 posts · Server fosstodon.org

It's alive!

Now my have a barebone graphical session () and a web browser installed ().

For now I used to provide some binary packages but I'm still thinking if I like it.

That was not as problematic as I anticipated.

But I'm pondering about removing , as is dependency of some packages and I use in my code editor, and compiling both toolchains takes time…

#KissLinux #sway #qutebrowser #flatpak #gcc #llvm #clangd

Last updated 2 years ago

lopeztel :manjaro: :arch: · @lopeztel
282 followers · 2673 posts · Server fosstodon.org

Anyone knows where to find an aarch64 binary of ? AFAIK it's not available through the repos or AUR (aarch64) for the ... Currently building from source but overkill in my opinion

#clangd #manjaroarm #pinebookpro #askthefediverse

Last updated 3 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