Disable rich-text copying?
Answered
Is it possible to simply disable rich text copying in IDEA 14? I sometimes copy from IDEA and paste into Evernote, and as if IDEA 14, the pasted text often ends up huge and green. It takes extra steps to get rid of that unwelcome formatting, or you can use paste plain, which can lead to other problems.
I know you can create a color scheme just for this, but I'd rather not go through all that, and keep it updated, if there's a simpler way, which there really should be.
Thanks for any thoughts.
Please sign in to leave a comment.
No other thoughts? This new feature gets in my way pretty much every day, when I paste text into a rich-text email and it's huge, and in a different font and color.
The ability to setup special settings for this is great, if you need it, but a simple checkbox or dropdown selection for plain text would really make a lot of sense.
Invoke Help->Action, type "Registry" and disable "editor.richcopy.enable"
Thank you, great answer! I'm always amazed at everyting IDEA has in it, very mature product with a ton of features and control, love it.
This isn't as good a solution as if one of the options in the Rich-text copy dropdown was 'Disable', and I see you've already filed an issue for that, great.
I've never heard of this Registry dialog, and can't find any references to it in the help. I also don't quite understand it.
Anyway, thank you again for this specific solution, it's just what I needed.
About registry dialog: Short answer - don't touch it unless instructed by an authorized person.
Long answer: Here you can configure some [hidden/experimental/not ready for production/known problem workaround] options throughout IntelliJ's features.
Check mark in the leftmost column indicates setting which requires a restart to take effect.
Oh, and really, do not change anything unless you know what it does.
Thanks for the info, appreciate it.
I already changed a few things whose meanings seemed clear:
Should I put those back? If so, please tell me about the two different Revert buttons.
Thanks again.
tabs.alphabetical: affects editor tabs ordering
localHistory.daysToKeep: determines number of days for which local history will keep backups (depends on your usage if and how long you need it)
keymap.show.alias.actions: shows alias actions (?) in Keymap configuration editor
"Restore Defaults" will reset _all_ configuration keys, whereas the "-" button on top of table will only revert currently selected entry.
Thanks, that's all about what I figured, and it seems you're not any clearer than me on what"alias actions" are.
You also didn't tell me to revert any of those immediately, so I won't :)
Thanks again for all your help, very much appreciated. I think I like tabs in alpha order maybe, and disabling rich text copying is a huge hassle-saver.
Excuse me for necroposting, but the solution by Yann Cebron is no longer valid. In IDEA 2017.2.3 there is no registry key "editor.richcopy.enable" anymore :(
Is there any other solution besides obvious workarounds like pasting in notepad and copying again?
It looks like there is a setting to enable or disable rich text copying behavior. See this help article.
Now, v2018.2, it's available from the setting menu. Editor->General->Rich-text_copy
I think that a better solution it's define a shotcut for copy plain text. You can define it on Settings -> Keymap -> "Copy as Plain Text"
Is very handy the shortcut "Ctrl + Shift + C" because several text editors use the same one for that function
I think it was added to Settings window: IntelliJ → Settings → search for “rich text” and disable it in Editor → General → Rich-Text Copy
It's not available in the registry anymore