You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
with the closing brace of the generated function being selected (highlighted with [] brackets).
When triggering the codeaction in the same file with an empty line at the end (which rustfmt removes for me 😅 ), the todo!() is correctly selected
The logic of applySnippetWorkspaceEdit looks equivalent to the one in the VS code plugin (compare coc-rust-analyzer with VS Code, so maybe this is a coc.nvim bug?
The text was updated successfully, but these errors were encountered:
Tracking for the bug described in #252 by @oblitum
Opening a bug here because I don't see this behaviour in the VS Code plugin.
When triggering the "Add function" codeaction in this file without an empty line at the end:
The following is generated:
with the closing brace of the generated function being selected (highlighted with
[]
brackets).When triggering the codeaction in the same file with an empty line at the end (which rustfmt removes for me 😅 ), the
todo!()
is correctly selectedThe logic of
applySnippetWorkspaceEdit
looks equivalent to the one in the VS code plugin (compare coc-rust-analyzer with VS Code, so maybe this is a coc.nvim bug?The text was updated successfully, but these errors were encountered: