ClueLang / Clue

C/Rust like programming language that compiles into Lua code
https://crates.io/crates/clue
MIT License
340 stars 15 forks source link

VSCode Language Server Extension #9

Open Enn3Developer opened 2 years ago

Enn3Developer commented 2 years ago

I just found out about the project and wanted to fiddle with it a bit, but when I searched for a Clue extension on VSCode it wasn't there. I think that's something really useful for the userbase and should 100% be implemented. Here's the official guide on how to make one and this one seems to be a bootstrapper tool to make a syntax highlighter Typescript example

Maiori44 commented 2 years ago

While it is nowhere near complete there is an extension for vscode https://github.com/ClueLang/Clue-for-VSCode It has not been published to the marketplace yet, so you have to manually install it for now

Markos-Th09 commented 1 year ago

We have to make a ton of updates to Clue for vscode

Maiori44 commented 1 year ago

The syntax highlighting is easy enough to fix once 3.0 is out, but should the language server be made for 3.0 or 4.0?

Markos-Th09 commented 1 year ago

The syntax highlighting is easy enough to fix once 3.0 is out, but should the language server be made for 3.0 or 4.0?

it would be quite some work to implement all the relevant requests

Maiori44 commented 1 year ago

A language server for 3.0 would just handle syntax errors and maybe some text completion.

Markos-Th09 commented 1 year ago

A language server for 3.0 would just handle syntax errors and maybe some text completion.

and maybe implement basic goto and refactor related requests

Maiori44 commented 1 year ago

What?

Markos-Th09 commented 1 year ago

What?

like Go to definition and rename symbol

Maiori44 commented 1 year ago

Oh. We will see.

Maiori44 commented 1 year ago

Since a language server is now being worked on, should we close this?