Code review fixes
This commit is contained in:
@@ -897,10 +897,8 @@ pub(crate) fn code_action(
|
||||
(Some(it), _) => res.edit = Some(snippet_workspace_edit(snap, it)?),
|
||||
(None, Some((index, code_action_params))) => {
|
||||
res.data = Some(lsp_ext::CodeActionData {
|
||||
id: assist.id.0.to_string(),
|
||||
id: format!("{}:{}:{}", assist.id.0, assist.id.1.name(), index),
|
||||
code_action_params,
|
||||
kind: assist.id.1.name().to_string(),
|
||||
index,
|
||||
});
|
||||
}
|
||||
(None, None) => {
|
||||
|
||||
Reference in New Issue
Block a user