+1 for an i18n tool !

Regards,
Armond



                                                                                       
                                
                    Thomas Singer                                                      
                                
                    <thomas.singer@re        To:     [EMAIL PROTECTED]             
                                
                    gnis.de>                 cc:                                       
                                
                    Sent by:                 Subject:     [Eap-list] Reformat code bug 
                                
                    eap-list-admin@in                                                  
                                
                    tellij.com                                                         
                                
                                                                                       
                                
                                                                                       
                                
                    10/31/2001 12:35                                                   
                                
                    PM                                                                 
                                
                    Please respond to                                                  
                                
                    eap-list                                                           
                                
                                                                                       
                                
                                                                                       
                                




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