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 626
  • Win 494
  • OS X 87
  • Linux 45
Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7
Windows 0 0 0 0 1 3 2 3 0 1 1 1 7 2 0 0 2 2 0 0 2 6 1 0 0 0 0 1 1 2 1 0 0 0 0 0 0 0 3 0 0 1 2 1 1
OS X 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1
Linux 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 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 “MinecraftCommandCode” to filter the packages and select “Minecraft Command Code Syntax Highlighter”

Now any file with an .mcc or .mcfunction extension will use the Minecraft 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.