Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>PackScript SupportNew to Visual Studio Code? Get it now.
PackScript Support

PackScript Support

Slackow

|
39 installs
| (1) | Free
Adds Syntax Highlighting for Packscript, an extension to python
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

PackScript Support

Highlight .dps, .fps, and .rps files with the PackScript language, an extension of Python designed to generate .mcfunction and .json files for Minecraft Datapacks.

PackScript Repo

Auto Compile

If a .packscript-ext.json file is present at the workspace root with an output field, the extension will run packscript c each time a file in the workspace is saved. The command uses the workspace root as the input directory and the output value as the destination. Example configuration:

{
  "output": "build"
}

This results in the following command on save:

packscript c -i <workspace root> -o build

Any errors printed to standard error during compilation appear in the Problems view.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft