Home> Products> ReSharper> Features> NAnt and MS Build Scripts Editing

NAnt and MSBuild Scripts Editing

All build script editing features are available in all ReSharper 3.0 editions.

On-the-fly Error Highlighting

ReSharper analyses your build scripts on the fly - while you type - and highlights unknown properties, targets, tasks, and attributes. Status indicator and navigation between errors are available in build scripts as well.

to the top

Quick-Fixes

In build script files, ReSharper offers quick-fixes for unknown properties, targets, tasks, and their attributes. Quick-fixes are represented by the red light bulb that appears automatically to the left of the code line containing the error when you position the caret on the error.

to the top

Code Completion

ReSharper lets you complete names of properties, targets, tasks, and attributes that are available within the current scope.

to the top

XML Editing Features

ReSharper's XML editing features are available when editing build scripts. They include:

to the top

Navigation and Search

ReSharper assists you in build scripts navigation in a number of ways including:

All of the navigation features in build scripts are supported in the same as way as in C# code.

to the top

Rename Refactoring

When you rename a property or target with ReSharper, all its references and even usages in comments and strings are automatically updated to reflect the change. Just press F2 on a symbol to be renamed.

to the top

Safe Delete Refactoring

Now when you invoke Safe Delete refactoring on a target or a property in a build file, ReSharper does all necessary validations and operations to remove selected symbol. ReSharper can also remove any conflicting references for you. Just press Alt + Del on a symbol to be deleted.

to the top

File Structure View

With the File Structure window, you can see what properties and targets the current build script contains. Within the window, you can rearrange build script structural elements within the file with a simple drag-and-drop.

to the top