Package io.github.zhengzhengyiyi.config
Class ConfigData
java.lang.Object
io.github.zhengzhengyiyi.config.ConfigData
Configuration data class that holds all configurable variables for the editor.
This class is used for JSON serialization and deserialization.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe theme can be either dark, light and auto -
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanIf true, it will use theme to render backgroundbooleanto enable suggestions when you typebooleanIf enable, it will enable the auto hint like if you pressed "(" it will make a ")"booleanIf it is true, you can not edit the filesThe theme of the editorConfigData.ThemeMode -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
readonly_mode
@SerializedName("readonly_mode") public boolean readonly_modeIf it is true, you can not edit the files -
hint
@SerializedName("hint") public boolean hintIf enable, it will enable the auto hint like if you pressed "(" it will make a ")" -
theme
The theme of the editorConfigData.ThemeMode -
doRenderBackground
public boolean doRenderBackgroundIf true, it will use theme to render background -
doSuggestions
public boolean doSuggestionsto enable suggestions when you type
-
-
Constructor Details
-
ConfigData
public ConfigData()
-