Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

vbsbeautifier

VBScript beautifier beautifies VBScript files.

Features

  • Works on server-side and client-side VBScript.
  • Skips HTML.
  • Properizes keywords.
  • Splits Dim statements.
  • Places spaces around operators.
  • Indents blocks.
  • Lines out assignment statements.
  • Removes redundant endlines.
  • Makes backups.

Instructions

This is the Perl source code of the beautifier. Run it from the commandline with parameters:

Usage: vbsbeaut [options] [files]

options:
 -i         Use standard input (as text filter).
 -s <val>   Uses spaces instead of tabs.
 -u         Make keywords uppercase.
 -l         Make keywords lowercase.
 -n         Don't change keywords.
 -d         Don't split Dim statements.

IMPORTANT: Make sure the VBScript code works before you try to beautify it.

You can also use the commandline utility vbsbeaut.exe. Enter vbsbeaut.exe without any arguments to see the commandline options.

You can add VBScript keywords to the keywords.txt file.

About

VBScript beautifier beautifies VBScript files. You can use it for your ASP and clientside VBScript files.

Resources

License

Releases

No releases published

Packages

No packages published

Languages