-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Priority: LowenhancementNew feature or requestNew feature or requestlspLanguage Server Protocol relatedLanguage Server Protocol relatedv1.4.0Release 1.4.0Release 1.4.0v1.5.0Release 1.5.0Release 1.5.0
Milestone
Description
Summary
Implement textDocument/selectionRange so Shift+Alt+Right progressively expands selection to enclosing AST nodes.
Scope
- Expression → statement → block body → PROGRAM/FUNCTION_BLOCK/FUNCTION body → full declaration
- Works in PROGRAM, FUNCTION_BLOCK, FUNCTION sections
- Registered in LSP server capabilities
Implementation Notes
- New
SelectionRangeProviderinsrc/server/providers/ - Walks AST from cursor position outward
- Returns nested
SelectionRangechain
Acceptance
- Expand selection grows through expression, statement, block, and full declaration correctly
- Shrink selection reverses
- Tests cover nested expressions and block boundaries
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Priority: LowenhancementNew feature or requestNew feature or requestlspLanguage Server Protocol relatedLanguage Server Protocol relatedv1.4.0Release 1.4.0Release 1.4.0v1.5.0Release 1.5.0Release 1.5.0