aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src/dyn_map.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-05-01 19:57:55 +0100
committerGitHub <[email protected]>2020-05-01 19:57:55 +0100
commit26079c7f2cce4cd1a2e833a045fb14377fa737d3 (patch)
tree07da881c1daeb65ea8e8683c367acc56e23cf322 /crates/ra_hir_def/src/dyn_map.rs
parent4d33cdcfb2e06088c8bccc57565224f8a377d899 (diff)
parent99826dab153feffc8fe0d80600d9e812824d67b2 (diff)
Merge #4167
4167: Filter out code actions if unsupported by the client and advertise our capabilities r=matklad a=kjeremy This PR does three things: 1. If the client does not support `CodeActionKind` this will filter the results and only send `Command[]` back. 2. Correctly advertises to the client that the server supports `CodeActionKind`. This may cause clients to not request code actions if they are checking for the provider to be `true` (or implement LSP < 3.8) in the caps but I will fix that in a followup PR. 3. Marks most CodeActions as <strike>"refactor" so that they show up in the menu in vscode.</strike>`""`. Part of #144 #4147 #2833 Co-authored-by: kjeremy <[email protected]>
Diffstat (limited to 'crates/ra_hir_def/src/dyn_map.rs')
0 files changed, 0 insertions, 0 deletions