diff options
Diffstat (limited to 'crates/ra_ide/src/goto_definition.rs')
-rw-r--r-- | crates/ra_ide/src/goto_definition.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/crates/ra_ide/src/goto_definition.rs b/crates/ra_ide/src/goto_definition.rs index 90e85d419..83ea5092c 100644 --- a/crates/ra_ide/src/goto_definition.rs +++ b/crates/ra_ide/src/goto_definition.rs | |||
@@ -17,6 +17,15 @@ use crate::{ | |||
17 | FilePosition, NavigationTarget, RangeInfo, | 17 | FilePosition, NavigationTarget, RangeInfo, |
18 | }; | 18 | }; |
19 | 19 | ||
20 | // Feature: Go To Definition | ||
21 | // | ||
22 | // Navigates to the definition of an identifier. | ||
23 | // | ||
24 | // |=== | ||
25 | // | Editor | Shortcut | ||
26 | // | ||
27 | // | VS Code | kbd:[F12] | ||
28 | // |=== | ||
20 | pub(crate) fn goto_definition( | 29 | pub(crate) fn goto_definition( |
21 | db: &RootDatabase, | 30 | db: &RootDatabase, |
22 | position: FilePosition, | 31 | position: FilePosition, |