Syntax highlighting for MIT's Alloy in Sublime Text 3.
(Recommended) Automatic Installation using Sublime Text Package Control
- Open Sublime Text's Command Palette (default: Ctrl+Shift+P)
- Type
install
and selectPackage Control: Install Package
- Type
mit alloy
and select "MIT_Alloy" to install the package.
Go to Preferences -> Browse Packages
, and then either download and unzip this plugin into that directory, or:
git clone https://github.com/corbanmailloux/sublime-mit-alloy.git "sublime-mit-alloy"
After installing this package, open an ALS file and switch the language to MIT Alloy
, using one
of the following methods:
- Select from the list of supported languages in your status bar at the bottom right corner of your editor
- Ctrl+Shift+P and search for "MIT Alloy"
To make MIT Alloy
the default highlighting for the current extension:
- Open a file with the extension you want to set a default for (i.e.
.als
) - Navigate through the following menus in Sublime Text:
View -> Syntax -> Open all with current extension as... -> MIT Alloy
Corban Mailloux
Copyright 2014 Corban Mailloux