This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Hi, Before Source -> Format (Alt+Shift+F) we have : - public static final int FORM_ID_LOADING = 0, FORM_ID_LANGUAGE = 1, FORM_ID_SOUND = 2, // main menu FORM_ID_MAIN = 3, FORM_ID_SETTINGS = 4, FORM_ID_RESET_CONFIRM = 5, FORM_ID_HELP = 6, FORM_ID_ABOUT = 7, FORM_ID_EXIT = 8, FORM_ID_CHOOSE_LEVEL = 9, FORM_ID_CHOOSE_LEVEL_DETAIL = 10, FORM_ID_OUTRO = 11, FORM_ID_OVERWRITE = 12, FORM_ID_HELP_GENERAL = 13, FORM_ID_HELP_WEAPONS = 14, FORM_ID_HELP_COVER = 15, FORM_ID_QUICK_GUIDE = 16, FORM_ID_MORE_GAMES = 17, FORM_ID_HIGHS = 18, FORM_ID_HIGHS_DETAIL = 19, // in-game FORM_ID_DIALOG = 20, FORM_ID_PAUSE = 21, FORM_ID_EXIT_PAUSE = 22, FORM_ID_GAME_OVER = 23, FORM_ID_WIN_LEVEL = 24, FORM_ID_WIN_GAME = 25, // demo forms FORM_ID_DEMO_DESCRIPTION = 26, FORM_ID_DEMO_OVER = 27, FORM_ID_COUNT = 28; normal variables with normal dividing lines, but after autoformat with Source -> Format we get all variables at one line. Very inconvenient.
the same problem like Issue 144926 with long string concatenation: this will become after autoformat one line: String test = " this is a long string showing the described problem " + " and this should be in the next line"; Problem: after autoformat this is in one line String test = " this is a long string showing the described problem " + " and this should be in the next line";