public class CodeInsightSettings extends java.lang.Object implements PersistentStateComponent<Element>, java.lang.Cloneable
Constructor and Description |
---|
CodeInsightSettings() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener,
Disposable parentDisposable) |
CodeInsightSettings |
clone() |
boolean |
equals(java.lang.Object o) |
SmartBackspaceMode |
getBackspaceMode() |
static CodeInsightSettings |
getInstance() |
Element |
getState() |
boolean |
isSelectAutopopupSuggestionsByChars() |
void |
loadState(Element state)
This method is called when new component state is loaded.
|
void |
setBackspaceMode(SmartBackspaceMode mode) |
void |
setSelectAutopopupSuggestionsByChars(boolean value) |
void |
writeExternal(Element element) |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeComponent, noStateLoaded
public boolean SHOW_EXTERNAL_ANNOTATIONS_INLINE
public boolean SHOW_INFERRED_ANNOTATIONS_INLINE
public boolean SHOW_PARAMETER_NAME_HINTS_ON_COMPLETION
public boolean AUTO_POPUP_PARAMETER_INFO
public int PARAMETER_INFO_DELAY
public boolean AUTO_POPUP_JAVADOC_INFO
public int JAVADOC_INFO_DELAY
public boolean AUTO_POPUP_COMPLETION_LOOKUP
public int COMPLETION_CASE_SENSITIVE
public static final int ALL
public static final int NONE
public static final int FIRST_LETTER
@Deprecated public boolean SELECT_AUTOPOPUP_SUGGESTIONS_BY_CHARS
public boolean AUTOCOMPLETE_ON_CODE_COMPLETION
public boolean AUTOCOMPLETE_ON_SMART_TYPE_COMPLETION
@Deprecated public boolean AUTOCOMPLETE_COMMON_PREFIX
public boolean SHOW_FULL_SIGNATURES_IN_PARAMETER_INFO
public boolean SMART_INDENT_ON_ENTER
public boolean INSERT_BRACE_ON_ENTER
public boolean INSERT_SCRIPTLET_END_ON_ENTER
public boolean JAVADOC_STUB_ON_ENTER
public boolean SMART_END_ACTION
public boolean JAVADOC_GENERATE_CLOSING_TAG
public boolean SURROUND_SELECTION_ON_QUOTE_TYPED
public boolean AUTOINSERT_PAIR_BRACKET
public boolean AUTOINSERT_PAIR_QUOTE
public boolean REFORMAT_BLOCK_ON_RBRACE
public int REFORMAT_ON_PASTE
public static final int NO_REFORMAT
public static final int INDENT_BLOCK
public static final int INDENT_EACH_LINE
public static final int REFORMAT_BLOCK
public boolean INDENT_TO_CARET_ON_PASTE
public int ADD_IMPORTS_ON_PASTE
public static final int YES
public static final int NO
public static final int ASK
public boolean HIGHLIGHT_BRACES
public boolean HIGHLIGHT_SCOPE
public boolean USE_INSTANCEOF_ON_EQUALS_PARAMETER
public boolean USE_ACCESSORS_IN_EQUALS_HASHCODE
public boolean HIGHLIGHT_IDENTIFIER_UNDER_CARET
public boolean OPTIMIZE_IMPORTS_ON_THE_FLY
CodeInsightWorkspaceSettings.optimizeImportsOnTheFly
public boolean ADD_UNAMBIGIOUS_IMPORTS_ON_THE_FLY
public boolean ADD_MEMBER_IMPORTS_ON_THE_FLY
public boolean JSP_ADD_UNAMBIGIOUS_IMPORTS_ON_THE_FLY
public boolean TAB_EXITS_BRACKETS_AND_QUOTES
public java.lang.String [] EXCLUDED_PACKAGES
public static CodeInsightSettings getInstance()
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener, Disposable parentDisposable)
public CodeInsightSettings clone()
clone
in class java.lang.Object
public boolean isSelectAutopopupSuggestionsByChars()
public void setSelectAutopopupSuggestionsByChars(boolean value)
public SmartBackspaceMode getBackspaceMode()
public void setBackspaceMode(SmartBackspaceMode mode)
public void loadState(Element state)
PersistentStateComponent
State object should be used directly, defensive copying is not required.
loadState
in interface PersistentStateComponent<Element>
state
- loaded component stateXmlSerializerUtil.copyBean(Object, Object)
public Element getState()
getState
in interface PersistentStateComponent<Element>
null
value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializer
public void writeExternal(Element element)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object