Sam McCall

Results 207 comments of Sam McCall

Can you provide a minimal example that reproduces the problem? This might be a bug, but it's not possible to tell from a screenshot.

First the bad news: i think the only way to hide this is to annotate the include with `// IWYU pragma: keep`. (Or turn off the feature of course) --...

I realized there's a better way to suppress: in clangd config file: ``` Diagnostics: Includes: IgnoreHeader: ``` Apparently this did get added, just not documented yet. > guess based on...

A few thoughts: This is Apple's fork of clangd, not a release from us. The first thing would be to see if it's already fixed in clangd 15 (check the...

This is a bit hard to follow, but IIUC there are two complaints: 1. you want a mode where function completion inserts `foo` rather than `foo()` or `foo(int x)`. 2....

Plan for this would be: - intercept completion items in the middleware (we already do this) - find items where the cursor is placed after a signature help trigger character...

@wtdcode that is a different issue and I don't think one we can do anything about it, please file a bug against vscode. I have https://github.com/clangd/vscode-clangd/pull/398/files for the original issue.

To clarify clangd's behavior here: -std is a clang flag (not a clangd flag) and can be set in any of the usual places, {compile_commands.json, compiler_flags.txt} (only ONE of these...