Pawn Syntax for Atom -
Kaperstone - 07.12.2014
Hello,
Well, there is not much to explain, this is PAWN syntax for Atom editor.
For those who don't know Atom, basically Atom is a text editor and you can read more about it at
https://atom.io/
Note: this is syntax highlight, means it will emphasize functions, callback and make your code look more colorful and understandable.
This does not come with a compiler, if you're looking for a compiler, then go to this thread;
https://sampforum.blast.hk/showthread.php?pid=3284897#pid3284897
The grammar rules are a copy paste of C language with small edits, but seem work like a charm for PAWN as well.
The package provides a set of snippets which build callbacks.
For example.
Type "playerconnect", after it press TAB will generate
pawn Code:
public OnPlayerConnect(playerid) {
return 1;
}
Installation:
Quote:
Originally Posted by Kaperstone
You can either use the shell and directly install it from there by typing this command :
Code:
apm install atom-language-pawn
or install it through the package tab in Settings.
Code:
CTRL + Comma > Install > search "atom-language-pawn"
|
Atom :
https://atom.io/packages/atom-language-pawn
GitHub :
https://github.com/Kaperstone/atom-language-pawn
If you find any bugs or have any suggestions, feel free to post them below
Re: Pawn Syntax for Atom -
xeeZ - 07.12.2014
Nice
I think there's a simpler installation procedure: just clone / extract the repo to ~/.atom/packages - no need to edit anything, Atom will pick it up automatically (this is where other user packages are installed).
Re: Pawn Syntax for Atom -
Kaperstone - 07.12.2014
Well, I am pretty new to GitHub.
Will give it a try, thanks for telling
Re: Pawn Syntax for Atom -
Lordzy - 07.12.2014
I'm really glad to see a release from you finally! Nice work, I'll surely try it out as soon as I reach home.
Re: Pawn Syntax for Atom -
Kaperstone - 08.12.2014
Thanks for the comment
Re: Pawn Syntax for Atom -
Adejair_Junior - 10.12.2014
Thank you man :3
Re: Pawn Syntax for Atom -
Kaperstone - 11.12.2014
New version with new snippets !
https://github.com/Kaperstone/atom-l...r/CHANGELOG.md
Re: Pawn Syntax for Atom -
awsomedude - 11.12.2014
Nice job
Re: Pawn Syntax for Atom -
Glossy42O - 15.12.2014
Awesome job bro.
Keep it up!
Re: Pawn Syntax for Atom -
Programie - 21.12.2014
Finally there is a really cool editor on Mac OS X supporting Pawn. Thanks for sharing it!
Re: Pawn Syntax for Atom -
Kaperstone - 23.12.2014
Quote:
Originally Posted by awsomedude
Nice job
|
Quote:
Originally Posted by Stuun23
Awesome job bro.
Keep it up!
|
Thanks !
Quote:
Originally Posted by Programie
Finally there is a really cool editor on Mac OS X supporting Pawn. Thanks for sharing it!
|
No problem
Re: Pawn Syntax for Atom -
Phyzic - 27.12.2014
Good job mate, Appreciable.
Re: Pawn Syntax for Atom -
Kaperstone - 27.12.2014
Quote:
Originally Posted by Phyzic
Good job mate, Appreciable.
|
Thanks !
Re: Pawn Syntax for Atom -
xeeZ - 07.01.2015
Are going to publish this package (in Atom package registry)? This would make it easier to install - users would just execute "apm install language-pawn" or download it in Preferences | Packages.
Re: Pawn Syntax for Atom -
Kaperstone - 14.01.2015
After days of fighting with the powershell, I finally managed to publish the package.
https://atom.io/packages/atom-language-pawn
You can either use the shell and directly install it from there by typing this command :
Code:
apm install atom-language-pawn
or install it through the package tab in Settings.
Code:
CTRL + Comma > Install > search "atom-language-pawn"
Re: Pawn Syntax for Atom -
xeeZ - 09.04.2015
I created a build file for the
build package (allows you to compile Pawn scripts from Atom), perhaps somebody will find this useful:
https://gist.github.com/Zeex/8c6539bb95c8b6198593
You'll need to replace ${SAMP_SERVER_ROOT} with your path to SA-MP server or create an environment variable with the same name.
Re: Pawn Syntax for Atom -
Sanady - 23.04.2016
I started to use it today, but I have issue, does this package contain a compiler too? Also how should I compile it?
Re: Pawn Syntax for Atom -
vannesenn - 24.05.2016
Any way to compile script in this nice text editor?
Re: Pawn Syntax for Atom -
JasperM - 24.05.2016
Quote:
Originally Posted by vannesenn
Any way to compile script in this nice text editor?
|
Read the topic first the next time.
Re: Pawn Syntax for Atom -
Touati - 24.05.2016
Gj..