facebook

Foramatter tags directive to Eclipse not being honoured.

💡
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. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #340909 Reply

    Tony Herstell
    Participant

    Hi Team,

    Is this a MyEclipse problem?

    // @formatter:off
    // @formatter:off
       NONE("alert_none"), 
    
       SOON("alert_soon"),
    
       CRITICAL("alert_critical"), 
    
       OVERDUE("alert_overdue"),
    
       URGENT("alert_urgent"),
    
       VERY_OVERDUE("alert_very_overdue");
    // @formatter:on
    

    Setting is set on in Java->Code Style-> Formatter …. [EDIT] and then [ Off/On Tags] -> Enable Off/On tags

    Note; I have format on save and it keeps altering the order if I make a change anywhere in the file.

    Cheers.

    #340959

    support-swapna
    Moderator

    Tony,

    Sorry that you are seeing this issue.I could not replicate the issue at my end.
    Go to Java->Editor->Save Actions page. Select Additional Actions and Configure.Do you have the Sort Members set and “Sort all members”, within that ? If yes then please select “Ignore fields and enum constants” instead and check if it fixes the issue.

    If you think its a bug, then please raise a bug against the Eclipse JDT.

    Let us know how it works for you.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Foramatter tags directive to Eclipse not being honoured.

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