Community
Participate
Working Groups
I have comments at the end of assignment statements like the following: public static String fullName; // Needs to be defined in child. public static String[][] keywordTypes; // Needs to be defined in child. public static String[][] menuItems; // Needs to be defined in child. public static String[][] comboItems; // Needs to be defined in child. public static long[] menuMask; // Needs to be defined in child. and when I reformat with the latest Integration build I get the following: public static String fullName; // Needs to be // defined in // child. public static String[][] keywordTypes; // Needs to be // defined in // child. public static String[][] menuItems; // Needs to be // defined in // child. public static String[][] comboItems; // Needs to be // defined in // child. public static long[] menuMask; // Needs to be // defined in // child. I don't know how to control this or stop it from happening.
Created attachment 8276 [details] Formatter prefs
Go to Preferences>Java>Code Formatter>Create a new profile based on the predefined one that you are using. Go to the Comment tab and uncheck format comments.
Could you please confirm that setting the right option fixed your problem? Close as WORKSFORME. Reopen if this is still an issue.