[英]Eclipse Cannot create in-place editor
I have a troubleshoot problem. 我有一个故障排除问题。 My eclipse don't want open class in the package editor.
我的eclipse不想在包编辑器中打开类。
Error, what i'm having - 错误,我有什么 -
However, file opened with Open with->Text Editor. 但是,使用Open with-> Text Editor打开文件。 That's looks like a charm kinda.
这看起来像是一种魅力。 help please.
请帮忙。
I encountered this problem in my filename.xhtml
using Eclipse Mars . 我在使用Eclipse Mars的
filename.xhtml
遇到了这个问题。
I got it fixed by: 我得到了修复:
1. Right click on the offending file. 1.右键单击有问题的文件。
2. Choosing Open With -> Default Editor. 2.选择打开方式 - >默认编辑器。
After this, everything went back to the way it was. 在此之后,一切都恢复了原样。
Probably your File Association settings are messed up. 可能你的文件关联设置搞砸了。
Try: 尝试:
- right click--> copy class
右键单击 - >复制类
- go to desktop and paste
转到桌面并粘贴
- back to eclipse right click delete the class
回到eclipse右键单击删除该类
- copy and paste from desktop
从桌面复制和粘贴
Thats works for me. 这对我有用。
Had the same issue with .HTML files. 与.HTML文件有同样的问题。
Despite my File Associations were correctly set, the following is a workaround that solved the problem: 尽管我的文件关联被正确设定,下面是解决该问题的解决方法 :
I had the same error and I fixed it by changing the workspace folder in Aptana: "General -> Startup and Shutdown -> Workspaces". 我有同样的错误,我通过更改Aptana中的工作区文件夹来修复它:“常规 - >启动和关闭 - >工作区”。 I removed existing and added following one: "C:\\Aptana_Studio\\workplace" (instead of a workspace folder in my user profile).
我删除了现有的并添加了以下一个:“C:\\ Aptana_Studio \\ workplace”(而不是我的用户配置文件中的工作区文件夹)。
JFYI: I found this error occurred after I've installed Eclipse for Java. JFYI:我发现在安装Eclipse for Java之后发生了这个错误。
I had the same error when I start my eclipse. 我开始日食时遇到了同样的错误。
I fixed it by delete the .project file, and re-add the project to my workspace. 我通过删除.project文件来修复它,并将项目重新添加到我的工作区。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.