CodeRush - 文件的导出类型丢失?
我目前正在评估 CodeRush,在阅读功能列表时我最喜欢的一件事是“将类型导出到新文件”或类似功能。 现在 CodeRush 在我的 IDE 中运行,我找不到此功能。 是否需要插件,或者我只是缺少一些东西?
I'm currently evaluating CodeRush and one thing that I liked most when reading the featurelist was the "Export type to new file" or similar functionality. Now that CodeRush runs within my IDE, I cannot find this functionality. Is there a plug-in required for it or am I just missing something?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可能在谈论“将类型移至文件”重构吗? 如果是这样,那就很简单了,我每天在定义新类时都会使用它。
选择类型的名称(可能是一个类)
按重构键(通常是 Ctrl-`)或单击三点重构图标
选择“将类型移至文件”
我建议您观看一些 Mark Miller 的教程视频,以真正开始使用 CodeRush 和 Refactor。 培训视频位于此处。
Are you possibly talking about the "Move Type to File" refactoring? If so, it's pretty easy, I use it pretty much daily when I'm defining new classes.
Select a type's name (perhaps a class)
Hit your refactor key (Usually Ctrl-`) or click on the triple dot refactor icon
Select Move Type to File
I suggest watching some of Mark Miller's tutorial videos to really get you start with CodeRush and Refactor. The training videos are located here.