开发者

Additional Refactoring for Eclipse CDT

开发者 https://www.devze.com 2023-03-22 20:22 出处:网络
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 Ecl

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:

http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.jdt.doc.user/concepts/concept-refactoring.htm

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 goo开发者_开发技巧d 3rd party plug-in (it just needs to support C++ in Eclipse).


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.


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.


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?

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/

0

精彩评论

暂无评论...
验证码 换一张
取 消