MiniZinc syntax package for Sublime Text 3.
- Download this Repo
- Move the folder
MiniZinc
to the Sublime Text Package directory.- The directory can be found by following
Sublime Text
->Preferences
->Browse Packages...
->User
- It generates a path like
~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User/MiniZinc/
- The directory can be found by following
- Please feel free to improve the
src/MiniZinc.yaml
. In Sublime Text, by pressingfn + F7
, you can generate new*.tmLanguage
files. - The
MiniZinc.sublime-completions
contains keywords used for auto-complete. - To create a new language syntax from scratch, you need to enable the function
Tools > Packages > Package Developments > New Syntax Definition
. This can be accomplished by installing first thePackage Control
then theAAAPackageDev
.
- This package contains all the keywords listed in the MiniZinc Tutorial which is not complete; we are improving it all the time.
- Currently this package is tested with Sublime Text 2 and Sublime Text 3 on MAC OSX.
- Tong Liu (t.liu at cs.unibo.it)
Copyright © 2015-2019 Tong Liu
The configuration files are free of use: you can redistribute it and/or modify it under the terms of the GNU General Public License. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.