Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-core-dev] Java coding conventions

In order to be properly integrated with Eclipse, a code formatter has to be
able to map positions in the source before formatting with the
corresponding positions after formatting. This property is used to preserve
the markers.

So it might be more work than you think :-).



                                                                                                                                               
                      bob.news@xxxxxxx                                                                                                         
                      Sent by:                    To:      jdt-core-dev@xxxxxxxxxxx                                                            
                      jdt-core-dev-admin@         cc:                                                                                          
                      eclipse.org                 Subject: Re: [jdt-core-dev] Java coding conventions                                          
                                                                                                                                               
                                                                                                                                               
                      10/18/02 04:25 AM                                                                                                        
                      Please respond to                                                                                                        
                      jdt-core-dev                                                                                                             
                                                                                                                                               
                                                                                                                                               




hi there!

> Feel free to propose another solution or integration of existing
> formatters
> using the code formatter extension point.

personally i like to use the pretty printer that comes with jrefactory,
although it does seem to have problems with unicodes, too.  you can get it
here:
http://jrefactory.sourceforge.net/

pros:
 - quite flexible configurable
 - is configured through properties, so i guess this could be easily
integrated
 - there are already integrations into jbuilder, elixier and netbeans - so
this might make the job easier

cons:
 - internal architecture (seems to be intermixed with refactorings)
 - no unicodes in identifiers

regards

       robert

--
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!

_______________________________________________
jdt-core-dev mailing list
jdt-core-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/jdt-core-dev






Back to the top