|
|
@ -109,6 +109,10 @@ public class CodeCompleter {
|
|
|
|
switch (fileid) {
|
|
|
|
switch (fileid) {
|
|
|
|
case "functions":
|
|
|
|
case "functions":
|
|
|
|
String[] args = line.split("\\|");
|
|
|
|
String[] args = line.split("\\|");
|
|
|
|
|
|
|
|
// Prefix symat to Java commands
|
|
|
|
|
|
|
|
if (lang.equals("java")) {
|
|
|
|
|
|
|
|
args[0] = "symat." + args[0];
|
|
|
|
|
|
|
|
}
|
|
|
|
if (args.length == 2) {
|
|
|
|
if (args.length == 2) {
|
|
|
|
provider.addCompletion(new BasicCompletion(provider, args[0], args[1]));
|
|
|
|
provider.addCompletion(new BasicCompletion(provider, args[0], args[1]));
|
|
|
|
} else if (args.length == 3) {
|
|
|
|
} else if (args.length == 3) {
|
|
|
|