Idea detail
selection_range
reqlan rq/extension/language/vsc-primitives.rq:74
block
done
Summary
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.
Navigation
Attributes
| Key | Value |
|---|---|
| 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 |
Ancestor context
No ancestor chain recorded.
Outbound references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| file_reference | "../../../crates/reqlan-lsp/src/analysis/selection.rs" | crates/reqlan-lsp/src/analysis/selection.rs | selection.rs |
| file_reference | "../../../crates/reqlan-lsp/src/session.rs" | crates/reqlan-lsp/src/session.rs | session.rs |
| file_reference | "../../../crates/reqlan-lsp/src/server.rs" | crates/reqlan-lsp/src/server.rs | server.rs |
| file_reference | "../../../crates/reqlan-lsp/tests/session.rs:selection_range_grows_from_the_reference_name_to_the_idea" | crates/reqlan-lsp/tests/session.rs | session.rs:selection_range_grows_from_the_reference_name_to_the_idea |
| file_reference | "../../../crates/reqlan-lsp/tests/session.rs:selection_range_grows_from_an_attribute_name" | crates/reqlan-lsp/tests/session.rs | session.rs:selection_range_grows_from_an_attribute_name |
| comment_link | selection_range | reqlan rq/extension/language/crates/reqlan-lsp/src/analysis/selection.rs | /// rq:selection_range |
| comment_link | selection_range | reqlan rq/extension/language/crates/reqlan-lsp/src/session/features.rs | /// rq:selection_range |
Inbound references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| references | language_server_rust | reqlan rq/extension/language/support/language-server-rust.rq | selection_range |
| references | lsp_migration_remainder | reqlan rq/extension/language/support/ts-lsp-vs-rust-gaps.rq | selection_range |
Unresolved references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Local graph
Initialising graph…