|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Indent | |
|---|---|
| com.intellij.formatting | Provides interfaces which allow to implement code formatters for custom languages. |
| Uses of Indent in com.intellij.formatting |
|---|
| Methods in com.intellij.formatting that return Indent | |
|---|---|
static Indent |
Indent.getAbsoluteLabelIndent()
Returns the "absolute label" indent instance, indicating that the block will be indented by the number of spaces indicated in the "Project Code Style | General | Label indent" setting from the leftmost column in the document. |
static Indent |
Indent.getAbsoluteNoneIndent()
Returns the "absolute none" indent instance, indicating that the block will be placed at the leftmost column in the document. |
Indent |
ChildAttributes.getChildIndent()
Returns the indent of the child block. |
static Indent |
Indent.getContinuationIndent()
Returns the "continuation" indent instance, indicating that the block will be indented by the number of spaces indicated in the "Project Code Style | General | Continuation indent" setting relative to its parent block. |
static Indent |
Indent.getContinuationWithoutFirstIndent()
Returns the "continuation without first" indent instance, indicating that the block will be indented by the number of spaces indicated in the "Project Code Style | General | Continuation indent" setting relative to its parent block, unless this block is the first of the children of its parent having the same indent type. |
Indent |
Block.getIndent()
Returns an indent object indicating how this block is indented relative to its parent block. |
static Indent |
Indent.getLabelIndent()
Returns the "label" indent instance, indicating that the block will be indented by the number of spaces indicated in the "Project Code Style | General | Label indent" setting relative to its parent block. |
static Indent |
Indent.getNoneIndent()
Returns the standard "empty indent" instance, indicating that the block is not indented relative to its parent block. |
static Indent |
Indent.getNormalIndent()
Returns an instance of a regular indent, with the width specified in "Project Code Style | General | Indent". |
static Indent |
Indent.getSpaceIndent(int spaces)
Returns an indent with the specified width. |
| Constructors in com.intellij.formatting with parameters of type Indent | |
|---|---|
ChildAttributes(Indent childIndent,
Alignment alignment)
Creates a child attributes setting with the specified indent and alignment. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||