DefaultOptionExtensions Class

Definition

Extension methods for common general options.

C++/CX
public ref class DefaultOptionExtensions abstract sealed
Inheritance
DefaultOptionExtensions

Methods

GetIndentSize(IEditorOptions)

Gets the size of an indent for the specified IEditorOptions.

GetIndentStyle(IEditorOptions)

Gets the indentation style for the specified IEditorOptions.

GetInsertFinalNewLine(IEditorOptions)

Determines whether to insert final newline.

GetNewLineCharacter(IEditorOptions)

Gets the new line character for the specified editor options.

GetReplicateNewLineCharacter(IEditorOptions)

Determines whether to duplicate the new line character if it is already present when inserting a new line.

GetTabSize(IEditorOptions)

Gets the size of the tab for the specified IEditorOptions.

GetTooltipAppearanceCategory(IEditorOptions)

Determines appearance category for tooltips originating in this view

GetTrimTrailingWhieSpace(IEditorOptions)

Determines whether to trim trailing whitespace.

IsConvertTabsToSpacesEnabled(IEditorOptions)

Determines whether the option to convert tabs to spaces is enabled in the specified IEditorOptions.

Applies to

Product Versions
Visual Studio SDK 2015, 2017, 2019, 2022