bug-indent
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-indent] Problems with features


From: Rainer Brinkmann
Subject: [Bug-indent] Problems with features
Date: Fri, 19 Sep 2003 16:04:50 +0200

Hello,  
  
some features of your Indent program cause ugly code after indenting:  
  
- Variable declarations with {} are regarded als block commands and indented 
and split over a  
  couple of lines if they have more than one value. It's better to leave them 
as they are.  
- Labels with a command right after it, such as  
                                   mylabel:command;  
   are not indented to  
                                  mylabel:  
                                       command;  
- Comments which were correctly indented by the developer, such as  
                                   for ( ;; )  
                                        if ( true )  
                                        /* now do something */  
                                        foo ();  
 are justified to the left:  
                                   for ( ;; )  
                                        if (true)  
                                   /* now do something */  
                                             foo ();  
  
We found no option to prevent the Indent program from doing so and ask you to 
add the  
desired features into the next release of Indent.  
  
Please be so kind to inform us if you intend to do so.  
  
Sincerely,  
  
Rainer Brinkmann  
@ bocad, Bochum, Germany  
  
______________________________________________________________________________
Die Besten ihrer Klasse! WEB.DE FreeMail (1,7) und WEB.DE Club (1,9) -
bei der Stiftung Warentest - ein Doppelsieg! http://f.web.de/?mc=021184





reply via email to

[Prev in Thread] Current Thread [Next in Thread]