Home Download Buy Blog Forum Support

VB Script Extension

VB Script Extension

Postby eric1235711 on Fri Sep 04, 2009 5:54 pm

Hello

Currently the assigned a VBScript project to me. What a misfortune.

I couldn't find any ready extension, but I found two TextMate Bundles:

http://svn.textmate.org/trunk/Bundles/ASP.tmbundle/
http://svn.textmate.org/trunk/Bundles/A ... .tmbundle/

I have no idea of how I can convert them to Sublime.

I need anything simple, just to highlight reserved keywords, strings and comments.

Anyone can help me please?

thanks in advance.
0xhexakosioikexekontahexaphilia
eric1235711
 
Posts: 23
Joined: Thu Mar 27, 2008 3:54 pm

Re: VB Script Extension

Postby jps on Thu Sep 10, 2009 9:27 am

The general procedure is to take the TextMate syntax highlighting files (i.e., whatever is in the Syntaxes subdirectories of the links you posted), ensure they have a .tmLanguage extension (just renaming from .plist if required), and place them in a subdirectory under Packges/ in Sublime. You'll have to restart Sublime Text.

That should be all that's required for syntax highlighting - I'd also recommend using the latest beta, that handles some quirky .tmLanguage files better than 1.2 does.
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm

Re: VB Script Extension

Postby eric1235711 on Fri Sep 11, 2009 12:17 am

Hi Skinner!

I tried doing that for the first link I posted (looks more appropriate for me). I'm with the 1.2 version

I created a ASP.tmLanguage and HTMLASP.tmLanguage and I copied the .plist files content. I create those files under Documents And Settings/My User/Application Data/Sublime Text/Packages/ASP/

But something went wrong. When the program start rendering the window it gives an error and quits. I already undid these things but still crashing...

Tomorrow I'm trying harder...

thanks in advance!!!!!!!!!
0xhexakosioikexekontahexaphilia
eric1235711
 
Posts: 23
Joined: Thu Mar 27, 2008 3:54 pm

Re: VB Script Extension

Postby jps on Fri Sep 11, 2009 8:24 am

I've tested those files with the 20090909 beta and they're working fine here - perhaps you can email me the error message if they're not working for you in 20090909.
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm

Re: VB Script Extension

Postby eric1235711 on Fri Sep 11, 2009 2:30 pm

Oh Yes! It worked!

just made that with latest beta

thank you very much!
0xhexakosioikexekontahexaphilia
eric1235711
 
Posts: 23
Joined: Thu Mar 27, 2008 3:54 pm


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot] and 13 guests