BBx-Kitchen / bbj-language-server

BBj Language Server
MIT License
7 stars 6 forks source link

BBj Language Server

This project provides a language server and VS Code extension for the BBj language.

Project Overview

The project consists of two main parts:

How to Test

The easiest way is to open the project in Gitpod.

Open 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:

  1. Run Interop Service (requires the "Debugger for Java" extension) – this starts a Java application that listens for connections from the language server.
    • Alternatively, you can execute the command ./gradlew run in the java-interop subfolder (works without additional VS Code extension).
  2. Run Extension – this starts a second instance of VS Code (in a new browser tab) that contains the BBj language extension and its language server.

Once the new VS Code instance is started, open a bbj file and see how the editor behaves.

Building Locally

If you want to test this project on your local machine, you need to install Node.js and JDK. Then execute the following commands.