Bug 66891 [preferences] Make "Fill Argument names..." the default
When you use the Microsoft Office Visual Basic Script editor (I do from time to time) one of the most practical things about it is the tooltip that appears underneath a method when you are adding the parameter values to it, in the following way: myMethodInvocation( ); -------------------------------------------------- | myMethodInvocation(username (String), age(int))| -------------------------------------------------- This is a super-practical feature. You don't have to do <ctrl>+<space> for evey parameter. You select the signature once and as of then the tooltip with the parameternames and types appears underneath the line you're editing.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/PreferenceConstants.java
* @see #NEWPROJECT_JRELIBRARY_INDEX
	 */
	public static IClasspathEntry[] getDefaultJRELibrary() {
		return NewJavaProjectPreferencePage.getDefaultJRELibrary();
	}
	/**
	 * Returns the value for the given key in the given context.
	 * @param key The preference key
	 * @param project The current context or <code>null</code> if no context is available and the
	 * workspace setting should be taken. Note that passing <code>null</code> should
	 * be avoided.
	 * @return Returns the current value for the string.
	 * @since 3.1
	 */
	public static String getPreference(String key, IJavaProject project) {
		String val;
		if (project != null) {
			val= new ProjectScope(project.getProject()).getNode(JavaUI.ID_PLUGIN).get(key, null);
			if (val != null) {
				return val;
			}
		}
		val= new InstanceScope().getNode(JavaUI.ID_PLUGIN).get(key, null);
		if (val != null) {
			return val;
		}
		return new DefaultScope().getNode(JavaUI.ID_PLUGIN).get(key, null);
	}
}