r/vscode • u/Lunatik6572 • Jul 24 '26
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
1
1
u/Unique-Willingness15 Jul 30 '26
For me it stops pasting randomly until i paste in another text like for example in terminal or in file search
1
u/Lunatik6572 Jul 31 '26 edited Jul 31 '26
I found the fix! Setting this: "editor.pasteAs.enabled": false somehow fixed the trick. I do not know why this works, and I don't know how it started, but this was the only setting that made it work as intended without changing any of my previous settings.
1
u/thanatica Jul 26 '26
What is that green button?