Skip to content

lucifiel1618/SublimeScarpetSyntax

Repository files navigation

SublimeScarpetSyntax: A SublimeText Package for Scarpet

GitHub release (latest by date) Test

Overview

Scarpet, or Script for Carpet, is a script language used to design custom programs for Carpet Mod in Minecraft.

SublimeScarpetSyntax is a SublimeText package that enables syntax highlighting and autocomplete features of SublimeText for Scarpet code to improve your coding/debugging experience with Scarpet in SublimeText.

preview image

Installation

A. From Package Control (recommended)

  1. Install Package Control
  2. Open the command palette
    • Win/Linux: control ⌃shift ⇧+p -> install package
    • Mac: command ⌘shift ⇧+p -> install package
  3. Search for Scarpet and press enter ⏎ to install

B. Manual

  • Mac
cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages
git clone --depth=1 https://github.com/lucifiel1618/SublimeScarpetSyntax.git Scarpet
  • Linux
cd ~/.config/sublime-text-3/Packages
git clone --depth=1 https://github.com/lucifiel1618/SublimeScarpetSyntax.git Scarpet
  • Win
cd "%APPDATA%\Sublime Text 3\Packages"
git clone --depth=1 https://github.com/lucifiel1618/SublimeScarpetSyntax.git Scarpet

Demos

Code from Scarpet App Store

example code

Detailed Syntax Tests

detailed stntax tests