开发者

No editor in Eclipse to open Java files with?

开发者 https://www.devze.com 2023-04-02 17:30 出处:网络
I had to reinstall Eclipse on my computer due to an upgrade; now it seems to have \"forgotten\" how to open and edit Java files. When I first opened a .java file, my system text editor popped up. I tr

I had to reinstall Eclipse on my computer due to an upgrade; now it seems to have "forgotten" how to open and edit Java files. When I first opened a .java file, my system text editor popped up. I tried reinstalling Eclipse; same behaviour. I tried removing the .metadata files from my workspace; same behaviour. I tried changing the .java file association and tried using the system and default editors; same behaviour. I tried opening it with all internal editors just to see if that might help - Default Compare Editor, Internal W开发者_开发百科eb Broswer, No Source Found, Source Not Found Editor, Text Editor, Web Browser, and Welcome - but to no avail. There are no error messages; it's as if my ability to open Java files in Eclipse has simply disappeared. Has anyone encountered this before?


What about right click > Open with > Java editor?

If there is no Java editor, then your eclipse installation is messed up - get a new one from eclipse.org

0

精彩评论

暂无评论...
验证码 换一张
取 消