如果没有 Java 对话,Aptana .js 文件将无法保存
当我用 .js 文件在 Aptana3 中点击“保存”时,我收到一个非常烦人的对话,说
Save Failed
Compilation unit name must end with .java, or one of the registered Java-like extensions
我似乎找不到任何有关如何解决此问题的信息。
有人可以帮忙吗?
谢谢。
When I hit save in Aptana3 with a .js file I get a really annoying dialogue that says
Save Failed
Compilation unit name must end with .java, or one of the registered Java-like extensions
I can't seem to find any info about how to fix this.
Can anyone help?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
当文件中有断点、删除断点并尝试再次保存时,就会发生这种情况。
This occurs when you have a breakpoint in your file, remove the breakpoint(s) and try to save again.
选择全部。剪切 (Ctrl-x) 整个文档,保存,粘贴 (Ctrl-v) 将其放回原处,保存。
Select All. Cut (Ctrl-x) entire document, save, Paste (Ctrl-v) it back in, save.
删除“断点视图”窗口中的所有断点
Remove all breakpoints in "breakpoints view" window
问题出在断点上。但是,上述解决方案都不适合我。但是,我将整个内容复制到剪贴板,并删除了该文件(这最终删除了该文件中的断点:-)),然后创建了一个同名的新文件,并粘贴了剪贴板中的内容。
现在对我有用!!!!
The problem is with the BreakPoint. But,Not any of the above solution worked for me. But, I copied the entire content to clipboard, and deleted the file, (which ultimately removes the breakpoint in that file :-) ) , then created a new file with the same name, and pasted the content from clipboard.
It now works for me!!!!!