-
Notifications
You must be signed in to change notification settings - Fork 28k
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
An option to copy only plain text to clipboard. #54155
Conversation
@rebornix maybe |
I can rename it, no problem. Just let me know. |
Ping @rebornix. |
FWIW, in #21820 I'm arguing that the current behavior is a bug. Copy should, by default, only copy text and copy with syntax highlighting should not be the default behavior (as there is already a separate command for this). If that argument is accepted (big "if" :) ), then this issue could be closed. |
@rsyring I know people who need the highlighted copy, I suppose this thing is still needed, perhaps the default value should be inverted. |
@mshoho thanks for your help, it looks great! |
@mshoho thanks for putting some time into resolving this issue! :)
Yes, I think we should keep the feature. I'm only saying that the default copy should not copy syntax highlighting. Let that be handled by the command that already exists. I'm not 100% sure what this PR is doing, so can't comment on the work-in-progress. |
An option to copy only plain text to clipboard, without the rich text version.