Skip to content

Commit 0f7a714

Browse files
committed
Add comment
1 parent 6ac4cca commit 0f7a714

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

crates/ra_lsp_server/src/main_loop/handlers.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -598,6 +598,10 @@ pub fn handle_code_action(
598598
for source_edit in assists.chain(fixes) {
599599
let title = source_edit.label.clone();
600600
let edit = source_edit.try_conv_with(&world)?;
601+
602+
// We cannot use the 'editor.action.showReferences' command directly
603+
// because that command requires vscode types which we convert in the handler
604+
// on the client side.
601605
let cmd = Command {
602606
title,
603607
command: "rust-analyzer.applySourceChange".to_string(),

0 commit comments

Comments
 (0)