Raised This Month: $32 Target: $400
 8% 

SourcePawn Syntax Highlighting for Sublime Text 2


Post New Thread Reply   
 
Thread Tools Display Modes
pilger
Senior Member
Join Date: Sep 2010
Old 07-21-2013 , 14:15   Re: SourcePawn Syntax Highlighting for Sublime Text 2
Reply With Quote #81

Quote:
Originally Posted by pilger
The result is: (it might differ from other people's colors because I'm currently using the Nexus theme);
You might wanna download the Nexus theme.
pilger is offline
ppalex
Senior Member
Join Date: Nov 2012
Location: Russia, near the Moscow
Old 11-09-2013 , 06:22   Re: SourcePawn Syntax Highlighting for Sublime Text 2
Reply With Quote #82

New feature in Sourcepawn for SublimeText 3 - now it can process local "includes" (such as #include "basecomm/gag.sp") for make auto-completion.
__________________
ppalex is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 11-09-2013 , 09:46   Re: SourcePawn Syntax Highlighting for Sublime Text 2
Reply With Quote #83

so, now it works like pawnstudio does? As I include files, it will have the autocomplete for the functions in those included .inc files?
__________________
View my Plugins | Donate
TnTSCS is offline
ppalex
Senior Member
Join Date: Nov 2012
Location: Russia, near the Moscow
Old 11-09-2013 , 14:19   Re: SourcePawn Syntax Highlighting for Sublime Text 2
Reply With Quote #84

i doesn't know how it works in pawnstudio. In sublime text it makes snippets for functions from your "inc" file. Functions at screenshot are placed in included .sp file
Attached Thumbnails
Click image for larger version

Name:	?????? ?????? 2013-11-09 ? 23.15.18.png
Views:	414
Size:	34.8 KB
ID:	127656   Click image for larger version

Name:	?????? ?????? 2013-11-09 ? 23.15.36.png
Views:	328
Size:	28.1 KB
ID:	127657  
__________________

Last edited by ppalex; 11-09-2013 at 14:21.
ppalex is offline
QOOOOOOOOQ
Senior Member
Join Date: Dec 2012
Old 08-19-2014 , 20:45   Re: SourcePawn Syntax Highlighting for Sublime Text 2
Reply With Quote #85

Yes, it may be a little old, but I've got a question. What gives the package the ability of auto-completion? Is it the .sublime-theme file that references the python files or something, because I'd enjoy much more my own theme rather than a predefined one... o..o
QOOOOOOOOQ is offline
ppalex
Senior Member
Join Date: Nov 2012
Location: Russia, near the Moscow
Old 12-06-2014 , 08:13   Re: SourcePawn Syntax Highlighting for Sublime Text 2
Reply With Quote #86

Quote:
What gives the package the ability of auto-completion? Is it the .sublime-theme file that references the python files or something, because I'd enjoy much more my own theme rather than a predefined one... o..o
SPCompletions plugin scans "include folder" from settings (SPCompletions.sublime-settings) and provides auto-completion. If you want to change color scheme - delete or replace option "color_scheme" in sourcepawn.sublime-settings file.
__________________
ppalex is offline
ImACow
AlliedModders Donor
Join Date: Feb 2015
Old 05-15-2015 , 10:28   Re: SourcePawn Syntax Highlighting for Sublime Text 2
Reply With Quote #87

ppalex any chance you could update your fork to the new syntax ? 1.7.1 ?
ImACow is offline
vortex.
AlliedModders Donor
Join Date: Jan 2017
Location: OnGameFrame()
Old 09-04-2017 , 15:39   Re: SourcePawn Syntax Highlighting for Sublime Text 2
Reply With Quote #88

Quote:
Originally Posted by ImACow View Post
ppalex any chance you could update your fork to the new syntax ? 1.7.1 ?
+1
__________________
vortex. is offline
Reply



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 19:48.


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