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

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
View Post
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
Reply
#2

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).
Reply
#3

Well, I am pretty new to GitHub.

Will give it a try, thanks for telling
Reply
#4

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.
Reply
#5

Thanks for the comment
Reply
#6

Thank you man :3
Reply
#7

New version with new snippets !

https://github.com/Kaperstone/atom-l...r/CHANGELOG.md
Reply
#8

Nice job
Reply
#9

Awesome job bro.

Keep it up!
Reply
#10

Finally there is a really cool editor on Mac OS X supporting Pawn. Thanks for sharing it!
Reply
#11

Quote:
Originally Posted by awsomedude
View Post
Nice job
Quote:
Originally Posted by Stuun23
View Post
Awesome job bro.

Keep it up!
Thanks !
Quote:
Originally Posted by Programie
View Post
Finally there is a really cool editor on Mac OS X supporting Pawn. Thanks for sharing it!
No problem
Reply
#12

Good job mate, Appreciable.
Reply
#13

Quote:
Originally Posted by Phyzic
View Post
Good job mate, Appreciable.
Thanks !
Reply
#14

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.
Reply
#15

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"
Reply
#16

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.
Reply
#17

I started to use it today, but I have issue, does this package contain a compiler too? Also how should I compile it?
Reply
#18

Any way to compile script in this nice text editor?
Reply
#19

Quote:
Originally Posted by vannesenn
View Post
Any way to compile script in this nice text editor?
Read the topic first the next time.

Reply
#20

Gj..
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)