mirror of https://github.com/noisymime/Arduino.git
add editor.autocomplete flag to disable automatic curly braces
This commit is contained in:
parent
39da3f0867
commit
8ecbded312
|
@ -148,6 +148,7 @@ public class EditorTab extends JPanel implements SketchFile.TextStorage {
|
||||||
textArea.setMarginLineEnabled(false);
|
textArea.setMarginLineEnabled(false);
|
||||||
textArea.setCodeFoldingEnabled(PreferencesData.getBoolean("editor.code_folding"));
|
textArea.setCodeFoldingEnabled(PreferencesData.getBoolean("editor.code_folding"));
|
||||||
textArea.setAutoIndentEnabled(PreferencesData.getBoolean("editor.indent"));
|
textArea.setAutoIndentEnabled(PreferencesData.getBoolean("editor.indent"));
|
||||||
|
textArea.setCloseCurlyBraces(PreferencesData.getBoolean("editor.autocomplete"));
|
||||||
textArea.setAntiAliasingEnabled(PreferencesData.getBoolean("editor.antialias"));
|
textArea.setAntiAliasingEnabled(PreferencesData.getBoolean("editor.antialias"));
|
||||||
textArea.setTabsEmulated(PreferencesData.getBoolean("editor.tabs.expand"));
|
textArea.setTabsEmulated(PreferencesData.getBoolean("editor.tabs.expand"));
|
||||||
textArea.setTabSize(PreferencesData.getInteger("editor.tabs.size"));
|
textArea.setTabSize(PreferencesData.getInteger("editor.tabs.size"));
|
||||||
|
|
|
@ -146,6 +146,10 @@ editor.tabs.size = 2
|
||||||
# automatically indent each line
|
# automatically indent each line
|
||||||
editor.indent = true
|
editor.indent = true
|
||||||
|
|
||||||
|
# enable/disable any 'autocomplete' features
|
||||||
|
# this currently includes 'auto curly brace'
|
||||||
|
editor.autocomplete = true
|
||||||
|
|
||||||
# size of divider between editing area and the console
|
# size of divider between editing area and the console
|
||||||
editor.divider.size = 0
|
editor.divider.size = 0
|
||||||
# the larger divider on windows is ugly with the little arrows
|
# the larger divider on windows is ugly with the little arrows
|
||||||
|
|
Loading…
Reference in New Issue