Auto-formatting tool for VBscript [closed]
Asked Answered
P

4

18

I'm looking for a light, free tool to format my Vbscript code.

The only way I've found so far is to auto-format it in VisualStudio. Although, it's too much to launch VisualStudio for this purpose.

Is there any web app or a free light tool for this purpose? Maybe a plugin for Notepad++?

Paraesthesia answered 7/6, 2010 at 14:12 Comment(0)
N
19

Have you tried:

VB Indent - paste your VBScript or VB code, press the button, and it'll indent for you.

or

ASP Indent - auto formatting of your ASP Code. It will not format HTML, though. It's only checking and formatting the text between the <% %>

There don't appear to be any user settings, but it works!

Nikko answered 8/6, 2010 at 21:49 Comment(1)
These tools are dead nowMetatarsus
P
4

Use VBScript Beautifier freeware. It is an editor but has facility to auto indent for existing VB script. It may be useful. I have used it and it's fine with me for using with some old scripts which are written without indentation from some unknown developers without indents/comments!

Pannonia answered 26/11, 2011 at 3:44 Comment(1)
VBScript Beautifier doesn't support Class keyword for me.Brigette
N
1

VBScript Beautifier is commercial software.

"VB Indent" and "ASP Indent" work, but they don't provide formatting options.

The Commercial VBScript Editor "VBSEdit" has a code formatting option. This works most of the time. It only has problems with multiple commands in one line separated by :.

Necrophilism answered 30/1, 2012 at 21:55 Comment(0)
R
0

VbsEdit worked for me. From the menu select Edit->Reformat Code https://www.vbsedit.com/

Risley answered 1/7, 2020 at 22:35 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.