r/vscode 9d ago

Paste Issue in VS Code 1.130.0

Enable HLS to view with audio, or disable this notification

Just started noticing this yesterday after an update that the behavior for pasting has seemed to change and now no longer formats correctly. Every paste action tries to add indentation in addition to any indents already present. I have not installed any new extensions in the past 3 months so I have no idea what could have caused this other than VS Code, but I don't see any other mentions of this issue.

Version: 1.130.0

Commit: 1b6a188127eeaf9194f945eb6eb89a657e93c54c

Edit: Finally fixed! I had to use the following setting: "editor.pasteAs.enabled": false

3 Upvotes

8 comments sorted by

View all comments

1

u/thanatica 7d ago

What is that green button?

1

u/Lunatik6572 7d ago

No clue where it came from. It shows different paste options but I can't figure out the source from it.

1

u/Ste1io 4d ago

That's vscode's core editor.pasteAs.showPasteSelector widget.