dotnet / dotnet/roslyn

Block Insert (Alt-LeftMouse) does not work properly

Open
#77,917 1 comment 0 reactions 0 assignees View on GitHub
Area-IDE
Dominant language
C#
Stars
20.7k
Forks
4.3k
PR merge metrics
PR metrics pending

Description

_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/t/Block-Insert-Alt-LeftMouse-does-not-wo/10882328)._

---
\[severity:It’s more difficult to complete my work\]
Whenever you try to insert a block before a number of code line, i.e, press Alt and then use the mouse to mark multiple lines and then insert a clipboard value, the first line cursor gets out of syn and subsequent edits replace part of the pasted value. See video.
[BlockInsert2.mp4](https://aka.ms/dc/file?name=B05a4a4d43e4442f5b8ca5f419507715a638790088767460563_BlockInsert2.mp4&tid=05a4a4d43e4442f5b8ca5f419507715a638790088767460563)

---
### Original Comments

#### Feedback Bot on 3/31/2025, 04:18 AM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

Contributor guide

Open the contributing guide

Research direction

The payload names no source file, test, or entry point. Start by reproducing the Alt+LeftMouse block-insert sequence from the issue and compare the first-line cursor with later edits; done means pasted block insertion leaves the cursor synchronized and subsequent edits affect the intended text.

Written by the indexing model from the issue text.

Assessment

Domain
developer-experience
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.