PTVS
PTVS copied to clipboard
Expanding selection doesn't work correctly in Visual Studio
Describe the bug [A clear and concise description of the bug]
Steps to Reproduce
- Clone https://github.com/microsoft/pylance-release/tree/main/testing/single
- Open selectionRange
- Execute expand selection on the range
Expected behavior
It expands to the for
loop after expanding the entire line:
Actual behavior It expands to the entire file: