GitHunt
SP

A VSCode extension for editing datapacks.

spd

A VSCode extension for editing Minecraft datapacks.

Usage

// TODO

Structure of Source Code

.
├── client // Language Client
│   ├── src
│   │   ├── test // Tests for Language Client
│   │   └── extension.ts // Language Client entry point
├── package.json // The extension manifest.
└── server // Language Server
    └── src
        ├── test // Tests for Language Server
        └── server.ts // Language Server entry point

Building

  • Run npm install in this folder. This installs all necessary npm modules in both the client and server folder.
  • Open VS Code in this folder.
  • Execute Run Build Task command (defaults to Ctrl + Shift + B) to compile the client and server.

Debugging

  • Switch to the Debug viewlet (defaults to Ctrl + Shift + D).
  • Select Launch Client from the drop down.
  • Run the lauch config.
    • If you want to debug the server as well, use the launch configuration Attach to Server

Testing

  • Execute Run Test Task command (defaults to Ctrl + R T) to test both server and client.

Special Thanks To

Languages

TypeScript100.0%

Contributors

GNU General Public License v3.0
Created April 13, 2019
Updated January 28, 2023