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:
@@ -3573,12 +3573,7 @@ impl Project {
|
|||||||
partial_result_params: Default::default(),
|
partial_result_params: Default::default(),
|
||||||
context: lsp::CodeActionContext {
|
context: lsp::CodeActionContext {
|
||||||
diagnostics: relevant_diagnostics,
|
diagnostics: relevant_diagnostics,
|
||||||
only: Some(vec![
|
only: None,
|
||||||
lsp::CodeActionKind::QUICKFIX,
|
|
||||||
lsp::CodeActionKind::REFACTOR,
|
|
||||||
lsp::CodeActionKind::REFACTOR_EXTRACT,
|
|
||||||
lsp::CodeActionKind::SOURCE,
|
|
||||||
]),
|
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
.await?
|
.await?
|
||||||
|
|||||||
Reference in New Issue
Block a user