Eclipse:仅将 Aptana 主题用于 Javascript 编辑器?
当我在 Eclipse 中使用 Aptana 时,我喜欢 Javascript 的 Cobalt 主题。然而,这个主题最终使我的 Java 文件几乎无法进行 SVN 比较,因为背景是深蓝色,而比较编辑器中的文本是黑色。
我查看了 Eclipse 中的所有首选项,但无法找到仅使用 Aptana Cobalt 主题来编辑 Javascript 文件的方法。
以下是我尝试过的事情: - 我已将 Aptana JavaScript 编辑器设为“.js”文件的默认编辑器 - 我已将“.txt”和“.java”默认为普通编辑器(非 Aptana,无论它们是什么) - 我尝试设置主题,并确保常规>外观>颜色和字体仍然保留所有默认值 - 我已经验证,如果我将主题更改为白色背景,我的差异编辑器就会更改并变得可读
我还能做什么?!我只想使用 Aptana for Javascript,而不是我的默认 diff 主题。
When I use Aptana in Eclipse, I like the Cobalt theme for my Javascript. However, this theme ends up making my SVN diff-ing nearly impossible for my Java files, because the background is dark blue, and the text is black in the compare editor.
I've look all over the preferences in Eclipse, and can't figure out a way to only use the Aptana Cobalt theme for editing my Javascript files.
Here are the things I've tried:
- I've made the Aptana JavaScript editor the default for ".js" files
- I've made the default for ".txt" and ".java" the normal editors (non-Aptana, whatever they are)
- I've tried setting the theme, and making sure that General > Appearance > Colors and Fonts still has all the defaults
- I've verified that if I changed the theme to something with a white background, my diff-ing editor gets changed and becomes readable
What else can I do?! I just want to use Aptana for Javascript, not my default diff theme.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我也有同样的问题。不知道它是否已经解决,但我找到了一个可能有帮助的临时解决方案。我在“首选项”>“更改了 Javascript 的默认编辑器”一般>编辑>文件关联。当您从上方列表中选择“.js”时,您将在底部列表中看到所有可能的编辑器。我将“Javascript Source Editor”设为我的默认编辑器。该编辑器使用默认主题设置。
I had the same problem. No idea wether it has been resolved yet, but I found a temporary solution which might help. I changed the default editor for Javascript in Preferences > General > Editors > File Associations. When you select ".js" from the upper list, you'll see all the possible editors in the bottom list. I made "Javascript Source Editor" my default editor. This editor uses the default theme settings.
目前还没有办法实现这一点。我建议在 http://jira.appcelerator.org/browse/APSTUD。
There currently isn't a way to achieve this. I would suggest to create a JIRA ticket at http://jira.appcelerator.org/browse/APSTUD.