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
Outline
I had the same issue where the Outline was empty and the code was not syntax-highlighted.
To fix it, I right-clicked the file and selected Open With>Java Editor.
For some reason, Eclipse thought that it should open this particular .java file with the Text Editor instead of the Java Editor.