Scott Dorman

ephemeral segment

  Home  |   Contact  |   Syndication    |   Login
  598 Posts | 10 Stories | 846 Comments | 51 Trackbacks

News


Post Categories

Image Galleries


Microsoft Store


Creative Commons License



Locations of visitors to this page

Subscribers to this feed

TwitterCounter for @sdorman

View blog authority

Add to Technorati Favorites

Windows Live Alerts

AddThis Social Bookmark Button

LinkedIn profile

Community Credit profile

The Code Project

Follow me on Twitter

Get Free Shots from Snap.com

Community Credit Hall of Fame

Get Feedghost

Xobni outlook add-in for your inbox



Support This Site

Tag Cloud


Article Categories

Archives

Post Categories

Image Galleries

In case you don't know about MZ-Tools, it is easily the best Visual Studio .NET add-in available. This started in 2000 as an add-in for the Visual Basic 6 IDE, which is where I was first introduced to it. Since then, I have followed it's evolution into a Visual Studio .NET add-in for all four VS.NET releases.

MZ-Tools has just released version 6, which provides support for all of the VS.NET releases, including Visual Studio 2008, into a single add-in. There were a few minor bug fixes and enhancements in this version, but the biggest change is the consolidated support for the different IDE versions.

This add-in does so much it's almost hard to list all of the features, but it's single goal is "To make your everyday programming life easier." Out of all of the add-ins that say they increase your productivity, this one definitely sits in the top 5.

Since there are so many features available, I'm only going to mention the ones that I use on a regular basis.

Find Code Faster

result_window[1]

MZ-Tools features an advanced find feature that shows the results in a hierarchical tree inside a dockable window.

You can find strings in a procedure, file, project, solution, selected text, a group of files or a group of projects.

The results window provides multiple tabs to store your previous searches and allows you to refresh the results, copy them to the clipboard, or export to a file. You can also remove results from the list.

You can also replace the occurrences found one at a time or all at the same time.


 

Code Templates with Variables and Keyword Expansion

code_template_selection[1]

Code templates with variables and keyword expansion allows you to define code snippets that you use frequently. To go along with the ability to insert code templates, you can also define standard file, class, and procedure headers (also with variables) as well as an easy method of adding exception handling code. These features go a long way to ensuring that your code stays consistent.


 

Sorting Code Elements

Another feature that I use all of the time is the ability to sort code elements. There is a predefined sorting sequence that you can customize if you want, but this allows you to rearrange code elements, sorting by name, scope, or kind, or manually. I usually apply the predefined sorting and then adjust as needed.

sort_code_elements[1]

Design Forms Faster

There are features here that allow you to define and apply default properties to a control when it is added to a form, set the TabIndex of all of the controls control_explorer[1] on a form with a single mouse click. You can also copy and past controls along with the related event handler code from one form to another.

There is also an enhanced version of the Document explorer, called the Control Explorer, which shows you the the hierarchy of controls of the active form window. The Control Explorer allows multi-selection and lets you perform actions on the selected controls, like Bring to Front, Send to Back, Cut, Copy, Copy with Code, Paste, Paste with Code, Delete and Apply Default Properties

You can also define the most frequently used properties to show in a property grid.

Others...

Some of these also fall into the category of writing code faster, such as the standard headers, but you can also generate HTML or XML documentation. This documentation is different than the XML documentation you get from the XML comments and a tool like NDoc or Sandcastle.

You can also perform various code reviews, such as mandatory or forbidden text, dead code, tab index, access keys, and control default properties.

There are enhancements for the way you work with Visual Studio as well. This includes the ability to collapse the projects in the Solution Explorer, define favorite solutions, open the folder where a solution, project, or document is saved, and copy the selected files in the Solution Explorer to a folder.


 

You can also review statistics about your code. This includes the number of code lines, comments lines, blank lines (both the total line count and percentage). You can get these statistics at the solution, project, and code file level. You can also export them to a tab delimited text file or copy them to the clipboard.

statistics[1]

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
posted on Thursday, August 02, 2007 11:42 PM

Feedback

# re: MZ-Tools 6.0 8/3/2007 12:15 AM Simone Chiaretta
How does it compare with Resharper?

# re: MZ-Tools 6.0 10/17/2007 6:22 AM daniel
Scott, I found the expression "the best Visual Studio .NET add-in available" to be fairly exaggerated. There are several addins (sligthly more expensive) that seem better to me: Resharper, CodeSMART, CodeRush - to name only a few. Saying that the Carlos' addin is a great one is one thing; saying that it is the best, well...

# re: MZ-Tools 6.0 10/17/2007 10:26 PM Scott
@daniel,

This blog is, of course, my opinion and the statement of "best" and "better" is completely objective. Resharper, CodeRush and CodeSMART all have their advantages. I've used MZ-Tools since 2000 and have seen it grow into what it is now.

# re: MZ-Tools 6.0 10/27/2007 11:16 PM Ben
I used MZ-Tools in Visual Basic 6. I used it a lot. It kind of slipped my mind when I moved to .NET, I recently downloaded it, and I would agree that it is easily one of the best add-ins. I like it because it doesn't focus simply on the code itself, there are tons of those. It is a higher level tool. It helps you view your code differently. To me, it is similar to how managers use every day data to analyze trends. MZ-Tools helps analyze and organize code.

# re: MZ-Tools 6.0 2/2/2008 9:37 AM Segundo Serrano
-Resharper se entromete mucho y entorpece el trabajo.
-codeSmart no es mejor que Resharper
-Aún no sé qué tan bueno sea CodeRush

Pero...
MZ-Tools es espectacular!!!

Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: