I started using intellij, and coming from eclipse, some things are just wrong, or missing.
One thing that was driving me crazy was that when pasting strings that contain escaped literals, intellij would escape the escapes in the paste.
This string:
"something \" \t cool"
would become:
"something \\" \\t cool"
this was bad, especially for pasting around html tags with attributes.
some googling shows a long and old thread of people bitching about the same on the intellij forums:
http://intellij.net/forums/thread.jspa?threadID=43296
Dont bother reading that thread though, there is no solution in it.
The solution is this:
http://plugins.intellij.net/plugin/?id=1464
This plugin unescapes your characters when you copy, so when you paste, intellij ends up escaping the characters and nothing breaks.
No need a new plugin. Type:
ReplyDeleteCtrl+Alt+Maj+V (Edit|Paste Simple)
Note you can change shortcuts!
@Hugues: Brilliant! Thank you.
ReplyDelete