|
36 | 36 | import processing.app.Base; |
37 | 37 | import processing.app.Editor; |
38 | 38 | import processing.app.EditorState; |
39 | | -import processing.app.Library; |
40 | 39 | import processing.app.Mode; |
41 | 40 | import processing.app.Preferences; |
42 | 41 | import processing.app.RunnerListener; |
@@ -149,20 +148,19 @@ public File getContentFile(String path) { |
149 | 148 | */ |
150 | 149 | volatile public static int codeCompletionTriggerLength = 2; |
151 | 150 |
|
152 | | - public static final String prefErrorCheck = "pdex.errorCheckEnabled", |
153 | | - prefWarnings = "pdex.warningsEnabled", |
154 | | - prefCodeCompletionEnabled = "pdex.ccEnabled", |
155 | | - prefDebugOP = "pdex.dbgOutput", |
156 | | - prefErrorLogs = "pdex.writeErrorLogs", |
157 | | - prefAutoSaveInterval = "pdex.autoSaveInterval", |
158 | | - prefAutoSave = "pdex.autoSave.autoSaveEnabled", // prefUntitledAutoSave = "pdex.autoSave.untitledAutoSaveEnabled", |
159 | | - prefAutoSavePrompt = "pdex.autoSave.promptDisplay", |
160 | | - prefDefaultAutoSave = "pdex.autoSave.autoSaveByDefault", |
161 | | - prefCCTriggerEnabled = "pdex.ccTriggerEnabled", |
162 | | - prefImportSuggestEnabled = "pdex.importSuggestEnabled"; |
163 | | - |
164 | | -// // TweakMode code (Preferences) |
165 | | - volatile public static boolean enableTweak = false; |
| 151 | + static public final String prefErrorCheck = "pdex.errorCheckEnabled"; |
| 152 | + static public final String prefWarnings = "pdex.warningsEnabled"; |
| 153 | + static public final String prefCodeCompletionEnabled = "pdex.completion"; |
| 154 | + static public final String prefCCTriggerEnabled = "pdex.completion.trigger"; |
| 155 | + static public final String prefDebugOP = "pdex.dbgOutput"; |
| 156 | + static public final String prefErrorLogs = "pdex.writeErrorLogs"; |
| 157 | + static public final String prefAutoSaveInterval = "pdex.autoSaveInterval"; |
| 158 | + static public final String prefAutoSave = "pdex.autoSave.autoSaveEnabled"; |
| 159 | + static public final String prefAutoSavePrompt = "pdex.autoSave.promptDisplay"; |
| 160 | + static public final String prefDefaultAutoSave = "pdex.autoSave.autoSaveByDefault"; |
| 161 | + static public final String prefImportSuggestEnabled = "pdex.importSuggestEnabled"; |
| 162 | + |
| 163 | + static volatile public boolean enableTweak = false; |
166 | 164 |
|
167 | 165 | public void loadPreferences() { |
168 | 166 | log("Load PDEX prefs"); |
|
0 commit comments