Pawno Indentation - 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: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Pawno Indentation (
/showthread.php?tid=295602)
Pawno Indentation -
wes231 - 06.11.2011
is there a program i can get to make it all have the dent in it so i dont gotta go manually and do it ?
Re: Pawno Indentation -
Sascha - 06.11.2011
the point in using a fixed indentation is also to make your code more viewable for yourself and others..
if you have everything written in somehow, you won't find anything later.. or at least won't get several parts as you just don't know where you currently are, when something starts and when something else ends...
just do it e.g. like this:
after each { or after any "if" call one "tab" to the right and after each } or when an "if" ends one "tab" back..
Re: Pawno Indentation -
iNorton - 06.11.2011
If you want messy script use #pragma tabsize 0 under defines that will fix the Identation errors... But will make the script a mess
AW: Pawno Indentation -
Drebin - 06.11.2011
http://dracoblue.net/tidy/pawn/
Kaboom.
Re: Pawno Indentation -
manchestera - 06.11.2011
Try this program out its just like pawno but has a auto indentation in the tools section even if u just use it for that and script in pawn still a very handy tool called amxx studio.
http://sourceforge.net/projects/amxm...3.zip/download
Sorry if im not allowed to post this link.
Re: Pawno Indentation -
grand.Theft.Otto - 06.11.2011
DracoBlue's TidyPawn is a good tool, as Drebin posted above.