u/ifknot

▲ 6 r/cprogramming+1 crossposts

Getting Zed and Clangd to Be Useful for the Retro Programmer

Hope this helps someone: I wrote a blog post about how with Zed and a .clangd configuration file you can transform a hostile language server into a useful assistant. The defining properties are that it accepts non-standard calling conventions with -Wno-ignored-attributes, accepts the Watcom dialect with -fms-extensions, preserves includes hidden behind assembly with // IWYU pragma: keep, and - most importantly - lets you keep code completion.

reddit.com
u/ifknot — 3 days ago