Skip to content

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

License

Notifications You must be signed in to change notification settings

daansystems/vbsbeautifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages