- Install JDK 11+ (JDK 21 LTS recommended) and Node.js (Node.js 20 LTS recommended).
- Clone this project
git clone https://github.com/raylras/zenscript-intelli-sense
- Build the language server
cd zenscript-intelli-sense./gradlew dist
- Build the VSCode extension
cd vscode-extensionnpm installnpm run package
- Install VSCode, IntelliJ IDEA
It is recommended to install the IntelliJ IDEA plugin ANTLR v4.
- Debugging the language server
- Open VSCode settings, find
ZenScript, check theEnable Java Argumentsoption, and restart VSCode. - Create a
Remote JVM Debugconfiguration inIntelliJ IDEA.
Check the logs in the VSCode
Panel,Output,ZenScript Language Server. - Open VSCode settings, find
- Debugging the VSCode extension
- Use VSCode to open the
vscode-extensiondirectory, - click
Run,Start Debugging, or press the shortcut keyF5.
- Use VSCode to open the
- Debugging TextMate syntax
- Enable
VSCode,View,Command Palette,Developer: Inspect Editor Tokens and Scopesoption.
- Enable
MIT © raylras