aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/ide/src/runnables.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/crates/ide/src/runnables.rs b/crates/ide/src/runnables.rs
index d8cf66168..368bf9aa5 100644
--- a/crates/ide/src/runnables.rs
+++ b/crates/ide/src/runnables.rs
@@ -113,6 +113,19 @@ pub(crate) fn runnables(db: &RootDatabase, file_id: FileId) -> Vec<Runnable> {
113 res 113 res
114} 114}
115 115
116// Feature: Related Tests
117//
118// Provides a sneak peek of all tests where the current item is used.
119//
120// The simplest way to use this feature is via the context menu:
121// - Right-click on the selected item. The context menu opens.
122// - Select **Peek related tests**
123//
124// |===
125// | Editor | Action Name
126//
127// | VS Code | **Rust Analyzer: Peek related tests**
128// |===
116pub(crate) fn related_tests( 129pub(crate) fn related_tests(
117 db: &RootDatabase, 130 db: &RootDatabase,
118 position: FilePosition, 131 position: FilePosition,