Advanced, C#/J#, Text Editor, Options Dialog Box
Use this dialog box to modify the settings for editor formatting, code refactoring, and XML documentation comments for Visual C# and Visual J#. You can access this dialog box by clicking Options on the Tools menu, expanding the Text Editor folder, expanding C# or Visual J#, and then clicking Advanced.
The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see.
- Enter outlining mode when files open
When selected, automatically outlines the code file, which creates collapsible blocks of code. The first time a file is opened, #regions blocks and inactive code blocks are collapsed.
- Underline errors in the editor
Identifies build errors in code. When this option is selected, wavy underlines appear in colors that have specific meanings:
Parse errors are red.
Build errors are blue.
Build warnings are purple.
Invalidedits are green.
Move the pointer over the underlined code segment to see a ToolTip with information about the error.
- Warn if build errors exist when refactoring
Displays thewhen you attempt to refactor code that contains build errors.
XML Documentation Comments
- Generate XML documentation comments for ///
When selected, inserts the <summary> start and end tags automatically for XML documentation comments after you type the /// comment introduction. For more information on XML documentation, see.
- Surround generated code with #region
Inserts a #region <interface name> Member around the methods when Implement Interface or Implement Interface Explicitly is used.