Page 1 of 1

Code "garbage" cleanup

Posted: Mon Jun 28, 2010 12:08 pm
by Pere
- Ctrl+H
- Type " " (4 spaces) in the search string
- Click on "Replace..."
- Type "[TAB]" in the replace for
- Commit

And a lot of things like that, for example "if("->"if (", or the same with "whiles", etc.

If you like it, I can do a patch for the latest revision, but it will be really huge :P

Re: Code "garbage" cleanup

Posted: Mon Jun 28, 2010 12:46 pm
by janiii
for that just use code format ;) no need for search replace :P just use the code format settings from svn project.

we wanted to do that on epilogue, but somehow nobody did it. i would say we make it on freya release, as it probably would change mostly every file.

Re: Code "garbage" cleanup

Posted: Mon Jun 28, 2010 1:21 pm
by Pere
Something new that I learned ^^ thx