Bug 66418 Code formatter not obeying prefs
build i0609-1200 I have my code formatter settings set to put 0 lines before field declarations. I set this up a while ago (months). Template is available from the Core team web page. - When I upgraded to today's build and formatted code, it put spaces between field declarations. - I checked the prefs and it was still set to 0 spaces. - I changed it to be 1 space, hit OK then Apply then back to 0 spaces, and OK and Apply. -> formatting from this point worked ok Note that there were other things that didn't take effect until after the 2nd Apply including: - spaces in array element initializers - tabbing for switch/case statements
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/PreferenceConstants.java
public static final String UPDATE_ON_SAVE= "JavaUI.update.onSave"; 
	/**
	 * A string value used by the named preference <code>UPDATE_JAVA_VIEWS</code>
	 * 
	 * @see #UPDATE_JAVA_VIEWS
	 * @deprecated Since 3.0, views now always update while editing
	 */
	public static final String UPDATE_WHILE_EDITING= "JavaUI.update.whileEditing"; 
	/**
	 * A named preference that holds the path of the Javadoc command used by the Javadoc creation wizard.
	 * <p>
	 * Value is of type <code>String</code>.
	 * </p>
	 */
	public static final String JAVADOC_COMMAND= "command"; 
	/**
	 * A named preference that defines whether hint to make hover sticky should be shown.
	 *
	 * @see JavaUI
	 * @since 3.0
	 */
	public static final String EDITOR_SHOW_TEXT_HOVER_AFFORDANCE= "PreferenceConstants.EDITOR_SHOW_TEXT_HOVER_AFFORDANCE"; 
	/**
	 * A named preference that defines the key for the hover modifiers.
	 *
	 * @see JavaUI
	 * @since 2.1
	 */
	public static final String EDITOR_TEXT_HOVER_MODIFIERS= "hoverModifiers"; 
	/**