about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-05-08 18:28:58 +0000
committerbors <bors@rust-lang.org>2023-05-08 18:28:58 +0000
commitaaed89ac0450fe9ea4714ac45d86a428b81cae95 (patch)
tree6a91b6cc18140f25019f66fcb2af87576eeb5142
parentd3ce333ec858e33e7c881386784d7871c58db2d8 (diff)
parent053741c28c2385f79a2bfedd0da24ee19aac848a (diff)
downloadrust-aaed89ac0450fe9ea4714ac45d86a428b81cae95.tar.gz
rust-aaed89ac0450fe9ea4714ac45d86a428b81cae95.zip
Auto merge of #14763 - lnicola:dep-tree-fixes, r=lnicola
Fix manual formatting and remove duplicate command
-rw-r--r--crates/ide/src/fetch_crates.rs5
-rw-r--r--crates/ide/src/goto_type_definition.rs2
-rw-r--r--editors/code/package.json4
3 files changed, 6 insertions, 5 deletions
diff --git a/crates/ide/src/fetch_crates.rs b/crates/ide/src/fetch_crates.rs
index d326b7c2ccc..46ee671defb 100644
--- a/crates/ide/src/fetch_crates.rs
+++ b/crates/ide/src/fetch_crates.rs
@@ -15,6 +15,11 @@ pub struct CrateInfo {
 // Shows a view tree with all the dependencies of this project
 //
 // |===
+// | Editor  | Panel Name
+//
+// | VS Code | **Rust Dependencies**
+// |===
+//
 // image::https://user-images.githubusercontent.com/5748995/229394139-2625beab-f4c9-484b-84ed-ad5dee0b1e1a.png[]
 pub(crate) fn fetch_crates(db: &RootDatabase) -> FxIndexSet<CrateInfo> {
     let crate_graph = db.crate_graph();
diff --git a/crates/ide/src/goto_type_definition.rs b/crates/ide/src/goto_type_definition.rs
index 6d2d0bd6351..fb55a60ec43 100644
--- a/crates/ide/src/goto_type_definition.rs
+++ b/crates/ide/src/goto_type_definition.rs
@@ -10,7 +10,7 @@ use crate::{FilePosition, NavigationTarget, RangeInfo, TryToNav};
 // |===
 // | Editor  | Action Name
 //
-// | VS Code | **Go to Type Definition*
+// | VS Code | **Go to Type Definition**
 // |===
 //
 // image::https://user-images.githubusercontent.com/48062697/113020657-b560f500-917a-11eb-9007-0f809733a338.gif[]
diff --git a/editors/code/package.json b/editors/code/package.json
index fdcd707a07c..c7b540625d9 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -288,10 +288,6 @@
             {
                 "command": "rust-analyzer.revealDependency",
                 "title": "Reveal File"
-            },
-            {
-                "command": "rust-analyzer.revealDependency",
-                "title": "Reveal File"
             }
         ],
         "keybindings": [