public interface IndentStrategy
canIndent(int, int, PsiElement)
returns false
) do not change their indentation.
This may be useful for cases like HEREDOC text handling.Modifier and Type | Method and Description |
---|---|
default boolean |
canIndent(int indentationStartOffset,
int indentationEndOffset,
PsiElement element)
Checks if an element can be indented.
|
default boolean |
canIndent(PsiElement element)
Deprecated.
|
@Deprecated default boolean canIndent(PsiElement element)
canIndent(int, int, PsiElement)
default boolean canIndent(int indentationStartOffset, int indentationEndOffset, PsiElement element)
indentationStartOffset
- The start offset of the whole indentation.indentationEndOffset
- The end offset of the whole indentation.element
- The element to check.