Hi,
I've written some codes (actually quite a lot, around 30 files) ... in Linux ... but i would like to change names of my Classes, Variable Names and Functions, any way to change it quickly and safe?
Any tools allow me to manage that?
Thanks
Jeff
Hi,
I've written some codes (actually quite a lot, around 30 files) ... in Linux ... but i would like to change names of my Classes, Variable Names and Functions, any way to change it quickly and safe?
Any tools allow me to manage that?
Thanks
Jeff
Eclipse is an IDE that has this feature, and as far as I know, it's free too.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
You're basically talking about a refactoring tool. A search of the Web brings up this list of refactoring tools. The good part is that it lists 3 for C++. The bad part is that it only lists 3 for C++.
Now, if only those guys over at Netbeans ported over their refactoring functionality for their C/C++ plugin...Eclipse is an IDE that has this feature, and as far as I know, it's free too.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
I think Turbo C++ had that feature. Though I'm not sure if you should depend on it for anything else (the editor is not bad, but I'm not sure about the compiler).
EDIT: sorry, forgot you wanted a utility for Linux. I think Turbo C++ is for Windows only.
Last edited by Abda92; 01-26-2008 at 12:42 PM.
By the way, Emacs has some pretty good search/replace facilities - and as long as you rename one thing at a time, you can check with the compiler that you got it right...
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
That refactoring tool list I linked to lists Xrefactory, an emacs plugin, as one of the tools for C++.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
Thanks, Witch,
This is a great help ...
the Eclipse is easier to learn, Xrefactory is a bit complicated for me ...
Eclipse C++ IDE is perfect
Haha, Elysia took it quite seriously ... i should have said "perfect for my needs, my skills, and my time " ...
http://wascana.sourceforge.net/
Download, install, enter your code, press build.
Really, i didn't have difficulty. Download, install, new project, add file system, Right click, refactor .. that's it ... :|