diff options
author | Aleksey Kladov <[email protected]> | 2020-05-31 08:45:41 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-05-31 08:45:41 +0100 |
commit | f593393ebb9bfa515caf168a9f037324eeb6edfe (patch) | |
tree | 7bb131eb52b9eaf457ac80760000ca5544fc0626 /crates/ra_ide/src/goto_type_definition.rs | |
parent | c1161718792a1841841a51bc8450d37c4f1ff535 (diff) |
Specify actions
Diffstat (limited to 'crates/ra_ide/src/goto_type_definition.rs')
-rw-r--r-- | crates/ra_ide/src/goto_type_definition.rs | 8 |
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 | ||
6 | use crate::{display::ToNav, FilePosition, NavigationTarget, RangeInfo}; | 6 | use 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 | // |=== | ||
11 | pub(crate) fn goto_type_definition( | 17 | pub(crate) fn goto_type_definition( |
12 | db: &RootDatabase, | 18 | db: &RootDatabase, |
13 | position: FilePosition, | 19 | position: FilePosition, |