This project provides a language server and VS Code extension for the BBj language.
The project consists of two main parts:
bbj-vscode
– VS Code extension with BBj language server based on Langiumjava-interop
– Java executable that provides information about the Java classpath (classes, fields, methods) via a JSON-RPC connectionThe easiest way is to open the project in Gitpod.
This opens a VS Code instance in your browser that automatically builds the project code. Once the terminal processes are done, go to the "Run and Debug" view and start two launch configurations:
./gradlew run
in the java-interop
subfolder (works without additional VS Code extension).Once the new VS Code instance is started, open a bbj file and see how the editor behaves.
If you want to test this project on your local machine, you need to install Node.js and JDK. Then execute the following commands.
bbj-vscode
subfolder: npm install
java-interop
subfolder: ./gradlew assemble