facebook

Empty Lines between variable definitions.

  1. MyEclipse Archived
  2.  > 
  3. Matisse/Swing UI Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #252308 Reply

    wihsy
    Member

    The autogenerated variable definitions have always an emptly line beetween two variable definitions, e. g. :

    
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton jButton1;
    
    private javax.swing.JButton jButton2;
    
    private javax.swing.JButton jButton3;
    // End of variables declaration//GEN-END:variables
    

    Can this behaviour be changed?

    Greetings,
    Michael

    #252359 Reply

    Riyad Kalla
    Member

    Michael,
    I believe you can just run your formatter on the code to compress them, but yes I’ll file an issue to get rid of the extra lines, that can be annoying.

    #252418 Reply

    Riyad Kalla
    Member

    BTW, just got this back from developer:

    Empty lines are added because your Java code formatter is configured to add them.
    Set ‘Before field declarations’ to ‘0’, in ‘blank lines’ in the formatter
    preferences.

    #252466 Reply

    wihsy
    Member

    Thanks for the hint, works great.

    Greetings,
    Michael

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Empty Lines between variable definitions.

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