Fundamentally, you need:
- start the LSP server somehow; maybe as a wasm plugin directly in vscode. The LSP server is a Toit program.
- support starting (forking) the Toit compiler from in there.
- have a way to install/delete packages.
Note that the LSP server provides files to the compiler. Normally we only provide user files and not the SDK. However, it would be possible to let the LSP server provide all files. This might make things easier; or not.