Raised This Month: $7 Target: $400
 1% 

Sublime Text 3 - SourcePawn Syntax Highlighting (20w03c)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
404UserNotFound
BANNED
Join Date: Dec 2011
Old 05-15-2018 , 20:18   Sublime Text 3 - SourcePawn Syntax Highlighting (20w03c)
Reply With Quote #1

So I went and made a thing. This is a brand new version of the SP syntax highlighting that I first released. I started from a new .sublime-syntax file to take advantage of variable storage.

This is meant as a beta testing release. Please report any instances of things not highlighting correctly here.


Last edited by 404UserNotFound; 01-13-2020 at 13:04.
404UserNotFound is offline
ThatKidWhoGames
Veteran Member
Join Date: Jun 2013
Location: IsValidClient()
Old 05-15-2018 , 21:04   Re: Sublime Text 3 - SourcePawn Syntax Highlighting
Reply With Quote #2

I actually love you! Installing this right as I can, thank you!

Last edited by ThatKidWhoGames; 05-15-2018 at 21:05.
ThatKidWhoGames is offline
404UserNotFound
BANNED
Join Date: Dec 2011
Old 05-16-2018 , 00:28   Re: Sublime Text 3 - SourcePawn Syntax Highlighting
Reply With Quote #3

I had planned on an initial release a few weeks ago, but life got in the way. Finally found the energy and drive to get this thing done and ready for the release.

I'll be adding in more custom include file highlighting over time. I'm working on a batch as we speak that I hope to push out tomorrow.

Last edited by 404UserNotFound; 05-16-2018 at 00:35.
404UserNotFound is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 05-16-2018 , 02:08   Re: Sublime Text 3 - SourcePawn Syntax Highlighting
Reply With Quote #4

Looks pretty darn good. I'm not sure how I feel about all the dark colors, blues and greens.
Really like the option of 1point6 and 1point7.
However, if you find the time, you should submit the package.
Maxximou5 is offline
404UserNotFound
BANNED
Join Date: Dec 2011
Old 05-16-2018 , 13:05   Re: Sublime Text 3 - SourcePawn Syntax Highlighting
Reply With Quote #5

Quote:
Originally Posted by Maxximou5 View Post
Looks pretty darn good. I'm not sure how I feel about all the dark colors, blues and greens.
Really like the option of 1point6 and 1point7.
However, if you find the time, you should submit the package.
I definitely do want to submit the package. I'll check that out in a bit. If you don't want to use the color scheme, tack .disabled (or any gibberish really) to the end of the file extension of the .sublime-settings file. It'll stop forcing that color scheme for SP files allowing your chosen color scheme to be used. You can also install Color Scheme Editor through Package Control and edit the colors that way if you so desire.

Last edited by 404UserNotFound; 05-16-2018 at 13:10.
404UserNotFound is offline
Lubricant Jam
AlliedModders Donor
Join Date: Oct 2016
Location: United Kingdom
Old 05-17-2018 , 03:55   Re: Sublime Text 3 - SourcePawn Syntax Highlighting
Reply With Quote #6

Someone needs to do a good version of this for Visual Studio Code O.o

EDIT: Nvm, I found one https://marketplace.visualstudio.com...rcepawn-vscode

Good work, however.

Last edited by Lubricant Jam; 05-17-2018 at 03:56.
Lubricant Jam is offline
404UserNotFound
BANNED
Join Date: Dec 2011
Old 05-17-2018 , 05:04   Re: Sublime Text 3 - SourcePawn Syntax Highlighting
Reply With Quote #7

Quote:
Originally Posted by Lubricant Jam View Post
Someone needs to do a good version of this for Visual Studio Code O.o

EDIT: Nvm, I found one https://marketplace.visualstudio.com...rcepawn-vscode

Good work, however.
I think VSCode also uses .tmLanguage files, so this should be compatible. Edit: Yes it is compatible, but more importantly, it's compatible with any other text editors that utilize the TextMate system (.tmTheme, .tmSnippets and .tmLanguage files). If I used VSCode, I'd probably combine this with the autocompletion functionality from the package you linked but that's just because I like customizing things. Right now I use a SourcePawn Completions package in ST3 that I'm quite happy with.

Thanks for the kind words (even though you tripped me up at first making me think my highlighting was crap with "Someone needs to do a good version of this", I'm tired and I think I read that wrong at first)

Last edited by 404UserNotFound; 05-17-2018 at 05:18.
404UserNotFound is offline
Lubricant Jam
AlliedModders Donor
Join Date: Oct 2016
Location: United Kingdom
Old 05-17-2018 , 10:51   Re: Sublime Text 3 - SourcePawn Syntax Highlighting
Reply With Quote #8

Quote:
Originally Posted by 404UNF View Post
I think VSCode also uses .tmLanguage files, so this should be compatible. Edit: Yes it is compatible, but more importantly, it's compatible with any other text editors that utilize the TextMate system (.tmTheme, .tmSnippets and .tmLanguage files). If I used VSCode, I'd probably combine this with the autocompletion functionality from the package you linked but that's just because I like customizing things. Right now I use a SourcePawn Completions package in ST3 that I'm quite happy with.

Thanks for the kind words (even though you tripped me up at first making me think my highlighting was crap with "Someone needs to do a good version of this", I'm tired and I think I read that wrong at first)
My bad dude haha
Lubricant Jam is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 05-18-2018 , 08:39   Re: Sublime Text 3 - SourcePawn Syntax Highlighting
Reply With Quote #9

Thank you for this. Looks pretty cool so far!
__________________
Psyk0tik is offline
404UserNotFound
BANNED
Join Date: Dec 2011
Old 05-19-2018 , 18:10   Re: Sublime Text 3 - SourcePawn Syntax Highlighting
Reply With Quote #10

Currently working on an expansion to the custom include highlighting that will add support for the following includes;
  • SteamWorks (85%)
  • SteamTools (0%)
  • SMLib (5%)
  • MoreColors (100%)
  • MultiColors (0%)
  • Bank (0%)
  • Maybe some others...
Authors of includes will be added to the Github README.md as well. I meant to add those in initially but I was more focused on getting this released first.

Last edited by 404UserNotFound; 05-19-2018 at 18:17.
404UserNotFound 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 10:03.


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