Very good idea imho. Should be possible without having to paste as well.
Perhaps an entry in the pop-up menu that only shows up when the cursor is
within " "'s.

Prolly possible to do this as a plugin...

Regards,

Patrick

"Igor Karpov" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> When a string is pasted from the buffer into a string literal, it would be
nice
> if idea automatically escapes all control characters (and highlights
them...)
>
> clipboard: C:\home\user\file-name.txt
> paste into: System.out.prinlnt("");
>                                 ^ here.
>
> current effect: System.out.prinlnt("C:\home\user\file-name.txt");
>                                        ^    ^    ^syntax errors...
> intended effect: System.out.prinlnt("C:\\home\\user\\file-name.txt");
>


_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-features

Reply via email to