Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 Eclipse 中的大型 java 源代码中重构了类名。但是在重构产生任何不良结果的情况下,我想恢复到以前的类名或代码状态。有没有办法在 Eclipse 中恢复到以前的类名?它是否保留重构阶段的版本?
通常,您只需按撤消即可实现此目的。如果由于任何原因无法做到这一点,Eclipse 会警告您。
在紧急情况下:使用您的 VCS 恢复 :-)