【问题标题】:Eclipse: is there a way to extract method at end of class?Eclipse:有没有办法在课程结束时提取方法?
【发布时间】:2013-10-04 00:46:13
【问题描述】:

Eclipse 有没有办法改变“提取方法...”重构默认行为,以便将提取的新方法放在类的末尾? 谢谢。

【问题讨论】:

    标签: eclipse configuration refactoring


    【解决方案1】:

    这似乎无法直接通过 Eclipse 选项实现。

    您需要为此开发一个特定的插件(类似于“Triggering 'extract method' in Eclipse Refactoring/LTK API”)。

    您可以查看AutoRefactor project 中列出的 Eclipse 重构资源:

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-02-26
      • 1970-01-01
      • 1970-01-01
      • 2022-11-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多