Review Properties

Top  Previous  Next

The Review Text window allows you to configure the Mandatory Text or Forbidden Text reviews:

ReviewProperties

For each review you can set the following properties:

  • Description: a name for the review.
  • Text: the text of the review. In this text you can use predefined variables whose values are replaced by MZ-Tools just before applying the review in the text document at the requested level. For example, the file name, the author, etc.
  • Apply to files of kind: the review can be applied to files of source code, HTML or text. When it applies to files of source code, you can choose the kind of source code files such as forms, usercontrols, components, etc. as well as the .NET language of the source code.
  • Level: for reviews which apply to source code files you can define at what level in the source code the review should be applied. The level can be the whole file, each class in the source code file, at procedure level, etc. You can also specify (using a regular expression) the name of the code element or file. For better performance, try to use a level as greater as possible. For example, the file level is much faster than the procedure level.
  • Search Options: since reviews search text in files, you can customize through this property the search options (match whole words, match case, exclude comments, exclude literals, etc.). You can also use wildcards or regular expressions which can be added to the text using the Insert button.
  • Comment: a comment about the review.
  • Active: this property indicates whether the review is active or not, since you may want to disable some reviews without deleting them.
  • Execute review before build: through this property you can force the execution of a review before a build in the Release configuration.

See Also:

Review Forbidden Text Options

Review Mandatory Text Options

Predefined Variables