Sorry, I get it now. You really were asking for the source code formatter
settings for PDFBox. I don't think there is such a configuration file
anywhere. We do have a Checkstyle config file in the trunk's root:
https://svn.apache.org/repos/asf/pdfbox/trunk/

I guess we'd have to jointly develop such a configuration and it would
have to fit the Checkstyle configuration, too.

But...personally, I never use the "Format" function in Eclipse since it
can mess up source code that has been formatted by hand for extra
readability. Also, PDFBox's source code does not have a very uniform
code style if you go into details like spaces inside braces etc.
Applying the format command could increase the noise rate a lot when
doing commits.

I don't know what everybody thinks about the "Format" function and a
possible normative config file. The above is just my personal view.

On 22.08.2011 12:19:20 Thomas Chojecki wrote:
> 
> Zitat von Jeremias Maerki <[email protected]>:
> 
> > Hi Thomas,
> Hi Jeremias,
> 
> > what do you mean by "Formatter"? A viewer component for the Eclipse RCP?
> Eclipse has a buildin Code Formatter. There can be specified different  
> rules for the code styling and after pressing Ctrl + Shift + F eclipse  
> will format the given sourcecode.
> 
> > A formatter in Eclipse is usually a component that can reformat a
> > certain programming language, AFAIU, so that wouldn't apply to PDFBox.
> I don't know what you mean exactly with reformating a programming  
> language, but it may reformat the source code.
> 
> You can find this option under:
> Window -> Preferences -> Java -> Code Style -> Formatter
> 
> >
> > On 22.08.2011 10:13:49 Thomas Chojecki wrote:
> >> Hallo all,
> >> do someone know where I can get a pdfbox specific "Formatter" for  
> >> my eclipse?
> >>
> >> Best regards
> >> Thomas
> >
> >
> >
> >
> > Jeremias Maerki
> 
> 




Jeremias Maerki

Reply via email to