Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected Final Selection After Running Delete Duplicate Lines #234796

Open
josephxiao8 opened this issue Nov 27, 2024 · 0 comments · May be fixed by #234799
Open

Unexpected Final Selection After Running Delete Duplicate Lines #234796

josephxiao8 opened this issue Nov 27, 2024 · 0 comments · May be fixed by #234799
Assignees

Comments

@josephxiao8
Copy link

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.95.3
  • OS Version: Microsoft Windows 10 Home 10.0.19045 Build 19045

Problem

Running the Delete Duplicate Lines command palette utility does not give the expected final selection based on the the initial selection. The actual final selection ending is 1 column to the left of the expected final selection.

Examples

Initial Selection Actual Final Selection ❌ Expected Final Selection ✔
Image Image Image
Image Image Image
Image Image Image

Steps to Reproduce:

  1. Copy any of the examples above into vscode
  2. Highlight the initial selection
  3. open the command palette and enter Delete Duplicate Lines
  4. Observe the final selection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants