add prebuild to build tool

This commit is contained in:
2026-04-16 18:52:24 -05:00
parent 7ad098cef5
commit 7d2a68223d
11 changed files with 554 additions and 29 deletions

View File

@@ -202,6 +202,7 @@ export async function createTemplate()
if(project_name)
{
const dir = join(getDocumentsFolder(),"CrossLangProjects",project_name);
mkdirSync(join(getDocumentsFolder(),"CrossLangProjects"));
mkdirSync(dir);
await readCommandToEnd("crosslang",["new",templateName,dir]);

View File

@@ -112,7 +112,7 @@
},
{
"name": "keyword.control.crosslang",
"match": "\\b(if|else|while|for|do|return|each|in|break|try|catch|finally|defer|enumerable|yield|switch|case|default|await|breakpoint|throw)\\b"
"match": "\\b(if|else|while|for|do|return|each|in|break|continue|try|catch|finally|defer|enumerable|yield|switch|case|default|await|breakpoint|throw)\\b"
},
{
"name": "keyword.crosslang",