aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/references
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-05-21 14:10:00 +0100
committerGitHub <[email protected]>2020-05-21 14:10:00 +0100
commit3cba0dc26b707bebc1865671fd2c5139c1e1c537 (patch)
tree6d77f69e3299d4245ebae8987fc030348ae2ebb9 /crates/ra_ide/src/references
parent0c2b548b0b5712dcc2f9a4eead57e028b5461ba7 (diff)
parentff28c79ebd4c5a9a27542917940def9d4e66eea6 (diff)
Merge #4552
4552: Transition OnEnter to WorkspaceSnippetEdit r=matklad a=matklad This also changes our handiling of snippet edits on the client side. `editor.insertSnippet` unfortunately forces indentation, which we really don't want to have to deal with. So, let's just implement our manual hacky way of dealing with a simple subset of snippets we actually use in rust-analyzer bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_ide/src/references')
-rw-r--r--crates/ra_ide/src/references/rename.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/crates/ra_ide/src/references/rename.rs b/crates/ra_ide/src/references/rename.rs
index 62ec8d85d..55c3319cb 100644
--- a/crates/ra_ide/src/references/rename.rs
+++ b/crates/ra_ide/src/references/rename.rs
@@ -669,7 +669,6 @@ mod tests {
669 dst_path: "bar/foo2.rs", 669 dst_path: "bar/foo2.rs",
670 }, 670 },
671 ], 671 ],
672 cursor_position: None,
673 is_snippet: false, 672 is_snippet: false,
674 }, 673 },
675 }, 674 },
@@ -722,7 +721,6 @@ mod tests {
722 dst_path: "foo2/mod.rs", 721 dst_path: "foo2/mod.rs",
723 }, 722 },
724 ], 723 ],
725 cursor_position: None,
726 is_snippet: false, 724 is_snippet: false,
727 }, 725 },
728 }, 726 },
@@ -819,7 +817,6 @@ mod tests {
819 dst_path: "bar/foo2.rs", 817 dst_path: "bar/foo2.rs",
820 }, 818 },
821 ], 819 ],
822 cursor_position: None,
823 is_snippet: false, 820 is_snippet: false,
824 }, 821 },
825 }, 822 },