Skip to content

Visual Studio Code extension/Language Server for ZenScript, includes highlight, code snippet and language server(WIP). Works with 👇

License

Notifications You must be signed in to change notification settings

Yesterday17/ZenScript

Repository files navigation

ZenScript

ZenScript is a vscode plugin for CraftTweaker ZenScript.

Features

  • Syntax Highlight
  • Code Snippets
  • BracketHandler Completion
  • Priority Tree
  • Remote FileSystem Support
  • Manual import autocomplete
  • History Entries(WIP)

Requirements

You must have this Minecraft Mod installed to have use most features of this plugin.
If you're just editing .zs files, you can only have syntax highlight and simple code snippets.

Probe Version Map

The following table shows the version of Probe used in different Zenscript versions:

Probe ZenScript Compatable with previous ZenScript version
0.1.23 0.1.41~ true
0.1.20 0.1.31 ~ 0.1.40 true
0.1.19 0.1.30 true
0.1.18 0.1.25 ~ 0.1.29 true
0.1.17 0.1.22 ~ 0.1.24 Partially
0.1.16 0.1.10 ~ 0.1.21 NO_PREVIOUS_VERSION

Extension Settings

This extension contributes the following settings:

  • zenscript.maxHistoryEntries: Controls the maximum number of history entries responsed by the server.
  • zenscript.showIsProjectWarn: Whether to show warning of isProject.
  • zenscript.modIdItemCompletion: Whether to show modid autocompletion with bracketHandlers.
  • zenscript.trace.server: Traces the communication between VS Code and the language server.

Known Issues

  • The brackets of if (expression) are required. (#5)

Special Thanks

Release Notes

0.0.1

Basic utilities.