aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/completion
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-05-04 19:38:10 +0100
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-05-04 19:38:10 +0100
commitaa7bdfd37f999607806cf47c0108d33a5b44b3e5 (patch)
tree83e606dd367454ce65262b77e0a64d723c858d35 /crates/ra_ide_api/src/completion
parent9c49f6c36e1e097f938946811d1e2f5eb70edca9 (diff)
parent8198e13c26fe985af5893af7bdac04041880b461 (diff)
Merge #1208
1208: [WIP] Goto for Macro's r=matklad a=Lapz Adds goto definition for macros. Currently only works for macros in the current crate ~~otherwise it panics~~. Proper macro resolution needs to be added for it to resolve macros in other crates. Todo - [X] Allow goto from macro calls - [X] Fix panics - [x] Add tests ![Screen Recording 2019-04-25 at 18 00 24](https://user-images.githubusercontent.com/19998186/56754499-1dd01c00-6785-11e9-9e9a-1e36de70cfa3.gif) Co-authored-by: Lenard Pratt <[email protected]>
Diffstat (limited to 'crates/ra_ide_api/src/completion')
-rw-r--r--crates/ra_ide_api/src/completion/completion_item.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_ide_api/src/completion/completion_item.rs b/crates/ra_ide_api/src/completion/completion_item.rs
index f515fcc14..6f1392231 100644
--- a/crates/ra_ide_api/src/completion/completion_item.rs
+++ b/crates/ra_ide_api/src/completion/completion_item.rs
@@ -89,6 +89,7 @@ pub enum CompletionItemKind {
89 TypeAlias, 89 TypeAlias,
90 Method, 90 Method,
91 TypeParam, 91 TypeParam,
92 Macro,
92} 93}
93 94
94#[derive(Debug, PartialEq, Eq, Copy, Clone)] 95#[derive(Debug, PartialEq, Eq, Copy, Clone)]