Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines automatic indentation when the enter key is pressed or when navigating to an empty line.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'Declaration
Public Interface ISmartIndentationService
public interface ISmartIndentationService
public interface class ISmartIndentationService
type ISmartIndentationService = interface end
public interface ISmartIndentationService
The ISmartIndentationService type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
GetDesiredIndentation | Gets the desired indentation of an ITextSnapshotLine as displayed in ITextView. |
Top
Remarks
This is a MEF component part, and should be imported as follows:
[Import] ISmartIndentationService selector = null;
This service consumes ISmartIndentProvider to determine how to perform the indentation.