Eclipse - Java 文件的本地历史记录
Eclipse - Java local history for file
Eclipse 本地历史支持file
Every time an editable file is saved in the Workbench, the Workbench updates the local history of that file and logs the changes that have been made. The local history of a file can then be accessed and a previously saved copy of the file can be reverted to, as long as the desired state is recent enough in the save history.
但在 Java 中似乎限制为 Java 键入方法
Whenever you edit a file, its previous contents are kept in the local history. Java tooling makes the local history available for Java elements, so you can revert back to a previous edition of a single method instead of the full file.
当尝试获取文件历史记录时,我收到一个弹出式错误 Please local history select a type, method or field
如何在 Eclipse 中获取 java 文件的历史记录?它是增强还是有解决方法来查看以前版本的文件
- 注意,例如,如果方法签名更改,我在历史记录中看不到以前的方法
Package Explorer 和 Project Explorer 视图的上下文菜单中提供了完整的替换/比较选项。
右键单击 Java 文件和 select 'Replace With > Local History....' 或 'Compare With > Local History...'
另请注意,您可以在 'General > Workspace > Local History' 页面的首选项中控制 Eclipse 保留的本地历史记录的数量。
Eclipse 本地历史支持file
Every time an editable file is saved in the Workbench, the Workbench updates the local history of that file and logs the changes that have been made. The local history of a file can then be accessed and a previously saved copy of the file can be reverted to, as long as the desired state is recent enough in the save history.
但在 Java 中似乎限制为 Java 键入方法
Whenever you edit a file, its previous contents are kept in the local history. Java tooling makes the local history available for Java elements, so you can revert back to a previous edition of a single method instead of the full file.
当尝试获取文件历史记录时,我收到一个弹出式错误 Please local history select a type, method or field
如何在 Eclipse 中获取 java 文件的历史记录?它是增强还是有解决方法来查看以前版本的文件
- 注意,例如,如果方法签名更改,我在历史记录中看不到以前的方法
Package Explorer 和 Project Explorer 视图的上下文菜单中提供了完整的替换/比较选项。
右键单击 Java 文件和 select 'Replace With > Local History....' 或 'Compare With > Local History...'
另请注意,您可以在 'General > Workspace > Local History' 页面的首选项中控制 Eclipse 保留的本地历史记录的数量。