facebook

Code line breaks into two lines

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

    eugenejsn
    Participant

    ME2014PRO SUSE LINUX 12

    Before, my code was in one straight line:
    String parm = “parmId=” + parmObject.getId();

    But now, all of a sudden, it is split into two lines:
    String parm = “parmId=” +
    parmObject.getId();

    This happened for many lines in the .java file.
    Please Help!

    Thanks,

    Eugene

    #469740 Reply

    support-swapna
    Moderator

    Eugene,

    Sorry that you are seeing this issue.

    1. Do you have a customized code formatter which when run might have caused this issue? Do you remember doing any other actions right before the code formatting issue?
    2. Can you please clarify if you have formatted the code before?
    3. Can you please check if you have enabled the formatter on save action ? Go to Window > Preferences > MyEclipse > Files and Editors > JavaScript > Editor > Save Actions and check if the ‘Format soucce code’ is enabled. If enabled, the files are formatted everytime you save.
    4. Please also recheck if you have accidentally changed the Max Line Length. Go to Window > Preferences > Java > Code Style > Formatter > Edit. Switch to the Line Wrapping tab and check the Maximum line width value.

    –Swapna
    MyEclipse Support

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Code line breaks into two lines

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