VSTools Help CloseX
To achieve the best user experience, Javascript must be enabled!

What is VSTools?

VSTools provides many easy to use feature items available in a new menu item called "VSTools" installed into the main menu of Visual Studio. Its purpose is to aid in the overall development process. It is delivered in the form of a VSIX extension, that when launched automatically installs all necessary files and dependencies.


  1. VSTools main menu
    Following is an example of the menu displayed when the VStools menu-item is chosen from the main menubar:

  2. Format Comments menu-item
    Choose the Format Comments menu-item to format all the XML comments in the current code editor window.

    This essentially:

    1. Places a divider line at the beginning and end of all XML comments
    2. Places a divider line between each Region;
    3. Wraps all the internal text of the XML comments according to rules defined using the VSTools Options... menu-item.

    Before:

    After:


  3. Remove All Divider Lines menu-item
    Choose the Remove All Divider Lines menu-item to remove all the divider lines from the code editor page which were previously added using the Format Comments menu-item.

  4. Collapse Solution Explorer menu-item
    Choose the Collapse Solution Explorer menu-item to collapse all the nodes in the Solution Explorer window to show only the root nodes:

    Before:

    After:


  5. Toggle Current Region menu-item
    Choose the Toggle Current Region menu-item to toggle (i.e., show or hide) the current region in the code editor window (i.e., the region in the code editor window containing the cursor):

    Before:

    After:


  6. Expand All Regions menu-item
    Choose the Expand All Regions menu-item to expand (i.e., show) all regions in the code editor window:

    Before:

    After:


  7. Collapse All Regions menu-item
    Choose the Collapse All Regions menu-item to collapse (i.e., hide) all regions in the code editor window:

    Before:

    After:


  8. Bookmarks menu-item
    Choose the Bookmarks menu-item to display its sub menu-items :

    The following shows several lines of text inside a text editor window containing bookmarks:

    Choose Cut to copy all lines of text in the current code editor window containing a bookmark to the Window's clipboard and subsequently delete the lines.

    Choose Copy to copy all lines of text in the current code editor window containing a bookmark to the Window's clipboard.

    Choose Delete to delete all lines of text in the current code editor window containing a bookmark.

    The following shows the cut or copied text corresponding to the bookmarked lines from the code editor window after being pasted into another text field:


  9. Summaries menu-item
    Choose the Summaries menu-item to display its sub menu-items :

    Choose Collapse All to collapse all summaries in the current code editor window.

    Choose Expand All to expand all summaries in the current code editor window.

    The following shows expanded summary text inside a code editor window:


  10. CodeBlock menu-item
    Choose the CodeBlock menu-item to display its sub menu-items :

    Choose Collapse to collapse the selected code block in the current code editor window.

    Choose Expand to expand the selected code block in the current code editor window.


  11. Convert Unit Tests menu-item
    Choose the Convert Unit Tests menu-item to display its sub menu-items :

    Choose MSTest to nUnit to convert the current MSTest unit tests in the code editor window to nUnit.

    Choose nUnit to MSTest to convert the current nUnit unit tests in the code editor window to MSTest.


  12. Url menu-item
    Choose the Url menu-item to display its sub menu-items :

    Choose Encode to encode the currently selected URL inside a code editor window.

    Choose Decode to decode the currently selected URL inside a code editor window.


  13. Javascript menu-item
    Choose the Javascript menu-item to display its sub menu-items :

    Choose Format to format (i.e., prettify) the currently selected javascript inside a code editor window.

    Choose Compact to compact (i.e., minify) the currently selected javascript inside a code editor window.


  14. Optimize Usings menu-item

    The Optimize Usings menu-item when clicked, will optimize the 'Usings' in the current code editor window or all code editor windows of the entire project or entire solution depending on the current selection.

    NOTE: This feature was added to VSTools back during the introduction of Visual Studio 2005, but its usefulness is not the same since similar functionality has been recently incorporated into the latest versions of Visual Studio by Microsoft.


  15. Show Project References menu-item
    The Show Project References menu-item when clicked, writes information (in table form*) to the Visual Studio 'Output' window:

    It shows all references pertaining to each project in the entire solution all at once.

    *Columns provided are: 'Assembly Name', referenced 'Version', Is 'Specific Version', Is file 'Copied Local', full 'Path' of the assembly.


  16. Show Solution Build Config menu-item
    The Show Solution Build Config menu-item when clicked, writes information to the Visual Studio 'Output' window:
    It shows all the information obtainable from the 'Build' 'Configuration Manager' dialog, but in this case, in one easy to read output which can also easily be printed and/or saved for later review.

  17. Toggle Publish menu-item
    Choose the Toggle Publish menu-item to toggle (i.e., show or hide) the Add to Source Control combobox located at the far right corner of the Visual Studio IDE status bar:

    Before:

    After:


  18. Generate Translation Report menu-item
    The Generate Translation Report menu-item when clicked, displays the following dialog:
    NOTE: this report generation is only useful when the 'Localizable' property of a form has been set to TRUE.

    Clicking the 'OK' button will generate a report in Microsoft Excel Document format containing the list of all items in all forms defined thoughout the solution which need a translation defined for it.

    In most cases, placing a checkmark into 'Output Untranslated Only' control will just put untranslated items into the Excel report obviously reducing its overall file size.


  19. Paste as Comments menu-item
    The Paste as Comments menu-item is used when you want to paste in a long string of text from the clipboard using the same rules for wrapping text as used for formatting XML comments.

    Standard 'Paste':

    'Paste as Comments':


  20. Lineup Variable Declarations menu-item
    The Lineup Variable Declarations menu-item is used to align variable declarations inside a code editor window for temporary visual inspection.

    Before:

    After:


  21. Sort Selected Lines menu-item
    The Sort Selected Lines menu-item when clicked will sort all the lines in the current selection in the code-editor window in lexicographical order.

    Before:

    After:


  22. Regex Find and Replace... menu-item
    The Regex Find and Replace...* menu-item when clicked, opens a special window for performing 'search' and/or 'replace' using standard Window's 'Regex' functionality:

    The following dialog is opened when the Regex Help... hyperlink is clicked in the preceding window:

    * NOTE: This feature is still under construction so it may not function reliably!


  23. Options... menu-item
    The Options... menu-item when clicked, will open the following dialog:

    'General' tab:

    'External Tools' tab:

    'Log File' tab:


  24. External Tools menu-item
    Choose the External Tools menu-item to display its sub menu-items :

    Choose External Tool 1 to run the external application defined using the Options dialog shown by clicking the Options... menu-item :

    Choose External Tool 2 to run the external application defined using the Options dialog shown by clicking the Options... menu-item :


  25. About... menu-item
    Choose the About... menu-item to display this dialog: