Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Zenscript (Crafttweaker) #12084

Open
Zhaith-Izaliel opened this issue Nov 18, 2024 · 1 comment
Open

Add support for Zenscript (Crafttweaker) #12084

Zhaith-Izaliel opened this issue Nov 18, 2024 · 1 comment
Labels
C-enhancement Category: Improvements

Comments

@Zhaith-Izaliel
Copy link

Zenscript is the language used in combination with Crafttweaker to add scripts to modded Minecraft for every modloaders supported by Crafttweaker. It is (without surprise) supported by both VSCode and Intellij IDEA through an extention, you can find here: https://github.com/raylras/zenscript-intelli-sense

I think it could be a great addition to Helix to add support for this language. However, we will have to create a treesitter grammar. As such, you can find the language documentation here: https://docs.blamejared.com/1.21.1/en/getting_started

From the intellisense plugin, I think we could be able to extract the LSP from there, though I am not sure if it is possible since I'm not versed in Kotlin.

Do you think it's a good addition to Helix ?

If I can find the time, I will try to create the treesitter grammar and try to extract and build the lsp to at least see if it's truly possible to integrate that in Helix, though it will take me a lot of time to figure out the details. If you don't think we should add support for zenscript into upstream helix, I'll try to manage a repository for building your own grammar + building the lsp.

@Zhaith-Izaliel Zhaith-Izaliel added the C-enhancement Category: Improvements label Nov 18, 2024
@kirawi
Copy link
Member

kirawi commented Nov 19, 2024

We don't generally include lesser-used languages in Helix to avoid increasing the runtime size for packaging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: Improvements
Projects
None yet
Development

No branches or pull requests

2 participants