I was working in Eclipse with some packages and then suddenly the java editor perspective doesn't show any code and it's blue, just like in the photo bellow:
[![enter image description here](https://i.stack.imgur.com/grEAn.png)](https://i.stack.imgur.com/grEAn.png)

I tried everything, from resetting the perspective to cleaning the project, even installed a new version of Eclipse. If i select the entire content of the .java file then pass it to a txt file the code is still there.

[![enter image description here](https://i.stack.imgur.com/PSAqr.png)](https://i.stack.imgur.com/PSAqr.png)