ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Marshal Command Code

by 42iscool42 ST2/ST3

Marshal Command Code Syntax Highlighter

Details

Installs

  • Total 661
  • Win 523
  • OS X 93
  • Linux 45
Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3
Windows 1 0 0 5 0 3 0 0 1 1 3 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 8
OS X 0 0 0 2 0 0 0 0 2 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Marshal Command Code: A Syntax Highlighter

Created by Nathan Liparski with input and testing by Moesh.

Using MCC Will Make Your Code Maintainable

Latest news

The v1.12 update of Minecraft: Java Edition introduced functions! Now is Marshal Command Code's time to shine! Of course, we haven't forgotten about our friends over at Smelt. That's why we've decided to provide explicit support for Smelt through .mcc and MC Functions through .mcfunction files!

What is Marshal Command Code?

Marshal Command Code is a syntax highlighter built for Sublime Text! Our goal is to provide practical highlighting to support as many themes as possible. We attempt to strike a balance between categorization and readability, meaning the code highlights the relevant parts of the logic while checking for errors in the rigid structure of NBT, JSON, the scoreboard, and commands themselves.

Well, what does it look like?

No Syntax Highlighting No Syntax HighlightingAll Hollow's Eve Theme. An Example of MCCCobalt Theme. An Example of MCCSolarized (Light) Theme. An example of MCCMonokai Bright Theme. An Example of MCC

Installation

Sublime is an extremely powerful, but kind of complicated, text editor. Learning how to use it effectively will be key to keeping your code maintainable.

Instructions

Installing Package Control can be scary, but just follow the instructions carefuly. You'll be OK.

  1. Install Sublime
  2. Install Package Control Plugin (double-check your Sublime version)
  3. With Sublime opened, press Ctrl+Shift+P to open the Command Palette
  4. Type “install package” into the Command Palette and select “Package Control: Install Package”
  5. Type “Marshal Command Code” to filter the packages and select “Marshal Command Code Syntax Highlighter”

Now any file with an .mcc or .mcfunction extension will use the Marshal Command Code syntax highlighting.

If you run into any issues, feel free to send an email to Moesh with the details or open an issue on the github issue page.