Note: While the syntax highlighting should work on any OS with no dependencies, the build system is Windows only, and requires that jSpin's bin
directory (default: C:\jspin\bin
) be added to the PATH variable.
install
and select Package Control: Install Package
promela spin
and select "Promela_Spin" 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-promela-spin.git "sublime-promela-spin"
After installing this package, open an PML file and switch the language to Promela
, using one
of the following methods:
To make Promela
the default highlighting for the current extension:
.pml
)View -> Syntax -> Open all with current extension as... -> Promela
The "Promela - Random" build system should be automatically selected when a Promela file is open.
To run the build, press Ctrl+B or select "Build" from the "Tools" menu.
Corban Mailloux
Copyright 2014 Corban Mailloux