CodeRush - 文件的导出类型丢失?

发布于 2024-07-07 01:32:00 字数 113 浏览 6 评论 0原文

我目前正在评估 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

欲拥i 2024-07-14 01:32:00

您可能在谈论“将类型移至文件”重构吗? 如果是这样,那就很简单了,我每天在定义新类时都会使用它。

选择类型的名称(可能是一个类)
按重构键(通常是 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文