0
votes

My Eclipse is broken since this morning probably due to an automatic update (Java EE?). Version is:

Eclipse Java EE IDE for Web Developers. Version: Kepler Service Release 1 Build id: 20130919-0819

Pressing Ctrl+O works, but pressing it again should show inherited members but it does not. Here is what I have tried without success:

  • cleaning the project
  • close/open the project
  • restarting eclipse with clean param

After additional research I found that this affects non-abstract classes that extend an abstract and generified class where the generic is found in an external dependency (jar). This fails:

public class MyProblematicClass extends MyAbstractClass<SomeProjectExternalClass> // fails

But this works:

   public class MyProblematicClass extends MyAbstractClass<SomeProjectInternalClass> // success

Could this be an Eclipse bug, any clues ?

1
Please Post the error that you are getting. Which Version of MyEclipse? - Umesh Patil
What is meant by "My Eclipse is broken" ? - Umesh Patil
@UmeshPatil This is a silent error it should show the inherited members but does nothing. I added the version... - Christophe Roussy

1 Answers

1
votes

Try checking the preferences and bindings for the shortcut keys. Go to. Window->Preferences->General->Keys.. Type CTRL+O in the filter text box.

Key Bindings for Eclipse

If it still does not work try resetting the default options.

Further, I tried doing a CTRL+O twice on a package with an Abstract Class that extended no other class. It shows the outline as expected. Illustration below.

Quick Outline for eclipse Kepler.