To run iui code, use a command like the following:
node iui one.iui
The VSCode extension supports syntax highlighting and adds a file icon to iui files.
- Open just the extension folder in VSCode.
- Use the VSCode launcher to open a VSCode window with the current version of the extension running.
- Use cmd + p to run
Developer: reload windowwhen making any changes. - When making changes to the grammar, run
node syntaxes/generate.jsto generate the json.
- Open just the extension folder in VSCode.
- Increment the semantic version number in package.json.
- Update
vsceto the latest version withnpm install --global @vscode/vsce - Run
vsce publish. This publishes to VSCode's marketplace. - Run
vsce package. This generates a .vsix file. - Upload the .vsix file to https://open-vsx.org/ so it appears in Cursor. Click "Publish" and click "Publish Extension". Then select the .vsix file.
Any changes or new dependencies should be added to the compiler/generateRuntime.js script. After running that file with Node it will build an updated runtime/runtime.js file.