renaming function names used in many cases

Posted By: sivan

renaming function names used in many cases - 07/23/14 14:19

hi,

I need to reorganize my editor's code, I mean I have to rename several functions used in many-many cases in multiple files, and I just got tired of SED's only "Find in Files" option. I would need a tool that can do it smoothly.

maybe HorusIDE?

thanks.
Posted By: WretchedSid

Re: renaming function names used in many cases - 07/23/14 14:22

Sublime Text is free-ish, and you can open a whole folder in it and then do a normal find and replace or regular expression based. Doesn't support named groups for regular expressions though.

Free-ish, as in, it has an unlimited test period, but it will pop up from time to time when saving and asking you to buy a license if you like it. Similar to WinRar.

I can highly recommend it as a general text editor by the way. If you want to take a look, there are thousands of great plugins and themes available for it. Check out Package Control.
Posted By: Ch40zzC0d3r

Re: renaming function names used in many cases - 07/23/14 16:54

Just use Notepad++ or Programmers Notepad laugh
Completely free, supports many coding languages and also supports cool plugins tongue
Posted By: sivan

Re: renaming function names used in many cases - 07/23/14 21:22

thanks for the info!
I have ever wanted to test those notepads, unfortunately they support no lite-c, and SED is normally fine for my lite-c projects; and VS express for C++.
normal find and replace of a folder is a good enough solution, I've never heard about Sublime Text, but now downloading!
Posted By: WretchedSid

Re: renaming function names used in many cases - 07/23/14 21:26

Sublime Text would allow you to integrate Lite-C via a custom build system. And it has awesome power features like multiple selection. I can seriously recommend it.
Posted By: sivan

Re: renaming function names used in many cases - 07/24/14 06:29

sounds cool.
probably I need to totally replace SED if my game steps into a real team-work state on the programming side too.
this brings up another question: which version control tool? I found Tortoise SVN, that said to be fine.
Posted By: WretchedSid

Re: renaming function names used in many cases - 07/24/14 10:33

If you can spare the time, look into git! Source Control is a free GUI for it.
A lot of people in this forum will tell you to pick SVN because they don't understand git, but the truth is that git is much more powerful and flexible.

The thing with git is that it has to make click before you truly see how fucking crazy powerful it is, although it is already useful before that. I can't recommend you a Tutorial, I heard good things about this ebook: http://www.git-tower.com/learn/, but take it with a grain of salt and if it's not to your liking, google one.

Like... Git may seem hard and you do have to put in at least a bit of upfront learning, but it will absolutely pay off in the long run.
Posted By: sivan

Re: renaming function names used in many cases - 07/24/14 10:58

ah yes I nearly forgot about Git... probably because I used it in the last days grin thanks again.
© 2024 lite-C Forums