Unnamed repository; edit this file 'description' to name the repository.
Auto merge of #14763 - lnicola:dep-tree-fixes, r=lnicola
Fix manual formatting and remove duplicate command
bors 2023-05-09
parent d3ce333 · parent 053741c · commit aaed89a
-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 d326b7c2cc..46ee671def 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 6d2d0bd635..fb55a60ec4 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 fdcd707a07..c7b540625d 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": [