다음을 통해 공유


ISmartIndentationService Interface

Definition

Provides a Visual Studio service that determines automatic indentation when the enter key is pressed or when navigating to an empty line.

public interface class ISmartIndentationService
public interface class ISmartIndentationService
__interface ISmartIndentationService
public interface ISmartIndentationService
type ISmartIndentationService = interface
Public Interface ISmartIndentationService

Remarks

This is a MEF component part, and should be imported as follows: [Import] ISmartIndentationService selector = null;

Methods

GetDesiredIndentation(ITextView, ITextSnapshotLine)

Gets the desired indentation of an ITextSnapshotLine as displayed in ITextView.

Applies to