Sublime Forum

How do I setup Sublime to develop VBScripts and can it debug?

#1

How do I setup Sublime to develop and edit VBScripts (.vbs)? And can it debug?

I think I managed to load the VBScript package through the Package Installer, or at least at the end is said it loaded successfully. However, when I type code it doesn’t appear to recognize any of the code as VBScript. I cannot seem to find anything that tells me how to make this happen.

In case you are wondering, we used to use VBS Edit, which compiles and debugs VBScripts but we were told to replace it with this, I just don’t know how to set it up to do the same thing.

0 Likes

#2

I don’t use the package, so I don’t know all the particulars of it.
However, if you go to Command Palette (CTRL- SHIFT-P), you will find a command to Set Syntax to VBScript.
Once that is done, you will get suggestions as you type, You will also find under Tools -> Build System, a build system for VBScript. I don’t think that the package will debug for you, but I may be wrong. You may be able to format the code from Command Palette, and there may be snippets you can use. Some of these packages lack any documentation.

Hope this helps.

0 Likes

#3

I will give this a try. I really appreciate the help.

I would like to leave this topic open for a few days for any other suggestions, particularly with debugging VBScript.

Thanks again! I really do appreciate this and any further assistance. :slight_smile:

0 Likes