Auto-formatting tool for VBscript

◇◆丶佛笑我妖孽 提交于 2019-12-30 05:44:04

问题


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++?


回答1:


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!




回答2:


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!




回答3:


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 :.



来源:https://stackoverflow.com/questions/2990221/auto-formatting-tool-for-vbscript

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!