다음을 통해 공유


ISmartIndentationService 인터페이스

자동 들여쓰기 enter 키를 누르면 빈 줄을 탐색할 때 결정 됩니다.

네임스페이스:  Microsoft.VisualStudio.Text.Editor
어셈블리:  Microsoft.VisualStudio.Text.UI(Microsoft.VisualStudio.Text.UI.dll)

구문

‘선언
Public Interface ISmartIndentationService
public interface ISmartIndentationService
public interface class ISmartIndentationService
type ISmartIndentationService =  interface end
public interface ISmartIndentationService

ISmartIndentationService 형식에서는 다음과 같은 멤버를 노출합니다.

메서드

  이름 설명
Public 메서드 GetDesiredIndentation 원하는 들여쓰기를 가져옵니다는 ITextSnapshotLine 에서 볼 수 있듯이 ITextView.

위쪽

설명

MEF 컴포넌트 부품입니다 하 고 같이 가져와야 합니다.

[Import] ISmartIndentationService selector = null;

이 서비스를 사용 ISmartIndentProvider 들여쓰기를 수행 하는 방법을 결정 합니다.

참고 항목

참조

Microsoft.VisualStudio.Text.Editor 네임스페이스