Partager via


IIndentationManagerService Interface

Definition

This is a service that supports smart indentation in a file.

public interface class IIndentationManagerService
public interface IIndentationManagerService
type IIndentationManagerService = interface
Public Interface IIndentationManagerService

Remarks

This is a MEF component part, and implementations should use the following to import it:

[Import]
IIndentationManagerService IndentationManagerService = null;

Methods

GetIndentation(ITextBuffer, Boolean, Boolean, Int32, Int32)

Get the desired indentation behavior for the specified buffer.

GetIndentSize(ITextBuffer, Boolean)

Determines the appropriate indentation size for buffer when formatting.

GetTabSize(ITextBuffer, Boolean)

Determines the appropriate tab size for buffer when formatting.

UseSpacesForWhitespace(ITextBuffer, Boolean)

Determines whether spaces or tab should be used for buffer when formatting.

Applies to