SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Tools and Files

Reply
 
Thread Tools Display Modes
Old 07/12/2014, 12:34 PM   #1
Kaperstone
High-roller
 
Kaperstone's Avatar
 
Join Date: May 2011
Location: Russia
Posts: 3,352
Reputation: 822
Spray Pawn Syntax for Atom

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;
http://forum.sa-mp.com/showthread.php?p=3284897

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
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
__________________

Last edited by Kaperstone; 14/01/2015 at 12:25 PM.
Kaperstone is offline   Reply With Quote
Old 07/12/2014, 02:13 PM   #2
xeeZ
Huge Clucker
 
Join Date: Feb 2013
Posts: 317
Reputation: 382
Default Re: Pawn Syntax for Atom

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).
xeeZ is offline   Reply With Quote
Old 07/12/2014, 02:41 PM   #3
Kaperstone
High-roller
 
Kaperstone's Avatar
 
Join Date: May 2011
Location: Russia
Posts: 3,352
Reputation: 822
Default Re: Pawn Syntax for Atom

Well, I am pretty new to GitHub.

Will give it a try, thanks for telling
__________________
Kaperstone is offline   Reply With Quote
Old 07/12/2014, 02:59 PM   #4
Lordzy
High-roller
 
Join Date: Mar 2012
Location: NetherRealm
Posts: 2,767
Reputation: 1161
Default Re: Pawn Syntax for Atom

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.
__________________
Currently inactive - I don't play at any SA-MP servers nor work on anything in PAWN for now. The projects that I've done so far in PAWN, which requires updates will be taking some time.
Lordzy is offline   Reply With Quote
Old 08/12/2014, 06:21 PM   #5
Kaperstone
High-roller
 
Kaperstone's Avatar
 
Join Date: May 2011
Location: Russia
Posts: 3,352
Reputation: 822
Default Re: Pawn Syntax for Atom

Thanks for the comment
__________________
Kaperstone is offline   Reply With Quote
Old 10/12/2014, 11:24 PM   #6
Adejair_Junior
Banned
 
Join Date: Mar 2011
Posts: 133
Reputation: 68
Default Re: Pawn Syntax for Atom

Thank you man :3
Adejair_Junior is offline   Reply With Quote
Old 11/12/2014, 12:27 AM   #7
Kaperstone
High-roller
 
Kaperstone's Avatar
 
Join Date: May 2011
Location: Russia
Posts: 3,352
Reputation: 822
Default Re: Pawn Syntax for Atom

New version with new snippets !

https://github.com/Kaperstone/atom-l...r/CHANGELOG.md
__________________
Kaperstone is offline   Reply With Quote
Old 11/12/2014, 01:44 AM   #8
awsomedude
Big Clucker
 
awsomedude's Avatar
 
Join Date: Oct 2011
Posts: 192
Reputation: 47
Default Re: Pawn Syntax for Atom

Nice job
awsomedude is offline   Reply With Quote
Old 15/12/2014, 01:32 PM   #9
Glossy42O
High-roller
 
Join Date: Oct 2014
Location: in my house
Posts: 1,853
Reputation: 231
Default Re: Pawn Syntax for Atom

Awesome job bro.

Keep it up!
Glossy42O is offline   Reply With Quote
Old 21/12/2014, 06:46 PM   #10
Programie
Huge Clucker
 
Programie's Avatar
 
Join Date: Nov 2008
Location: Germany
Posts: 229
Reputation: 48
Default Re: Pawn Syntax for Atom

Finally there is a really cool editor on Mac OS X supporting Pawn. Thanks for sharing it!
Programie is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Tool/Web/Other] Notepad++ PAWN syntax (UPDATED for 0.3x) Chaprnks Tutorials 15 25/10/2015 07:39 PM
Maybe it's the most convenient syntax for pawn a3om Discussion 20 19/02/2014 01:13 PM
[Tool/Web/Other] PAWN Scanner - Scan PAWN files for information. Slice Tools and Files 10 15/07/2012 07:09 PM
Fetching RSS/Atom feeds from SA-MP forum. Famalamalam Everything and Nothing 6 02/08/2011 06:46 PM


All times are GMT. The time now is 10:51 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.