Skip to content

Commit 4c589ad

Browse files
committed
Remove documentation of obsolete extend selection command
1 parent 1349f6a commit 4c589ad

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

crates/ide/src/extend_selection.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,17 @@ use syntax::{
1212

1313
use crate::FileRange;
1414

15-
// Feature: Extend Selection
15+
// Feature: Expand and Shrink Selection
1616
//
17-
// Extends the current selection to the encompassing syntactic construct
17+
// Extends or shrinks the current selection to the encompassing syntactic construct
1818
// (expression, statement, item, module, etc). It works with multiple cursors.
1919
//
20+
// This is a standard LSP feature and not a protocol extension.
21+
//
2022
// |===
2123
// | Editor | Shortcut
2224
//
23-
// | VS Code | kbd:[Ctrl+Shift+→]
25+
// | VS Code | kbd:[Alt+Shift+→], kbd:[Alt+Shift+←]
2426
// |===
2527
pub(crate) fn extend_selection(db: &RootDatabase, frange: FileRange) -> TextRange {
2628
let sema = Semantics::new(db);

0 commit comments

Comments
 (0)