aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/snapshots
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-01-22 15:06:32 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-01-22 15:06:32 +0000
commit595a2f9900d052d0c5cc3529602aec0cbcd52614 (patch)
tree7af6dd503e1247952e3689b562c5470f4ae28613 /crates/ra_ide_api/src/snapshots
parent9e0abfc0c9b9d36c45c9d8567c632c0167b31084 (diff)
parent7c27e6d2b3133e4c37b176f0e13c15994eb16dfa (diff)
Merge #593
593: Docs for completion r=matklad a=kjeremy The first commit adds documentation support to CompletionItems. The second one I am unsure about. Is that the right way to add docs for functions? If so should I do something similar for other `hir` types and CompletionItems? Co-authored-by: Jeremy Kolb <[email protected]> Co-authored-by: Jeremy A. Kolb <[email protected]>
Diffstat (limited to 'crates/ra_ide_api/src/snapshots')
-rw-r--r--crates/ra_ide_api/src/snapshots/tests__highlight_query_group_macro.snap10
-rw-r--r--crates/ra_ide_api/src/snapshots/tests__highlights_code_inside_macros.snap10
-rw-r--r--crates/ra_ide_api/src/snapshots/tests__rename_mod.snap10
-rw-r--r--crates/ra_ide_api/src/snapshots/tests__rename_mod_in_dir.snap10
-rw-r--r--crates/ra_ide_api/src/snapshots/tests__runnables.snap10
-rw-r--r--crates/ra_ide_api/src/snapshots/tests__runnables_module.snap10
-rw-r--r--crates/ra_ide_api/src/snapshots/tests__runnables_multiple_depth_module.snap10
-rw-r--r--crates/ra_ide_api/src/snapshots/tests__runnables_one_depth_layer_module.snap10
8 files changed, 48 insertions, 32 deletions
diff --git a/crates/ra_ide_api/src/snapshots/tests__highlight_query_group_macro.snap b/crates/ra_ide_api/src/snapshots/tests__highlight_query_group_macro.snap
index b84aa9c78..062add083 100644
--- a/crates/ra_ide_api/src/snapshots/tests__highlight_query_group_macro.snap
+++ b/crates/ra_ide_api/src/snapshots/tests__highlight_query_group_macro.snap
@@ -1,7 +1,9 @@
1Created: 2019-01-15T11:15:20.732493641+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:01.017117100+00:00"
3Source: crates/ra_ide_api/src/syntax_highlighting.rs 3creator: [email protected]
4 4expression: "&highlights"
5source: "crates\\ra_ide_api\\src\\syntax_highlighting.rs"
6---
5[ 7[
6 HighlightedRange { 8 HighlightedRange {
7 range: [20; 32), 9 range: [20; 32),
diff --git a/crates/ra_ide_api/src/snapshots/tests__highlights_code_inside_macros.snap b/crates/ra_ide_api/src/snapshots/tests__highlights_code_inside_macros.snap
index 14c6e5a4e..fd8265abb 100644
--- a/crates/ra_ide_api/src/snapshots/tests__highlights_code_inside_macros.snap
+++ b/crates/ra_ide_api/src/snapshots/tests__highlights_code_inside_macros.snap
@@ -1,7 +1,9 @@
1Created: 2019-01-15T11:15:20.732523231+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:01.043047100+00:00"
3Source: crates/ra_ide_api/src/syntax_highlighting.rs 3creator: [email protected]
4 4expression: "&highlights"
5source: "crates\\ra_ide_api\\src\\syntax_highlighting.rs"
6---
5[ 7[
6 HighlightedRange { 8 HighlightedRange {
7 range: [13; 15), 9 range: [13; 15),
diff --git a/crates/ra_ide_api/src/snapshots/tests__rename_mod.snap b/crates/ra_ide_api/src/snapshots/tests__rename_mod.snap
index dc97b3334..3267d1ac5 100644
--- a/crates/ra_ide_api/src/snapshots/tests__rename_mod.snap
+++ b/crates/ra_ide_api/src/snapshots/tests__rename_mod.snap
@@ -1,7 +1,9 @@
1Created: 2019-01-18T08:26:43.427092+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.975229300+00:00"
3Source: crates/ra_ide_api/src/rename.rs 3creator: [email protected]
4 4expression: "&source_change"
5source: "crates\\ra_ide_api\\src\\rename.rs"
6---
5Some( 7Some(
6 SourceChange { 8 SourceChange {
7 label: "rename", 9 label: "rename",
diff --git a/crates/ra_ide_api/src/snapshots/tests__rename_mod_in_dir.snap b/crates/ra_ide_api/src/snapshots/tests__rename_mod_in_dir.snap
index 7dcd65185..e96bf5c02 100644
--- a/crates/ra_ide_api/src/snapshots/tests__rename_mod_in_dir.snap
+++ b/crates/ra_ide_api/src/snapshots/tests__rename_mod_in_dir.snap
@@ -1,7 +1,9 @@
1Created: 2019-01-18T08:26:43.427095+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.975229300+00:00"
3Source: crates/ra_ide_api/src/rename.rs 3creator: [email protected]
4 4expression: "&source_change"
5source: "crates\\ra_ide_api\\src\\rename.rs"
6---
5Some( 7Some(
6 SourceChange { 8 SourceChange {
7 label: "rename", 9 label: "rename",
diff --git a/crates/ra_ide_api/src/snapshots/tests__runnables.snap b/crates/ra_ide_api/src/snapshots/tests__runnables.snap
index ba6cba0ab..71bd7a4bd 100644
--- a/crates/ra_ide_api/src/snapshots/tests__runnables.snap
+++ b/crates/ra_ide_api/src/snapshots/tests__runnables.snap
@@ -1,7 +1,9 @@
1Created: 2019-01-15T11:15:20.732460119+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.975229300+00:00"
3Source: crates/ra_ide_api/src/runnables.rs 3creator: [email protected]
4 4expression: "&runnables"
5source: "crates\\ra_ide_api\\src\\runnables.rs"
6---
5[ 7[
6 Runnable { 8 Runnable {
7 range: [1; 21), 9 range: [1; 21),
diff --git a/crates/ra_ide_api/src/snapshots/tests__runnables_module.snap b/crates/ra_ide_api/src/snapshots/tests__runnables_module.snap
index b3f2d4d6e..a28dd8952 100644
--- a/crates/ra_ide_api/src/snapshots/tests__runnables_module.snap
+++ b/crates/ra_ide_api/src/snapshots/tests__runnables_module.snap
@@ -1,7 +1,9 @@
1Created: 2019-01-15T11:15:20.732460109+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.976230700+00:00"
3Source: crates/ra_ide_api/src/runnables.rs 3creator: [email protected]
4 4expression: "&runnables"
5source: "crates\\ra_ide_api\\src\\runnables.rs"
6---
5[ 7[
6 Runnable { 8 Runnable {
7 range: [1; 59), 9 range: [1; 59),
diff --git a/crates/ra_ide_api/src/snapshots/tests__runnables_multiple_depth_module.snap b/crates/ra_ide_api/src/snapshots/tests__runnables_multiple_depth_module.snap
index 6eba482e7..79f07bef9 100644
--- a/crates/ra_ide_api/src/snapshots/tests__runnables_multiple_depth_module.snap
+++ b/crates/ra_ide_api/src/snapshots/tests__runnables_multiple_depth_module.snap
@@ -1,7 +1,9 @@
1Created: 2019-01-15T11:15:20.732522773+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.979218100+00:00"
3Source: crates/ra_ide_api/src/runnables.rs 3creator: [email protected]
4 4expression: "&runnables"
5source: "crates\\ra_ide_api\\src\\runnables.rs"
6---
5[ 7[
6 Runnable { 8 Runnable {
7 range: [41; 115), 9 range: [41; 115),
diff --git a/crates/ra_ide_api/src/snapshots/tests__runnables_one_depth_layer_module.snap b/crates/ra_ide_api/src/snapshots/tests__runnables_one_depth_layer_module.snap
index f40c762f3..d199e9073 100644
--- a/crates/ra_ide_api/src/snapshots/tests__runnables_one_depth_layer_module.snap
+++ b/crates/ra_ide_api/src/snapshots/tests__runnables_one_depth_layer_module.snap
@@ -1,7 +1,9 @@
1Created: 2019-01-15T11:15:20.732480089+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:01.016119500+00:00"
3Source: crates/ra_ide_api/src/runnables.rs 3creator: [email protected]
4 4expression: "&runnables"
5source: "crates\\ra_ide_api\\src\\runnables.rs"
6---
5[ 7[
6 Runnable { 8 Runnable {
7 range: [23; 85), 9 range: [23; 85),