SA-MP Forums Archive
[Tool/Web/Other] Code properly fix v2.5! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Tools and Files (https://sampforum.blast.hk/forumdisplay.php?fid=82)
+---- Thread: [Tool/Web/Other] Code properly fix v2.5! (/showthread.php?tid=566188)



Code properly fix v2.5! - Hirsw0w - 04.03.2015

Code properly fix!
by Hirsw0w


Information:

Code properly fix has been order your code.
You have four options how to order the code.

Options Explantion :

Do Tabs - if your code look like that:

Code:
public test() {
if(test2 = 5) {
return 1;
}
}
it will fix the code to look like that:
Code:
public test() {
	if(test2 = 5) {
		return 1;
	}
}
Space After comma - if your code like that:

Code:
 para1,para2,para3
it will fix it like that:

Code:
 para1, para2, para3
Add dot Camma ( ; ) - if isn't in end of the line ; that will add automaticly where is needed

Code:
 SendClientMessage(playerid,-1,"asd")
that will be

Code:
 SendClientMessage(playerid,-1,"asd");
Block in Another Line - if my code is like that :

Code:
public test() {
	if(test2 = 5) {
		return 1;
	}
}
that will change it to this :

Code:
public test()
{
	if(test2 = 5)
	{
		return 1;
	}
}
Image:



Bugs :


* The whole code don't fix - SOLVED ( click FIX couple times )
* if the code have a lot of lines ( 5,000 + ) its take few seconds.

Comments :

* For any bugs please contact me!
* Sorry for my bad english

Download :

code properly fix v2.5 - Download
Source Code - Download

Credits :

Hirsw0w - Create the program.

Enjoy!
sorry again for my bad english.



Re: Code properly fix v2.5! - biker122 - 04.03.2015

Not bad..


Re: Code properly fix v2.5! - De4dpOol - 04.03.2015

Good job. I will use it. +rep


Re: Code properly fix v2.5! - MafiaOink - 04.03.2015

Not bad, Made in VB.


Re: Code properly fix v2.5! - Hirsw0w - 04.03.2015

Quote:
Originally Posted by MafiaOink
View Post
Not bad, Made in VB.
it made in C#


Re: Code properly fix v2.5! - Ahmad45123 - 04.03.2015

Source code ?


Re: Code properly fix v2.5! - Hirsw0w - 04.03.2015

Quote:
Originally Posted by Ahmad45123
View Post
Source code ?
I Add now
http://www.solidfiles.com/d/3e6848dd...rly_fixing.rar


Re: Code properly fix v2.5! - Inn0cent - 04.03.2015

Well, Great!


Re: Code properly fix v2.5! - ikey07 - 04.03.2015

Such weird times is nowadays, those who need this app, should really consider to quit scripting , at lest with pawno.


Re: Code properly fix v2.5! - Crayder - 04.03.2015

Quote:
Originally Posted by ikey07
View Post
Such weird times is nowadays, those who need this app, should really consider to quit scripting , at lest with pawno.
Yup, I code 100 percent clean myself. If someone needs a program they are fucked out of their programming career.