What tools are there that supports refactoring C code (renaming variables, extracting methods, finding method references, ...)
Preferably for a Linux environment, but Windows tools are ok too. If there's something available for emacs, even better!
What tools are there that supports refactoring C code (renaming variables, extracting methods, finding method references, ...)
Preferably for a Linux environment, but Windows tools are ok too. If there's something available for emacs, even better!
This question might be useful to you: http://stackoverflow.com/questions/673554/how-can-i-refactor-c-source-code-using-emacs
Netbeans 6.7 and above have reasonably decent basic C (and possibly C++, but haven't tried it) refactoring. I use it when doing the JNI part of one of my projects, and stuff like renaming vars, macros, functions, finding usages of a function all work well. Definitely worth a try, to see if it does the rest of what you want, if you're not wedded to emacs yet.
For emacs, there is xrefactory but I haven't tried it myself.
Tools for refactoring? I always find the human mind, a good cut & paste system and find & replace sorts me out when refactoring :)
Maybe this previous question could help, at least in speeding up the compile-run cycle. I am especially thinking about using tcc as a script language. It actually compiles, but so fast you won't notice. Then you can write C as scripts and just run them.
I use Eclipse with CDT as an IDE and find that it works well for refactoring and searching code.