-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
Add setting to disable copy with syntax highlighting #21820
Comments
Duplicate of #21071. |
There are two actions in VSCode:
We can bind one of them to Ctrl+C. So that if |
It seems that this does not works on 1.18.0. I've set those variables in "keybindings.json": |
How to get it working to copy without format? |
1 similar comment
How to get it working to copy without format? |
Hello, please how do I set copy to not pick up formatting??? |
In case anyone else comes here - I still haven't found an answer to this outside work arounds, e.g., pasting the clipboard into a plain-text file and copying it again. I made an extension called "CopyPlainText" as a less annoying work around which adds a command palette for this. |
Thx @xan1000 - ur extension is working well for me |
Thx for creating extension for this @xan1000 , I will check it. |
@xan1000 wow thx a lot! It just works. |
I'd just like to point out that I really think this is a bug with respect to the default behavior of VS Code. Right now, we have two commands:
To me, that would imply that the plain "Copy" is copy without syntax highlighting. But that doesn't seem to be the case. |
Yes this is bug and needs attention! |
This shouldn't be hard to fix, so I hope it'll happen soon! |
I would help us all. We want to be happy users of Visual Studio code. How
should we help to make it solve?
st 29. 8. 2018 v 2:19 odesílatel linhtto <[email protected]> napsal:
… This shouldn't be hard to fix, so I hope it'll happen soon!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#21820 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGUV8B25SKbZQ4OhzGOeBYMEWZkwyIcNks5uVd4TgaJpZM4MRao3>
.
|
With this great PR #54155, we can now disable the copy with syntax highlighting behavior by setting Lastly thanks for all your patience, feedback and great contribution to this issue. Happy Coding! |
Thanks a lot guys for fixing this!! Rly appreciate this. |
Not working for me in 1.27.2 |
@danvoyce it will work with next Stable version 1.28. For now you need to use Insiders version. |
There doesn't seem to be a way to turn off the default behavior of copy/pasting with syntax highlighting. Some users may have a workflow where they want to paste text into an external rich edit text box (like a web form) without the extra formatting but there doesn't seem to be a way to turn this off right now.
/cc @rebornix @RamblingCookieMonster
The text was updated successfully, but these errors were encountered: