facebook

Code formatting, Break-up lines [Closed]

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #220117 Reply

    Roel De Nijs
    Member

    My code looks like this:

    
    feat =
        kaart.getFeatureFactory().createPoint(
            puntCopyrightCoord,
            renditie,
            null,
            attributenCopyright,
            pkCopyright);
    

    Is there a way to automatically put everything on 1 line, so you get something like

    
    feat = kaart.getFeatureFactory().createPoint(puntCopyrightCoord, renditie, null, attributenCopyright, pkCopyright);
    

    Thanks!

    #220121

    Riyad Kalla
    Member

    Is this Java code in a Java file? If so then you need to adjust the maximum line width in the Java Code formatter in Eclipse, set it to something like 255 or 512 if you never want lines to wrap.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Code formatting, Break-up lines [Closed]

You must be logged in to post in the forum log in