rhaiscript / lsp

Language server for Rhai.
Apache License 2.0
43 stars 4 forks source link

Roadmap to MVP #53

Open tamasfe opened 2 years ago

tamasfe commented 2 years ago

With the current bugs fixed, I think the language server could get into its first shippable state.

Here are the steps that I think need to be done in order to properly ship it:

TODO before shipping

Steps to ship

We'll need to

and then

tamasfe commented 2 years ago

/cc @schungx

Actually the CLI and WASM parts are orthogonal, but we need at least one of them. With WASM the vscode extension is a lot easier to distribute, but some users might want to use the language server wherever (e.g. vim, emacs).

I think we should focus on vscode first as that's where I develop anyway, and WASM bindings are a lot easier than multi-platform builds.

schungx commented 2 years ago

I agree. We should at least get vscode working. WASM will be great.

For all others, we'd need to start distributing binaries, which will be a chore.

schungx commented 2 years ago

@tamasfe I have updated the Definitions part a bit to include types for variables/constants in generated definition files. You can pull from latest to check those.

For example, __scope__.d.rhai would have let hello_there: string;

So far I don't see any particular problems with those types added, so I assume that it is safe...