Raised This Month: $12 Target: $400
 3% 

SourcePawn Syntax Highlighting for Sublime Text 2


Post New Thread Reply   
 
Thread Tools Display Modes
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 01-02-2013 , 09:56   Re: SourcePawn Syntax Highlighting for Sublime Text 2
Reply With Quote #11

Zeph and minimoney,

Does function complete and intellisense with ST2 work for you?
__________________
View my Plugins | Donate
TnTSCS is offline
berni
SourceMod Plugin Approver
Join Date: May 2007
Location: Austria
Old 01-02-2013 , 10:51   Re: SourcePawn Syntax Highlighting for Sublime Text 2
Reply With Quote #12

If you get .inc parsing working for Sublime2 I will switch from PawnStudio to Sublime2.
I somehow learned to work around Pawnstudio's crashbugs.
__________________
Why reinvent the wheel ? Download smlib with over 350 useful functions.

When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter than "Yes"
powered by Core i7 3770k | 32GB DDR3 1886Mhz | 2x Vertex4 SSD Raid0
berni is offline
Zephyrus
Cool Pig B)
Join Date: Jun 2010
Location: Hungary
Old 01-02-2013 , 11:57   Re: SourcePawn Syntax Highlighting for Sublime Text 2
Reply With Quote #13

Quote:
Originally Posted by TnTSCS View Post
Zeph and minimoney,

Does function complete and intellisense with ST2 work for you?
http://i.imgur.com/ygWXI.jpg

altho im not sure if it does have function definitions or just shows the ones im already using in the code, hmm
__________________
Taking private C++/PHP/SourcePawn requests, PM me.
Zephyrus is offline
Thrawn2
Veteran Member
Join Date: Apr 2009
Old 01-02-2013 , 12:53   Re: SourcePawn Syntax Highlighting for Sublime Text 2
Reply With Quote #14

Quote:
Originally Posted by Zephyrus View Post
http://i.imgur.com/ygWXI.jpg

altho im not sure if it does have function definitions or just shows the ones im already using in the code, hmm
to grab stuff from included files, you'll need a plugin:
http://sublimetext.info/docs/en/exte...mpletions-list
__________________
einmal mit profis arbeiten. einmal.
Thrawn2 is offline
Zephyrus
Cool Pig B)
Join Date: Jun 2010
Location: Hungary
Old 01-02-2013 , 13:22   Re: SourcePawn Syntax Highlighting for Sublime Text 2
Reply With Quote #15

Quote:
Originally Posted by Thrawn2 View Post
to grab stuff from included files, you'll need a plugin:
http://sublimetext.info/docs/en/exte...mpletions-list
thank you, i dont know much about python but i may mess with it and if i succeed i will post it here
__________________
Taking private C++/PHP/SourcePawn requests, PM me.
Zephyrus is offline
WebDestroya
Member
Join Date: Jul 2008
Location: Irvine, CA
Old 01-02-2013 , 14:10   Re: SourcePawn Syntax Highlighting for Sublime Text 2
Reply With Quote #16

Oh wow, thank you so much for this!
__________________
MitchDB
SourceMod Plugin Translation App: App Website | Forum Post | Get your plugin translated!
WebDestroya is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 01-02-2013 , 19:17   Re: SourcePawn Syntax Highlighting for Sublime Text 2
Reply With Quote #17

Zeph... it's just popping it up because you've used that function before already in your plugin... if you add a ( after that function it won't pop anything up.

Quote:
Originally Posted by Thrawn2 View Post
to grab stuff from included files, you'll need a plugin:
http://sublimetext.info/docs/en/exte...mpletions-list
You don't have one that does it for scripting sourcepawn do you?
__________________
View my Plugins | Donate

Last edited by TnTSCS; 01-02-2013 at 19:18.
TnTSCS is offline
Zephyrus
Cool Pig B)
Join Date: Jun 2010
Location: Hungary
Old 01-02-2013 , 19:19   Re: SourcePawn Syntax Highlighting for Sublime Text 2
Reply With Quote #18

Quote:
Originally Posted by TnTSCS View Post
Zeph... it's just popping it up because you've used that function before already in your plugin... if you add a ( after that function it won't pop anything up.

You don't have one that does it for scripting sourcepawn do you?
yeah you are right, altho writing a plugin to discover includes dynamically might not be hard, i will look into it when i have the time
__________________
Taking private C++/PHP/SourcePawn requests, PM me.
Zephyrus is offline
mcpan313
Senior Member
Join Date: Mar 2010
Old 01-03-2013 , 04:51   Re: SourcePawn Syntax Highlighting for Sublime Text 2
Reply With Quote #19

I write a sublime-snippet generator for sourcepawn, like this.

https://github.com/mcpan/SourcePawn4SublimeText2
Current version, function auto-completion / syntax highlighting 80% completed, some funcenum still in testing.

Please report bug/suggestions

Installation


Screenshot


Changelog
__________________
sorry, for my poor english.

Last edited by mcpan313; 01-16-2013 at 11:11.
mcpan313 is offline
Send a message via MSN to mcpan313
Sheepdude
SourceMod Donor
Join Date: Aug 2012
Location: Chicago
Old 01-03-2013 , 09:54   Re: SourcePawn Syntax Highlighting for Sublime Text 2
Reply With Quote #20

It's so expensive @_@
__________________
Sheepdude is offline
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

Forum Jump


All times are GMT -4. The time now is 08:58.


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