Don't restrict which kind of code actions we ask the LSP server for

This commit is contained in:
Julia 2022-11-08 16:23:31 -05:00
parent 00123ffe2b
commit 7482660456

View File

@ -3573,12 +3573,7 @@ impl Project {
partial_result_params: Default::default(),
context: lsp::CodeActionContext {
diagnostics: relevant_diagnostics,
only: Some(vec![
lsp::CodeActionKind::QUICKFIX,
lsp::CodeActionKind::REFACTOR,
lsp::CodeActionKind::REFACTOR_EXTRACT,
lsp::CodeActionKind::SOURCE,
]),
only: None,
},
})
.await?