Printable idea sheet
selection_range
reqlan rq/extension/language/vsc-primitives.rq:74
Katz 0.126
Expand Selection follows the parse.
The caret inside a reference name grows through that name, the bracket reference, the body line, and the enclosing idea.
The caret on an attribute name grows through `@` plus the name, the attribute, and the enclosing idea.
The whole buffer is the outermost range.
The activity bar selection is the editor selection.
A definition link ' s origin range is the token under the caret.
- implementation
- selection.rs, session.rs, server.rs
- status
- done
- tests
- session.rs:selection_range_grows_from_the_reference_name_to_the_idea, session.rs:selection_range_grows_from_an_attribute_name
Interactive page: selection_range