简体   繁体   English

Eclipse 未在 Java 编辑器透视图中显示代码

[英]Eclipse not showing code in the Java Editor perspective

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:我在 Eclipse 中使用一些软件包工作,然后突然 java 编辑器透视图没有显示任何代码,它是蓝色的,就像在下面的照片中一样: 在此处输入图像描述

I tried everything, from resetting the perspective to cleaning the project, even installed a new version of Eclipse.我尝试了一切,从重置视角到清理项目,甚至安装了新版本的 Eclipse。 If i select the entire content of the.java file then pass it to a txt file the code is still there.如果我 select 的全部内容.java 文件然后将其传递给 txt 文件,代码仍然存在。

在此处输入图像描述

似乎两天后Eclipse才开始正常工作。

Just open Windows(Option at the top) --> Show View --> Console.只需打开 Windows(顶部的选项)--> 显示视图--> 控制台。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM