[Tool/Web/Other] Pawn Syntax for Atom
#21

Is this one Better:

Whats the difference: ?
https://atom.io/packages/language-pawn
https://github.com/Larceny-/language-pawn
Reply
#22

Quote:
Originally Posted by rajabilal555
View Post
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
Reply
#23

I love you for this.
Reply
#24

I can access this link: https://sampforum.blast.hk/showthread.php?pid=3284897#pid3284897
Reply
#25

Quote:
Originally Posted by Nobi
View Post
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
Code:
.atom-build.json
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
View Post
That he added more support to keywords than me and more contributed to his package, thus his package is richer than mine.
Reply
#26

Is there a scripting editor for Visual Studio Code aswell?
Reply
#27

Quote:
Originally Posted by harsimarriar96
View Post
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
Reply
#28

Does anyone know how to build the amx in a different folder than the project master?
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)