- 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-extension
npm install
npm 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 Arguments
option, and restart VSCode. - Create a
Remote JVM Debug
configuration 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-extension
directory, - 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 Scopes
option.
- Enable
MIT © raylras