Eclipse的命名空间重构工具? [英] Namespace refactoring tool for Eclipse?

查看:585
本文介绍了Eclipse的命名空间重构工具?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对一些文件做一些内务,我需要移动一些类到一个新的命名空间。目前我必须手动编辑文件,但我想知道是否有更有效的方式这样做?

I'm doing some housekeeping on some files, and I need to move some classes to a new namespace. Currently I have to manually edit the files, but I was wondering if there's a more efficient way of doing this?

我听说过ReSharper for Visual Studio做了我需要的,但是有一个类似的工具Eclipse?

I heard about ReSharper for Visual Studio does what I need, but is there a similar tool for Eclipse?

推荐答案

我不是真的确定Eclipse是否, http://www.jetbrains.com/idea/rel =nofollow> IntelliJ IDEA (来自与ReSharper相同的供应商)有一个重构来在包之间移动类。如果我记得正确,它可以从Refactor> Migrate菜单中获得。

I'm not really sure if Eclipse does that but IntelliJ IDEA (from the same vendor as ReSharper) does have a refactoring to move classes between packages. It is available from Refactor > Migrate menu if I remember correctly.

这篇关于Eclipse的命名空间重构工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆