Code "garbage" cleanup

This is not a Support area! Discuss about the Server here. Non-Server related discussion goes in Off-Topic Discussion.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
Pere
Posts: 400
Joined: Sat Jan 05, 2008 11:09 am
Location: Catalunya, Berguedà

Code "garbage" cleanup

Post 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
Bones tardes amics meus tots!
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Code "garbage" cleanup

Post 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.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
User avatar
Pere
Posts: 400
Joined: Sat Jan 05, 2008 11:09 am
Location: Catalunya, Berguedà

Re: Code "garbage" cleanup

Post by Pere »

Something new that I learned ^^ thx
Bones tardes amics meus tots!
Post Reply