A simple one today. My Outline
view in eclipse does not show me any methods or fields anymore. I have selected the few options that are available in the outline vie
I had the same issue with eclipse oxygen today and the reason was the missing scala library in the scala project. the problem is reported in the eclipse problems tab: "Unable to find a scala library. Please add the scala container or a scala library jar to the build path."
The solution for me, that let the outline to be filled as well, has been:
If you don't want to delete all your perfs, here's my solution:
close eclipse
open the file at path:
workspace\.metadata.plugins\org.eclipse.core.runtime.settings\org.eclipse.jst.jsp.ui.prefs
outline
and delete those lines.I had the problem with my Eclipse PDT 3.2.0 and I fixed it by correcting something that apparently threw off the content parser. How I found it:
I ended up basically deleting line after line until I ended up looking at something funny:
throw(new Something_Exception($msg));
When I deleted the outer parens (on all three occurrences of this), the outline came back to life.
The same problem, Kepler Service Release 1, PDT 3.2.0.
Solution: I deleted the whole content of the class and saved file. Outline started. I restored content of the class and outline is OK.