public abstract class FileIndentOptionsProvider
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ExtensionPointName<FileIndentOptionsProvider> |
EP_NAME |
Constructor and Description |
---|
FileIndentOptionsProvider() |
Modifier and Type | Method and Description |
---|---|
abstract CommonCodeStyleSettings.IndentOptions |
getIndentOptions(CodeStyleSettings settings,
PsiFile file)
Retrieves indent options for PSI file.
|
IndentStatusBarUIContributor |
getIndentStatusBarUiContributor(CommonCodeStyleSettings.IndentOptions indentOptions) |
protected static void |
notifyIndentOptionsChanged(Project project,
PsiFile file) |
boolean |
useOnFullReformat()
Tells if the provider can be used when a complete file is reformatted.
|
public static final ExtensionPointName<FileIndentOptionsProvider> EP_NAME
public abstract CommonCodeStyleSettings.IndentOptions getIndentOptions(CodeStyleSettings settings, PsiFile file)
settings
- Code style settings for which indent options are calculated.file
- The file to retrieve options for.null
if the provider can't retrieve them.public boolean useOnFullReformat()
protected static void notifyIndentOptionsChanged(Project project, PsiFile file)
public IndentStatusBarUIContributor getIndentStatusBarUiContributor(CommonCodeStyleSettings.IndentOptions indentOptions)