>   1) Do not break line comments after an opening brace.

This is fixed in the build #512.



----- Original Message -----
From: "Thomas Singer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 31, 2001 12:05 PM
Subject: [Eap-list] Reformat code bug


> Hello,
>
> sometimes I need Netbeans for it's Internationalization tool (I requested
> for IDEA two times - with no response). It requires to mark Strings not to
> be internationalized, by adding an // NOI18N pattern in the same line.
>
> Assume following piece of code:
>
> if (line.startsWith("cvs server: Examine ")) { // NOI18N
>     System.out.println("Hello");
> }
>
> If I reformat the code with IDEA, the // NOI18N will be wrapped to the
next
> line:
>
> if (line.startsWith("cvs server: Examine ")) {
>     // NOI18N
>     System.out.println("Hello");
> }
>
> I see two solutions:
>
>   1) Do not break line comments after an opening brace.
>
> or even better:
>
>   2) Built an own internationalization tool (as Search and Replace, but on
> a pattern base).
>
> Best regards
> Thomas Singer
>
>
> _______________________________________________
> Eap-list mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-list


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to