NETmatch is .NET IDE add-in. When installed it adds Match entry to 
the right-click menu in code window. Match finds matching syntax 
elements, like delimiters (parentheses, braces, brackets and double 
quotes) and keywords (IF-END IF) in source code. When matching double 
quote NETmatch calculates string length.

NETmatch is port of VBmatch VB6 add-in. Because of .NET native 
autoindent and delimiter matching, NETmatch is less likely to be 
useful comparing to VBmatch. Basically it is an excercise in porting 
VB6 to .NET. But you still can enjoy calculating string length ;)

How to use.

Select or right-click syntax element, like parenthesis or 
keyword, such as  IF, DO, FOR etc. Then select Match from 
right-click menu. NETmatch will find matching syntax element: 
closing parenthesis or matching keyword like, END IF, LOOP, NEXT etc.
NETmatch will select found range.

NETmatch can handle nesting, comments and text strings and can match
backwards.

NETmatch was developed and tested in VB. Support for other languages, 
like C# and C++ is experimental. Support for backward match is 
experimental.
 
Known problems.

1. Double quotes inside strings can cause trouble if you try to match 
from inside the string. 

2. The following searches may not properly resolve:
- search in nested comments;
- find match for closing doublequote.
- 'While' in 'Do While' is not matched properly: NETmatch is looking for 
"End While" ("Wend" in VBmatch). 
- #Region - #End Region doesn't match because of #.

3. Backward matching problems:
- backmatch for last ) when expression includes multiple string literals.
- can't backmatch 'End'.
- can't backmatch selection. Example: can't backmatch selected 'End Enum' 
  or End 'Enum' or 'End' Enum. But click on 'End', or click on Enum in 
  'End Enum' works. 

4. REM comment in VB is not supported.

5. /*...*/ comment in C-style languages is not supported.

6. Match on big code range cause display flicker, then matches. Probably
  each 'hit' causes screen update.

Install:

Run NETmatch.msi. To activate go to Tools->Add-In Manager in VS.NET. New NETmatch 
add-in should be listed.

Uninstall from Add-remove Programs in Control Pannel. 

This is freeware. Have fun.

Contact:

Please email bugs and suggestions to Vadim Frenkel vfrenkel@xenergy.com

More freewares from Vadim (search winsite.com):

- VBmatch    VB6 add-in matches parentheses, double quotes and VB keywords. 
- ScriptCalc VBScript/JScript expression calculator.
- Terminator Big ASCII file viewer and DBA helper.  

