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

Cool

by princjef ALL

A basic syntax highlighter for the Cool programming language

Details

Installs

  • Total 1K
  • Win 578
  • Mac 405
  • Linux 369
Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9
Windows 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 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 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Cool Syntax Highlighter for Sublime Text

A basic syntax highlighter for the Cool (Classroom Object-Oriented Language) programming language.

Installation

The easiest way to install the package is through the Package Control. Once you have Package Control installed, type Ctrl+Shift+P (Cmd+Shift+P on Mac) and select the Package Control: Install Package command. Select the Cool package and wait for it to install.

Usage

Once the package is installed, there will be a language option for Cool (located in the bottom right corner of the window). Unfortuantely, Cool and Lisp share the .cl file extension, so you may find that .cl files still default to the Lisp highlighter. To change this to Cool, simply click in the bottom right corner of the window where it says Lisp and select Cool from the dropdown.

Bug Reporting

This syntax highlighter is still in development. If you discover an issue with the highlighter, please report it in the issues section of this repository. Feel free to fork and pull request if you would like to fix a bug/add a feature yourself.

Contributing

If you would like to contribute to the repository (either via bugfixes or added awesomeness), you can fork the repository and submit a pull request with your changes. The highlighter is written in conjunction with AAAPackageDev, so take a look there if you want to learn how to edit the highlighter. There is also a tutorial from Sublime Text to help you out.

Whatever you decide to do, please make changes to the cool.JSON-tmLanguage file, then convert it to a .tmLanguage file using AAAPackageDev. Any pull requests that change cool.tmLanguage without changing cool.JSON-tmLanguage will be rejected. Thanks for your help!