I'm using lazyvim with clangd extra installed, and when I have an error / diagnostic that needs handling I do the following routine:
]d/]e(go to next diagnostic / error)<LEADER>ca (i.e. space bar)(code action - suggest a fix)enter(accpet fix)
Is there a builtin faster way?
I have "Trouble" but that doesn't help me fix the issues, only to navigate them
Also, how can I customize this to suit my prefeneces? I'm imagining something like
<leader> ffente fast-fix-errors panengo to next error and open the code actions (instead of]e+<leader>ca)Ngo to next error and apply the first code action available