Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Auto-formatting tool for VBscript [closed]

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

like image 294
katmoon Avatar asked Jun 07 '10 14:06

katmoon


People also ask

How do I stop Visual Studio from auto formatting?

The solution was to go to 'Tools > Options > Text Editor > Basic > VB Specific' and turn 'Pretty Listing' OFF. Save this answer.

How do I Auto beautify code in Visual Studio?

Auto formatting settings in Visual Studio Show activity on this post. Select the text you want to automatically indent. Click menu Edit → Advanced → *Format Selection, or press Ctrl + K , Ctrl + F . Format Selection applies the smart indenting rules for the language in which you are programming to the selected text.

How do I turn on autoformat in VSCode?

Usage. To automatically format the file on save, In Visual Studio Code, press Control + Shift + P or Command + Shift + P (Mac) to open the command palette and type setting and then select Preferences: Open User Settings option. Search for format on save setting and check the checkbox.

How can I beautify code in Notepad ++?

The primary step is to install the XML tools using the Plugin Manager. Then navigate to Menu -> Plugins -> XML Tools -> Pretty Print. You can use the shortcut Ctrl + Alt + Shift + B. For the other older versions, you need to navigate to Menu -> text FX -> HTML Tidy -> Tidy: Reindent XML.


2 Answers

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!

like image 178
p.campbell Avatar answered Oct 22 '22 08:10

p.campbell


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!

like image 42
Vidaya A S Avatar answered Oct 22 '22 09:10

Vidaya A S