/ZenScript

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

Primary LanguageTypeScriptMIT LicenseMIT

ZenScript

ZenScript is a vscode plugin for CraftTweaker ZenScript.

Features

  • Syntax Highlight
  • Code Snippets
  • BracketHandler Completion
  • Priority Tree
  • 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 version
0.1.17 0.1.22 ~ Partially
0.1.16 0.1.10 ~ 0.1.21 NO_PREVIOUS_VERSION

Extension Settings

This extension contributes the following settings:

  • zenscript.maxNumberOfProblems: Controls the maximum number of problems produced by the server.
  • zenscript.maxHistoryEntries: Controls the maximum number of history entries responsed by the server.
  • zenscript.showIsProjectWarn: Whether to show warning of isProject.
  • zenscript.autoshowLTCompletion: Whether to show autocompletion after typing <.
  • 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 in if (expression) are required. (#5)

Release Notes

0.0.1

Basic utilities.