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 573
  • Mac 404
  • Linux 368
Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16
Windows 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 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 1
Mac 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 0 0
Linux 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 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!