public class LastRunReformatCodeOptionsProvider
extends java.lang.Object
Constructor and Description |
---|
LastRunReformatCodeOptionsProvider(PropertiesComponent propertiesComponent) |
Modifier and Type | Method and Description |
---|---|
boolean |
getLastCodeCleanup() |
boolean |
getLastOptimizeImports() |
boolean |
getLastRearrangeCode() |
ReformatCodeRunOptions |
getLastRunOptions(PsiFile file) |
TextRangeType |
getLastTextRangeType() |
boolean |
isRearrangeCode(Language language) |
void |
saveCodeCleanupState(boolean value) |
void |
saveOptimizeImportsState(boolean value) |
void |
saveProcessVcsChangedTextState(boolean value) |
void |
saveRearrangeCodeState(boolean value) |
void |
saveRearrangeState(Language language,
boolean value) |
public LastRunReformatCodeOptionsProvider(PropertiesComponent propertiesComponent)
public ReformatCodeRunOptions getLastRunOptions(PsiFile file)
public void saveRearrangeState(Language language, boolean value)
public void saveOptimizeImportsState(boolean value)
public boolean getLastOptimizeImports()
public TextRangeType getLastTextRangeType()
public void saveProcessVcsChangedTextState(boolean value)
public void saveRearrangeCodeState(boolean value)
public boolean getLastRearrangeCode()
public void saveCodeCleanupState(boolean value)
public boolean getLastCodeCleanup()
public boolean isRearrangeCode(Language language)