We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

ISmartIndentProvider Interface

Gets an ISmartIndent object for a given ITextView.

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

public interface ISmartIndentProvider

The ISmartIndentProvider type exposes the following members.

  NameDescription
Public methodCreateSmartIndentCreates a ISmartIndent for the given ITextView.
Top

This is a MEF component part, and should be exported with the following attributes:

[Export(NameSource=typeof(ISmartIndentProvider))] 
[ContentType("some content type")] 

Component exporters must supply at least one content type attribute to specify the applicable content types.

Show: