[Visual Studio] 2022 editor selection expansion works incorrectly
- Dominant language
- F#
- Stars
- 4.3k
- Forks
- 876
- Avg merge
- 4d 11h
- Merged PRs (30d)
- 131
Description
Please provide a succinct description of the issue.
There are commands:
* Expand selection (Shift + Alt + =)
* Contract selection (Shift + Alt + -)
The expansion and correspondingly contraction works incorrectly,
1. Open any F# file and place a cursor in a constant definition or let binding value
2. Press `Shift + Alt + =` until you select the whole statement
3. Press `Shift + Alt + =` again
4. See that instead of an outer block the whole line is selected.
5. If you press `Shift + Alt + =` again the whole file will be selected instead of a current module/type
**Expected behavior**
Expansion and contraction happens according to code block nesting
**Actual behavior**
Expansion only works on a single line level
**Related information**
* Visual Studio 2022 17.1
Contributor guide
Assessment
This issue has not been assessed yet.