This documentation is archived and is not being maintained.

DefaultOptions Class

Common editor default options.


Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

public static class DefaultOptions

The DefaultOptions type exposes the following members.

Public fieldStatic memberConvertTabsToSpacesOptionIdDetermines whether to convert tabs to spaces.
Public fieldStatic memberIndentSizeOptionIdDetermines the size of an indentation.
Public fieldStatic memberNewLineCharacterOptionIdDetermines the newline character or characters.
Public fieldStatic memberReplicateNewLineCharacterOptionIdDetermines whether to duplicate the new line character already present when inserting a new line.
Public fieldStatic memberTabSizeOptionIdDetermines size of a tab.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.