Eclipse CDT 的额外重构
有没有什么方法可以配置,或者有没有可用于 Eclipse CDT(任何版本)的第三方插件来提供丰富的重构?我的重构菜单仅在 Eclipse Indigo CDT 中提供以下内容:
- 重命名
- 提取常量
- 提取局部变量
- 提取函数
- 切换函数定义
- 隐藏方法...
我正在寻找具有 Java 重构丰富性的东西:
或者类似的东西DevExpress Refactor Pro 提供:
http://www.devexpress.com/Products/Visual_Studio_Add-in/Refactoring/
请注意,DevExpress 插件与 Eclipse 不兼容。我非常愿意花钱购买一个好的第 3 方插件(它只需要在 Eclipse 中支持 C++)。
Is there any way to configure or are there any 3rd party plug-ins available for Eclipse CDT (any version) that provide a rich set of refactorings? My refactoring menu only provides the following in Eclipse Indigo CDT:
- Rename
- Extract Constant
- Extract Local Variable
- Extract Function
- Toggle Function Definition
- Hide Method...
I am looking for something with the richness of either the Java refactorings:
Or something like what DevExpress Refactor Pro offers:
http://www.devexpress.com/Products/Visual_Studio_Add-in/Refactoring/
Note that the DevExpress plug-in is not compatible with Eclipse. I am more than willing to pay for a good 3rd party plug-in (it just needs to support C++ in Eclipse).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
Eclipse CDT 中的大多数重构功能都是由在瑞士拉珀斯维尔 HSR Hochschule für Technik 工作和学习的人员开发的。有学生致力于新的重构和增强。经过审核后,它们将被整合到官方 CDT 中。
有关正在进行的开发的更多信息,请与该项目的负责人联系Peter Sommerlad 在 IFS。
除了这个项目之外,我认为 CDT 平台上没有其他插件/扩展。
Most of the refactoring features in Eclipse CDT are developed by people working and studying at the HSR Hochschule für Technik in Rapperswil Switzerland. There are students working on new refactorings and enhancements. After they had been reviewed they will be integrated into the official CDT.
For more information of the ongoing development get in contact with the leader of this projects Peter Sommerlad at the IFS.
Beside from this projects I think there is no other plugin/extension on the CDT platform.
我也怀念附加功能,但我猜,它们目前不能作为 Eclipse 插件使用:至少我没有找到任何功能,除了 公告。
C++ 很难解析。
I miss the additional features, too, but I guess, they are currently not available as eclipse plugins: at least I did not found any, except for announcements.
C++ is hard to parse.
当然,这是可能的。例如:
http://www .eclipse.org/articles/article.php?file=Article-Unleashing-the-Power-of-Refactoring/index.html
就准确找到您正在寻找的内容(商业或开源软件) - 并为 Eclipse 找到它(而不是简单地购买不同的 IDE)- 嗯,这是“不确定的”。例如,我在工作中大量使用 Embarcadero Delphi。它的重构功能围绕 Visual Studio 运行 RINGS。反过来,Visual Studio 也比默认的 Eclipse 好得多。但是嘿 - 我尽可能使用“vi”和 makefile,所以这没什么大不了的。
建议:
尝试主要供应商的 C++ 编译器的评估版本,看看它会带您做什么。两个建议:
英特尔
http://software.intel.com/en-us/articles/intel-编译器/
IBM
http://www.ibm.com/developerworks/downloads/
Sure, it's possible. For example:
http://www.eclipse.org/articles/article.php?file=Article-Unleashing-the-Power-of-Refactoring/index.html
As far as finding exactly what you're looking for (either commercial or open source software) - and finding it for Eclipse (as opposed to simply purchasing a different IDE) - well, that's "iffy". For example, I make heavy use of Embarcadero Delphi at work. It's refactoring capabilities run RINGS around Visual Studio. Visual Studio, in turn, is far better than the default Eclipse. But hey - I use "vi" and a makefile whenever possible, so it's no big deal.
Suggestion:
Try an eval version of a major vendor's C++ compiler, and see where it takes you. Two suggestions:
Intel
http://software.intel.com/en-us/articles/intel-compilers/
IBM
http://www.ibm.com/developerworks/downloads/