PTVS icon indicating copy to clipboard operation
PTVS copied to clipboard

Expanding selection doesn't work correctly in Visual Studio

Open rchiodo opened this issue 5 months ago • 0 comments

Describe the bug [A clear and concise description of the bug]

Steps to Reproduce

  1. Clone https://github.com/microsoft/pylance-release/tree/main/testing/single
  2. Open selectionRange
  3. Execute expand selection on the range

Expected behavior It expands to the for loop after expanding the entire line:

Image

Actual behavior It expands to the entire file:

Image

rchiodo avatar Sep 26 '24 23:09 rchiodo