open.mp forum
[Pawn] Code formatter (prettier) - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10)
--- Thread: [Pawn] Code formatter (prettier) (/showthread.php?tid=279)



Code formatter (prettier) - AmirSavand - 2019-04-16

Is there a way to automatically format scripts?


RE: Code formatter (prettier) - mr_sacrimoni - 2019-04-16

What do you mean by automatic formating?


RE: Code formatter (prettier) - JustMichael - 2019-04-16

(2019-04-16, 05:49 AM)AmirSavand Wrote: Is there a way to automatically format scripts?



Speak to Southclaws, he uses a tool called "Uncrustify" (https://github.com/uncrustify/uncrustify). He has a configuration that works well with Pawn.


RE: Code formatter (prettier) - AmirSavand - 2019-04-17

(2019-04-16, 11:21 AM)JustMichael Wrote: Speak to Southclaws, he uses a tool called "Uncrustify" (https://github.com/uncrustify/uncrustify). He has a configuration that works well with Pawn.

Thanks! I'll check it out and talk to him.