From 4c589aded0a7d63f5890f7c83d9f241082d07fd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Sat, 20 Feb 2021 17:06:00 +0200 Subject: Remove documentation of obsolete extend selection command --- crates/ide/src/extend_selection.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'crates') diff --git a/crates/ide/src/extend_selection.rs b/crates/ide/src/extend_selection.rs index 2d722dee0..b540d04fe 100644 --- a/crates/ide/src/extend_selection.rs +++ b/crates/ide/src/extend_selection.rs @@ -12,15 +12,17 @@ use syntax::{ use crate::FileRange; -// Feature: Extend Selection +// Feature: Expand and Shrink Selection // -// Extends the current selection to the encompassing syntactic construct +// Extends or shrinks the current selection to the encompassing syntactic construct // (expression, statement, item, module, etc). It works with multiple cursors. // +// This is a standard LSP feature and not a protocol extension. +// // |=== // | Editor | Shortcut // -// | VS Code | kbd:[Ctrl+Shift+→] +// | VS Code | kbd:[Alt+Shift+→], kbd:[Alt+Shift+←] // |=== pub(crate) fn extend_selection(db: &RootDatabase, frange: FileRange) -> TextRange { let sema = Semantics::new(db); -- cgit v1.2.3