SA-MP Forums Archive
Sublime text for PAWN isn't working! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: General (https://sampforum.blast.hk/forumdisplay.php?fid=13)
+--- Thread: Sublime text for PAWN isn't working! (/showthread.php?tid=420243)



Sublime text for PAWN isn't working! - RajatPawar - 04.03.2013

Hello guys. I tried 'Sublime text 2' and I would really like to use it for PAWN.
I have created the folder in AppData\Roaming\Sublime Text 2\Packages called 'PAWN'
and I have a file called PAWN with the following code:
Code:
{
	"cmd": ["pawncc.exe", "-d3 -r -i includes", "$file", "-;+"],
	"path": "C:/Users/Rajat/Desktop/SAMP/pawno"
}
The path is correct, of course.
However, on compiling (anything), the error given is:

Anyone who is knowledgeable about this, your help would be appreciated.


Re: Sublime text for PAWN isn't working! - SuperViper - 04.03.2013

You need to save the file first.


Re: Sublime text for PAWN isn't working! - RajatPawar - 05.03.2013

That is extremely useful and it worked. Sublime text's really good, thanks!
Question 2:
Is there way to create the 'template' like in PAWNO? So that we wouldn't have to you know, add include <a_samp> and things everytime?


Re: Sublime text for PAWN isn't working! - SuperViper - 05.03.2013

There's probably a plugin for it but I don't use it.


Re: Sublime text for PAWN isn't working! - RajatPawar - 05.03.2013

Alright, anyways, I decided to give it up, it sucks to not have include and for and things not highlighted, so I am going back to PAWNO. Moderators/BTesters, please delete this topic.


Re: Sublime text for PAWN isn't working! - Lorenc_ - 05.03.2013

Quote:
Originally Posted by Rajat_Pawar
View Post
Alright, anyways, I decided to give it up, it sucks to not have include and for and things not highlighted, so I am going back to PAWNO. Moderators/BTesters, please delete this topic.
Syntaxes can be adjusted easily making your code colourful. There is probably a package for this but you can still open up the new.pwn file, press CTRL+A and CTRL+C then paste it. Takes five seconds tbh.


Re: Sublime text for PAWN isn't working! - Patrik356b - 06.03.2013

https://sampforum.blast.hk/showthread.php?tid=324787

Related.