This monorepo is the home of the KIELER VS Code project. It mainly consists of a Visual Studio Code extension.
- keith-vscode: VS Code extension that adds support for multiple KIELER languages in VS Code.
Development of this project requires Node.js v16.x and
yarn v1.x. Further, language server jars, named
kieler-language-server.jar
, have to placed in the keith-vscode/server
folder to develop
the VS Code extension. The latest jars can be downloaded
here.
The keith-vscode
extension has a dependency on the
klighd-vscode to add diagram support. You have to install
the extension locally if VS Code is not able to install the dependency automatically.
All scripts that are available at the monorepo root. Run a script with
yarn <script>
.
Script name | Description |
---|---|
clean | Removes all build results in each package. |
lint | Runs eslint in all packages to identify style problems. |
build | Builds all packages for production. |
watch | Builds all packages for development in watch mode. |
package | Builds and packages all packages for distribution. E.g. creates a keith-vscode.vsix file. |
We recommend VS Code to develop the VS Code extension to make use of the provided launch tasks. The following steps are required to start developing.
- Fulfill the requirements above.
- Install all workspace recommended extensions.
- Run
yarn
in the monorepo root to install all dependencies (if not already done). - Run the "Launch VS Code Extension" launch configuration. This also runs a task to watch all packages.
- A VS Code instance with the
keith-vscode
extension should be started. - After changes to your files, run the "Reload Window" command in your dev VS Code instance.
The launch configuration "Launch VS Code Extension (Socket)" can be used to connect to a Language Server run in Eclipse. See the relevant documentation for more setup information.
- Fulfill the requirements above.
- Run
yarn
in the monorepo root to install all dependencies (if not already done). - Run
yarn package
- Run
code --install-extension keith-vscode/keith-vscode.vsix