Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: Dmytry on November 26, 2005, 10:32:05 am

Title: Refactoring?
Post by: Dmytry on November 26, 2005, 10:32:05 am
Would be great to have some basic refactoring like renaming functions, classes, maybe even automatically creating getXXX and setXXX (and updating all code to use it) , and so on.
I see CB has working symbols view and autocompletion so it should not be that hard now (the hardest part is parsing c++  :lol:). That would be very time-saving thing to have. Or at very least search and replace in all files.

Another idea: refactoring tool could put special comment into header file, with original name and new name so when using same header in other project, names could be updated automatically.
Title: Re: Refactoring?
Post by: StApostol on November 26, 2005, 01:36:59 pm
That's a great idea! The refactoring functions in the new visual studio are a great time-saver.

All that's needed is someone with enough spare time in his hands to write a plugin...

BTW, I think I've seen you before - are you the Dmytry roaming the Gamedev forums?
Title: Re: Refactoring?
Post by: Dmytry on November 26, 2005, 03:29:38 pm
That's a great idea! The refactoring functions in the new visual studio are a great time-saver.

All that's needed is someone with enough spare time in his hands to write a plugin...
Yes... though i don't sure if plugin can have access to how-CB-parses-C++ (it's huge pain in the * to parse C++ (http://www.nobugs.org/developer/parsingcpp/))
Quote

BTW, I think I've seen you before - are you the Dmytry roaming the Gamedev forums?
Yep, one that does clouds (http://dmytry.ancientspledge.com/en/mojoworld/volumetrics.html) :-)