[Tool/Web/Other] Pawn Syntax for Atom - 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] Pawn Syntax for Atom (
/showthread.php?tid=549547)
Re: Pawn Syntax for Atom -
rajabilal555 - 02.02.2017
Is this one Better:
Whats the difference: ?
https://atom.io/packages/language-pawn
https://github.com/Larceny-/language-pawn
Re: Pawn Syntax for Atom -
renatog - 02.02.2017
Quote:
Originally Posted by rajabilal555
|
The two projects you posted are the same.
The difference between Kaperstone's syntax and Larcerny's syntax is that the last one is updated.
My fork have more autocompletions for common libraries which Larceny didn't accepted yet:
https://github.com/Renato-Garcia/language-pawn
Re: Pawn Syntax for Atom -
oSAINTo - 10.07.2017
I love you for this.
Re: Pawn Syntax for Atom -
Nobi - 29.05.2018
I can access this link:
https://sampforum.blast.hk/showthread.php?pid=3284897#pid3284897
Re: Pawn Syntax for Atom -
Kaperstone - 29.05.2018
Quote:
Originally Posted by Nobi
|
https://atom.io/packages/build
The tutorial was basically using this package.
Open in Atom the project root (where the server03svr and all the gamemodes/filterscripts/scriptfiles folders are) and Create a file named
Inside that file input this
Code:
{
"cmd": "pawno\\pawncc.exe YOUR_SCRIPT_HERE.pwn -r -w=203 -;+ -(+ -v2 -d2 -i=pawno\\include",
"name": "SA:MP Build Script"
}
Basically what it does is executing a command that points to the Pawn compiler with the appropriate parameters, everything is relative to the config file.
Replace where I wrote "YOUR_SCRIPT_HERE" with the script you want to compile, if for example you have a script inside "gamemodes" folder that is called "mygamemode" the code above should look like this:
Code:
{
"cmd": "pawno\\pawncc.exe gamemodes\\mygamemode.pwn -r -w=203 -;+ -(+ -v2 -d2 -i=pawno\\include",
"name": "SA:MP Build Script"
}
Just remember that back slashes should come in pairs, because you're escaping here also for JSON when it reads the file, so the back slash will remain after you compile.
If you're running on Linux, then you should replace the back slash " \ " with " / "
Quote:
Originally Posted by rajabilal555
|
That he added more support to keywords than me and more contributed to his package, thus his package is richer than mine.
Re: Pawn Syntax for Atom -
harsimarriar96 - 15.06.2018
Is there a scripting editor for Visual Studio Code aswell?
Re: Pawn Syntax for Atom -
Banditul18 - 15.06.2018
Quote:
Originally Posted by harsimarriar96
Is there a scripting editor for Visual Studio Code aswell?
|
If you looked a bit down on Tools and Files section you would have found this:
https://sampforum.blast.hk/showthread.php?tid=647134
Re: Pawn Syntax for Atom -
nikotragedy - 30.11.2018
Does anyone know how to build the amx in a different folder than the project master?