mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-06-18 06:41:08 +00:00
WSU
This commit is contained in:
@@ -572,13 +572,12 @@ public class ProjectManager
|
|||||||
jc.put("editor.suggest.showKeywords", false);
|
jc.put("editor.suggest.showKeywords", false);
|
||||||
jc.put("editor.suggest.showSnippets", false);
|
jc.put("editor.suggest.showSnippets", false);
|
||||||
jc.put("editor.suggest.showWords", false);
|
jc.put("editor.suggest.showWords", false);
|
||||||
jc.put("json.maxItemsComputed", 50000);
|
|
||||||
JSONObject st = new JSONObject();
|
JSONObject st = new JSONObject();
|
||||||
st.put("strings", true);
|
st.put("strings", true);
|
||||||
jc.put("editor.quickSuggestions", st);
|
jc.put("editor.quickSuggestions", st);
|
||||||
jc.put("editor.suggest.insertMode", "replace");
|
jc.put("editor.suggest.insertMode", "replace");
|
||||||
settings.put("[json]", jc);
|
settings.put("[json]", jc);
|
||||||
settings.put("json.maxItemsComputed", 50000);
|
settings.put("json.maxItemsComputed", 15000);
|
||||||
|
|
||||||
JSONArray schemas = buildSchemas(Iris.globaldata);
|
JSONArray schemas = buildSchemas(Iris.globaldata);
|
||||||
settings.put("json.schemas", schemas);
|
settings.put("json.schemas", schemas);
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
package com.volmit.iris.gen;
|
package com.volmit.iris.gen;
|
||||||
|
|
||||||
import java.awt.Color;
|
import java.awt.Color;
|
||||||
import java.io.File;
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.lang.reflect.Method;
|
import java.lang.reflect.Method;
|
||||||
|
|
||||||
@@ -205,13 +204,8 @@ public class IrisChunkGenerator extends CeilingChunkGenerator implements IrisCon
|
|||||||
CNG.creates = 0;
|
CNG.creates = 0;
|
||||||
getData().dump();
|
getData().dump();
|
||||||
getCache().drop();
|
getCache().drop();
|
||||||
Iris.proj.updateWorkspace(getWorkspaceFile());
|
|
||||||
onHotload();
|
onHotload();
|
||||||
}
|
Iris.proj.updateWorkspace(Iris.proj.getWorkspaceFile(getDimension().getLoadKey()));
|
||||||
|
|
||||||
private File getWorkspaceFile()
|
|
||||||
{
|
|
||||||
return new File(getDimension().getLoadFile().getParent(), getDimension().getLoadKey() + ".code-workspace");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public long guessMemoryUsage()
|
public long guessMemoryUsage()
|
||||||
|
|||||||
Reference in New Issue
Block a user