Add support for contract completion

This commit is contained in:
nickofolas 2022-01-10 16:39:06 -06:00
parent 8c001bd1ae
commit 5cd7e2cfbc

@ -193,6 +193,11 @@ export async function determineAllPossibilitiesForTabCompletion(
for (let i = 0; i < homeComputer.programs.length; ++i) {
allPos.push("./" + homeComputer.programs[i]);
}
//Contracts on current server
for (let i = 0; i < currServ.contracts.length; ++i) {
allPos.push("./" + currServ.contracts[i].fn)
}
return allPos;
}