相当于 Komodo 的“显示未保存的更改”在阿普塔纳工作室?
过去几年我一直在使用 Komodo Edit,但我再次考虑切换到 Aptana Studio,因为它内置了 Python 重构工具。
我在 Komodo Edit 中一直使用的功能之一是“显示未保存的更改”。这个简单的功能会弹出一个窗口,其中显示当前编辑器窗口中的文本与磁盘上保存的文件的差异。
在 Aptana Studio 中必须有一种方法可以执行此操作(或者更重要的是,在 Eclipse 中必须有一种方法可以执行此操作,因为 Aptana 是构建在其之上的。)
如何获取显示未保存更改的差异?
I've been using Komodo Edit for the last few years, but am once again thinking of switching to Aptana Studio because of it's built in refactoring tools for Python.
One of the features I use all the time in Komodo Edit is "show unsaved changes". This simple feature pops up a window with a diff of the text in the current editor window vs. the saved file on disk.
There must be a way of doing this in Aptana Studio (or more to the point, there must be a way of doing this in Eclipse, since Aptana is built on top of it.)
How do I get a diff show unsaved changes?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
窗口 ->首选项->一般->编辑->快速差异。
选中“在概览标尺中显示差异”。将组合设置为“磁盘上的版本”。为差异选择更好的颜色;)并确定对话框。
现在,文件中的每个更改都将在“概述标尺”和“注释标尺”(编辑器左右栏)上可见。在保存文件之前,标记将一直可见。
与 Komodo 功能并不完全匹配,但它与 Eclipse 的本地历史功能一起可以提供很多控制。
希望有帮助。
Windows -> Preferences -> General -> Editors -> Quick Diff.
Check the 'Show Differences in overview ruler'. Set the combo on 'Version on disk'. Select nicer colors for the diff ;) and OK the dialog.
Now, every change in your file will be visible on the 'Overview Ruler' and on the 'Annotation Ruler' (the editor left and right bars). The marks will be visible until you save the file.
Not an exact match to the Komodo feature, but this, along with the local history feature of Eclipse, can provide a lot of control.
Hope that helps.