Skip to content

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

License

Notifications You must be signed in to change notification settings

Death-123/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.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.supportMinecraftFolderMode: Whether your active folder is 'minecraft' like, which means that the extension detects ./scripts/.zsrc, not ./.zsrc.
  • 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 of if (expression) are required. (#5)

Special Thanks

Release Notes

0.0.1

Basic utilities.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 99.9%
  • ZenScript 0.1%