-
Notifications
You must be signed in to change notification settings - Fork 34.4k
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugeditor-autoindentEditor auto indentation issuesEditor auto indentation issueseditor-clipboardEditor clipboard issuesEditor clipboard issuesinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code InsidersverifiedVerification succeededVerification succeeded
Milestone
Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.100.2 (newest)
- OS Version: Windows 10
Steps to Reproduce:
(I'm a Chinese, and my English may not be very standard.)
[This is similar to this issue]
Type the following code:
{
123
{
123
}
}
Cut lines from 3 to 4, like this:
{
123
{
}
}
Then, paste it on line 1, the you will get:
{
123
123
{
}
}
VSCode version 1.99 (maybe) didn't have this bug, because you will get this at that version:
{
123
123
{
}
}
And this is also the result when I use Alt+UpArrow
instead of Ctrl+X Ctrl+V
at version 1.100.2.
I set the setting Editor: Auto Indent
to full
(default), but the bug didn't disappear.
Is this a bug? Or it's my fault? If it's my fault, how to fix it?
swashbuck
Metadata
Metadata
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugeditor-autoindentEditor auto indentation issuesEditor auto indentation issueseditor-clipboardEditor clipboard issuesEditor clipboard issuesinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code InsidersverifiedVerification succeededVerification succeeded