aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/goto_type_definition.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-05-31 08:45:41 +0100
committerAleksey Kladov <[email protected]>2020-05-31 08:45:41 +0100
commitf593393ebb9bfa515caf168a9f037324eeb6edfe (patch)
tree7bb131eb52b9eaf457ac80760000ca5544fc0626 /crates/ra_ide/src/goto_type_definition.rs
parentc1161718792a1841841a51bc8450d37c4f1ff535 (diff)
Specify actions
Diffstat (limited to 'crates/ra_ide/src/goto_type_definition.rs')
-rw-r--r--crates/ra_ide/src/goto_type_definition.rs8
1 files changed, 7 insertions, 1 deletions
diff --git a/crates/ra_ide/src/goto_type_definition.rs b/crates/ra_ide/src/goto_type_definition.rs
index eeadfa9ee..e74a502ec 100644
--- a/crates/ra_ide/src/goto_type_definition.rs
+++ b/crates/ra_ide/src/goto_type_definition.rs
@@ -5,9 +5,15 @@ use ra_syntax::{ast, match_ast, AstNode, SyntaxKind::*, SyntaxToken, TokenAtOffs
5 5
6use crate::{display::ToNav, FilePosition, NavigationTarget, RangeInfo}; 6use crate::{display::ToNav, FilePosition, NavigationTarget, RangeInfo};
7 7
8// Feature: Go To Type Definition 8// Feature: Go to Type Definition
9// 9//
10// Navigates to the type of an identifier. 10// Navigates to the type of an identifier.
11//
12// |===
13// | Editor | Action Name
14//
15// | VS Code | **Go to Type Definition*
16// |===
11pub(crate) fn goto_type_definition( 17pub(crate) fn goto_type_definition(
12 db: &RootDatabase, 18 db: &RootDatabase,
13 position: FilePosition, 19 position: FilePosition,