Bug 66170 Different implementation of method override - ctrl+space vs Override/Implement method dialog [code manipulation]
I'm in a class that extends Wizard. Seems strange (wrong) to me that when I type "createp" and ctrl+space in the editor I get: public void createPageControls(Composite pageContainer) { // TODO Auto-generated method stub } But when I use the Source > Override/Implement Methods... to get the dialog and select createControl I get: public void createPageControls(Composite pageContainer) { // TODO Auto-generated method stub super.createPageControls(pageContainer); } Why no super in the ctrl+space generation of the overridden method? If by design it seems confusing by design (the inconsistency). This 3.0 behavior is consistent with what happens in 2.1 - but not sure if that means it is right. Feels wrong.
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/CodeCompletionTest.java
/*******************************************************************************
 * Copyright (c) 2000, 2004 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials 
 * are made available under the terms of the Common Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/cpl-v10.html
 * 
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.jdt.ui.tests.core;
import java.util.Hashtable;
import junit.framework.Test;
import junit.framework.TestSuite;
import org.eclipse.jdt.testplugin.JavaProjectHelper;
import org.eclipse.jdt.testplugin.TestOptions;
import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.jface.text.IDocument;