简体   繁体   English

Java Eclipse类编辑器消失了

[英]Java Eclipse Class editor disappeared

I don't really know, should I ask this question here or not, but I'm in trouble. 我真的不知道,我是否应该在这里问这个问题,但是我很麻烦。 My eclipse window looks like that now: 我的日食窗口现在看起来像这样:

在此处输入图片说明

And I can not open window where I can edit class. 而且我无法打开可以编辑课程的窗口。 When I double click on class name (on left side: Package Explorer), nothing changes on main window, the editor doesn't appear. 当我双击类名(在左侧:Package Explorer)时,在主窗口上没有任何更改,不会出现编辑器。 But on right side menu: Outline, it opens that class as you can see on picture. 但是在右侧菜单:“大纲”上,您可以在图片上看到该类的打开。 I tried close and run eclipse, tried to reset Java perspective, but nothing changes... 我尝试关闭并运行eclipse,尝试重置Java透视图,但没有任何变化。

Can anybody help me? 有谁能够帮助我?

SOLUTION: 解:

I found solution. 我找到了解决方案。 Window - > New Window. 窗口->新窗口。 And it worked 而且有效

Open the Error View and check if an error has been or is added when you try to open a class. 打开错误视图,并在尝试打开类时检查是否已添加错误或已添加错误。 If yes, try to correct the situation by googling the error or posting the contents of the error to SO. 如果是,请尝试通过搜索错误或将错误内容发布到SO来纠正这种情况。

The Error View can be opened by clicking Window > Show View > Error Log or via binding Alt+Shift+Q, L . 可以通过单击Window > Show View > Error Log或通过绑定Alt+Shift+Q, L来打开错误视图。

Alternatively, you can try to start Eclipse with the -clean parameter. 另外,您可以尝试使用-clean参数启动Eclipse。

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

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