Raised This Month: $ Target: $400
 0% 

[TOOLS] Atom Sourcepawn Syntax Highlighting v0.6.0


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Wliu
Veteran Member
Join Date: Apr 2013
Old 12-10-2014 , 18:58   [TOOLS] Atom Sourcepawn Syntax Highlighting v0.6.0
Reply With Quote #1

So I've managed to release a (somewhat functioning) package for Atom that will automatically detect and highlight Sourcepawn files (provided that they end in .sp or .inc). It's a bit difficult to get an accurate screenshot since different syntax themes will colorize everything differently, but here's an idea of what gets colorized:


This is a pretty big work-in-progress (as you can see from the screenshot itself), so hopefully things will improve as I gain more experience with regex. SOURCEMOD 1.7 IS NOT FULLY SUPPORTED YET.

Installation:
1. Open up the Settings View in Atom
2. Click on 'Install' in the left column
3. Search for 'language-sourcepawn'
4. Install!
A direct link to the package is also available here.

The changelog is visible by clicking on the package's settings and then selecting 'Open Changelog'. Update notifications are handled automagically by Atom; you just need to press the Update button.

The source code is available here under the MIT license (just to be on the safe side, since I took lots of the regex from MIT-licensed packages).
__________________
~Wliu

Last edited by Wliu; 02-28-2016 at 21:13. Reason: 0.6.0
Wliu is offline
 



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

Forum Jump


All times are GMT -4. The time now is 22:23.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode