Open philippe-elsass-deltatre opened 2 years ago
Oh no, it looks like it's an old syntax format and doesn't have a .sublime-syntax
.
Have you tried using the ASP syntax bundled with bat? https://github.com/sublimehq/Packages/blob/759d6eed9b4beed87e602a23303a121c3a6c2fb3/ASP/ASP.sublime-syntax
@keith-hall good call, but it doesn't work - code highlighting is only active inside specific markup.
I could convert the old tmLanguage
VBScript syntax to .sublime-syntax
with https://github.com/aziz/SublimeSyntaxConvertor and it seems to be working OK. Certainly cumbersome to set up though.
@keith-hall good call, but it doesn't work - code highlighting is only active inside specific markup.
seems like it works fine here
Hmm OK I was confused that bat --list-languages
would report HTML (ASP)
and not ASP
.
That said, while better than nothing, this ASP syntax configuration (right) seem specialised to basic ASP scripting and is quite limited (and often confused) compared to the VBScript one (left):
Okay. I'd be in favor of adding the specialized VBScript syntax. What do you think @keith-hall?
Yes, I think it makes sense to have a specialized VBScript syntax, because although similar to ASP, the ASP syntax definition is very strict.
Syntax: VBScript
Guideline Criteria: https://packagecontrol.io/packages/VBScript (80k+ downloads, 15k on Mac/Linux)
Although VBScript isn't that popular on Mac/Linux, the syntax is used for a number of basic-inspired languages like BrightScript.