Closed ta3pks closed 2 years ago
You're using coc-codeaction
, try coc-codeaction-cursor
. Check :h coc-codeaction-cursor
for more infos.
@fannheyward is there a way of getting a unified list of codeactions and codeaction-cursors
@NikosEfthias No, coc-codeaction
sends the whole range of document to language server, coc-codeaction-cursor
sends current cursor position to LS.
I recommend to use coc-codeaction-cursor
mostly.
What's the output of
:CocInfo
What's the output of
:CocCommand rust-analyzer.serverVersion
actions such as prefix with _ or rewrite as raw string is missing only the most generic actions show up such as change to pub or extract to a module.