Skip to content

Commit dd92e4a

Browse files
committed
add to manual
1 parent 2351875 commit dd92e4a

File tree

2 files changed

+15
-5
lines changed

2 files changed

+15
-5
lines changed

crates/ide/src/doc_links.rs

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,18 @@ pub(crate) fn remove_links(markdown: &str) -> String {
107107
out
108108
}
109109

110-
/// Retrieve a link to documentation for the given symbol.
110+
// Feature: Open Docs
111+
//
112+
// Retrieve a link to documentation for the given symbol.
113+
//
114+
// The simplest way to use this feature is via the context menu. Right-click on
115+
// the selected item. The context menu opens. Select **Open Docs**.
116+
//
117+
// |===
118+
// | Editor | Action Name
119+
//
120+
// | VS Code | **rust-analyzer: Open Docs**
121+
// |===
111122
pub(crate) fn external_docs(
112123
db: &RootDatabase,
113124
position: &FilePosition,

crates/ide/src/runnables.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -195,14 +195,13 @@ pub(crate) fn runnables(db: &RootDatabase, file_id: FileId) -> Vec<Runnable> {
195195
//
196196
// Provides a sneak peek of all tests where the current item is used.
197197
//
198-
// The simplest way to use this feature is via the context menu:
199-
// - Right-click on the selected item. The context menu opens.
200-
// - Select **Peek related tests**
198+
// The simplest way to use this feature is via the context menu. Right-click on
199+
// the selected item. The context menu opens. Select **Peek Related Tests**.
201200
//
202201
// |===
203202
// | Editor | Action Name
204203
//
205-
// | VS Code | **rust-analyzer: Peek related tests**
204+
// | VS Code | **rust-analyzer: Peek Related Tests**
206205
// |===
207206
pub(crate) fn related_tests(
208207
db: &RootDatabase,

0 commit comments

Comments
 (0)