Skip to content

apple/pkl-lsp

Pkl LSP

This is an implementation of the Language Server Protocol for Pkl.

Running the LSP in Visual Studio Code

Make sure you have the vscode plugin installed.

Go to SettingsPkl: Path and set the path to the lsp executable. You need to have Java >=17 in your path.

Features

  • ✓ Diagnostics (WIP)

  • ✓ Hover

  • ✓ Go to definition

  • ❏ Auto complete (WIP: only . auto complete is support at the moment)

  • ❏ Rename

  • ❏ Find references

  • ❏ Code lens

  • ❏ Formatting