mirror of
https://github.com/carlrobertoh/ProxyAI.git
synced 2026-05-11 04:50:31 +00:00
262 - Support auto code formatting (#292)
This commit is contained in:
parent
2372eec3cf
commit
ae7f5d17db
5 changed files with 56 additions and 8 deletions
|
|
@ -23,6 +23,7 @@ public class ConfigurationState implements PersistentStateComponent<Configuratio
|
|||
private boolean createNewChatOnEachAction;
|
||||
private boolean ignoreGitCommitTokenLimit;
|
||||
private boolean methodNameGenerationEnabled = true;
|
||||
private boolean autoFormattingEnabled = true;
|
||||
private Map<String, String> tableData = EditorActionsUtil.DEFAULT_ACTIONS;
|
||||
|
||||
public static ConfigurationState getInstance() {
|
||||
|
|
@ -95,4 +96,12 @@ public class ConfigurationState implements PersistentStateComponent<Configuratio
|
|||
public void setMethodNameGenerationEnabled(boolean methodNameGenerationEnabled) {
|
||||
this.methodNameGenerationEnabled = methodNameGenerationEnabled;
|
||||
}
|
||||
|
||||
public boolean isAutoFormattingEnabled() {
|
||||
return autoFormattingEnabled;
|
||||
}
|
||||
|
||||
public void setAutoFormattingEnabled(boolean autoFormattingEnabled) {
|
||||
this.autoFormattingEnabled = autoFormattingEnabled;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue