Merge pull request #1865 from zed-industries/do-not-restrict-code-action-kinds

Don't restrict which kind of code actions we ask the LSP server for
This commit is contained in:
Julia
2022-11-09 09:49:47 -05:00
committed by GitHub
+1 -6
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?