[clang-tools-extra] [clangd] Attempt to fix https://github.com/clangd/clangd/issues/1536 (PR #79448)

Nathan Ridge via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 28 00:29:29 PST 2024


HighCommander4 wrote:

> However, this doesn't seem to change the behavior in vscode:

I applied the patch locally, and it does have _an_ effect on the steps from #1536 (running `Auto fix` with code containing multiple diagnostics selected):
 * before, it would show a message saying no fixes are available
 * now, it shows a popup listing the multiple quick-fixes (but only letting me apply one at a time)

Unfortunately, it's not the effect we were hoping for (automatically applying the multiple fixes at once).

It's possible that in my analysis in #830 / #1536 I misunderstood the purpose of the VSCode's "Auto fix" command. This will need more investigation on the VSCode side.

https://github.com/llvm/llvm-project/pull/79448


More information about the cfe-commits mailing list