Pawn Compiler in Sublime Text 2
#4

Might make a new thread regarding this. With your credits at the top.

Started using Sublime Text 2 as of today, and gosh. It is amazing.

For the first step, most of you may get confused so make a new folder in AppData\Roaming\Sublime Text 2\Packages called Pawn

Inside that folder, make a new file called (with any file name) under the extension *.sublime-build

Since most people use crashdetect.dll/.so they may want debug mode, this setting already has it.

Код:
{
	"cmd": ["pawncc.exe", "-d3 -r -i includes", "$file", "-;+"],
	"path": "C:/Users/User/Desktop/SA-MP FOLDER/pawno"
}
MAKE SURE YOU REPLACE "C:/Users/User/Desktop/SA-MP FOLDER/pawno" with your PAWNO DIRECTORY!

After that, Tools > Build Systems > Pawn and it will enable itself. Change your syntax highlighting to C++ (<removed why that is because some dude neg repped me for it (I'm going to accuse ******, sorry if I'm wrong)>) and you're good to go.

Compiler Box Colouring (OPTIONAL)

At first, the colour box looks too bright, so consider changing it to a more darker background!

http://stackoverflow.com/questions/1...n-sublime-text

Inside of the setting Todd had provided, use mine, it uses a the twilight theme (not the gay movie lol) and goes with the dark theme.

Код:
{
    // "color_scheme": "Packages/Theme - Default/Widgets.stTheme",
    "color_scheme": "Packages/Color Scheme - Default/Twilight.tmTheme"
}
Happy coding! And the bump was worth it! :P
Reply


Messages In This Thread
Pawn Compiler in Sublime Text 2 - by Conroy - 10.03.2012, 20:10
Re: Pawn Compiler in Sublime Text 2 - by Steven82 - 10.03.2012, 20:19
Re: Pawn Compiler in Sublime Text 2 - by Macluawn - 24.09.2012, 14:28
Re: Pawn Compiler in Sublime Text 2 - by Lorenc_ - 04.02.2013, 05:26
Re: Pawn Compiler in Sublime Text 2 - by Patrik356b - 18.02.2013, 06:34
Re: Pawn Compiler in Sublime Text 2 - by Lorenc_ - 18.02.2013, 06:37
Re: Pawn Compiler in Sublime Text 2 - by ReneG - 18.02.2013, 08:00
Re: Pawn Compiler in Sublime Text 2 - by caki - 19.02.2013, 19:46
Re: Pawn Compiler in Sublime Text 2 - by Renas - 26.04.2013, 21:20
Re : Pawn Compiler in Sublime Text 2 - by DexX39 - 17.07.2013, 16:28
Re : Pawn Compiler in Sublime Text 2 - by Garwan50 - 30.07.2013, 02:39
Re: Pawn Compiler in Sublime Text 2 - by Patrick - 20.01.2014, 19:35
Re: Pawn Compiler in Sublime Text 2 - by VIRUXE - 19.02.2014, 21:38
Re: Pawn Compiler in Sublime Text 2 - by Ext[R]eme - 20.03.2014, 07:32
Re: Pawn Compiler in Sublime Text 2 - by AlexanderADM - 03.05.2014, 16:06
Re: Pawn Compiler in Sublime Text 2 - by EaglesNovixous - 01.07.2016, 16:24
Re: Pawn Compiler in Sublime Text 2 - by EaglesNovixous - 02.07.2016, 06:02
Re: Pawn Compiler in Sublime Text 2 - by BennyX - 14.12.2016, 16:23
Re: Pawn Compiler in Sublime Text 2 - by RayBiH - 17.12.2016, 07:44

Forum Jump:


Users browsing this thread: 1 Guest(s)