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
/**
	 * A named preference that controls a reduced search menu is used in the java editors.
	 * <p>
	 * Value is of type <code>Boolean</code>.
	 * </p>
	 */
	public static final String SEARCH_USE_REDUCED_MENU= "Search.usereducemenu"; 
	/**
	 * A named preference that controls if the Java Browsing views are linked to the active editor.
	 * <p>
	 * Value is of type <code>Boolean</code>.
	 * </p>
	 * 
	 * @see #LINK_PACKAGES_TO_EDITOR
	 */
	public static final String BROWSING_LINK_VIEW_TO_EDITOR= "org.eclipse.jdt.ui.browsing.linktoeditor"; 
	/**
	 * A named preference that controls the layout of the Java Browsing views vertically. Boolean value.
	 * <p>
	 * Value is of type <code>Boolean</code>. If <code>true<code> the views are stacked vertical.
	 * If <code>false</code> they are stacked horizontal.
	 * </p>
	 */
	public static final String BROWSING_STACK_VERTICALLY= "org.eclipse.jdt.ui.browsing.stackVertically"; 
	
	
	/**
	 * A named preference that controls if templates are formatted when applied.
	 * <p>
	 * Value is of type <code>Boolean</code>.