SourcePawn Syntax Highlighting for Sublime Text 2
Hello, I was annoyed at not being able to use my favorite editor for SourceMod plugin development, so I created this plugin for Sublime Text 2.
https://raw.github.com/Dillonb/Subli...aster/shot.png This plugin provides basic syntax highlighting for SourcePawn in Sublime Text 2. Installation is fairly simple. First, install Package Control. When it is installed, press Control-Shift-P, type "Package Control: Install Package", hit enter, type in "SourcePawn Syntax Highlighting" and hit enter again. Congratulations, your Sublime Text now highlights SourcePawn files. If you want to contribute, you may find the project's GitHub page here: https://github.com/Dillonb/SublimeSourcePawn Please post your thoughts and experiences! |
Re: SourcePawn Syntax Highlighting for Sublime Text 2
neat - does Sublime Text 2 have a way to import dynamic includes for popup hint type of stuff?
|
Re: SourcePawn Syntax Highlighting for Sublime Text 2
Probably. I included all the default library functions in pop up hints though.
|
Re: SourcePawn Syntax Highlighting for Sublime Text 2
Mine look like this - http://i.imgur.com/pXv20.png. Mind sharing your colors :O?
|
Re: SourcePawn Syntax Highlighting for Sublime Text 2
I use the colors from the Nexus theme. It's in Package Control if you want it.
|
Re: SourcePawn Syntax Highlighting for Sublime Text 2
if I have
#include <whatever> I was hoping it would read what's in that include file and provide it as tool tips with pop up and auto complete... but it doesn't... Like how PawnStudio does it. Or maybe I need to :rtfm: ? LoL... just let me know if it's possible to have auto complete with tooltip/popup with dynamic declared includes or not before I waste too much time looking for the solution. |
Re: SourcePawn Syntax Highlighting for Sublime Text 2
Yeah, I knew what you meant. I'll look into it.
|
Re: SourcePawn Syntax Highlighting for Sublime Text 2
Thank you sir for a good tutorial.
For those who don't understand how to install a theme.
Step 1
Step 2
Step 3
|
Re: SourcePawn Syntax Highlighting for Sublime Text 2
ah i love you lol, since notepad++ v6.2 syntax highlighting hasnt been working properly, it doesnt detect escape chars, randomly stops highlighting, function completion isnt working either. tbh i didnt even know about sublime text 2 before this topic but i instantly fell in love with it and bought a license. its so much better in every way for coding php/pawn/python etc and it works on my linux desktop too :)
|
Re: SourcePawn Syntax Highlighting for Sublime Text 2
Quote:
|
All times are GMT -4. The time now is 17:51. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.