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

Oz

Oz language support for Sublime Text 3

Details

Installs

  • Total 340
  • Win 180
  • Mac 72
  • Linux 88
Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12
Windows 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
Mac 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 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 1 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

Sublime/Oz

Oz language support for Sublime Text 3.

Features

  • Syntax Highlighting - detects files matching the pattern *.oz.
  • Comments - Comment/Uncomment Oz code using standard commands/shortcuts.
  • OPI Integration - Submit current line/selection/file to the Oz compiler.
    • Still a work in progress. Killing subprocesses does not work reliably.

Preview

Screenshot

Installation

Sublime/Oz is available from Package Control under the name Oz.

In order to build and run Oz code, the Oz compiler will need to be installed separately. The ozc and ozengine binaries will have to be included in your PATH variable.

Usage

Code can be submitted to the compiler in individual lines, in regions (selected text) or entire files (buffer). These commands can be accessed from the “Oz” menu, the context menu or with the following shortcuts:

  • Feed Line: Ctrl-. + Ctrl-l
  • Feed Region: Ctrl-. + Ctrl-r
  • Feed Buffer: Ctrl-. + Ctrl-b
  • Kill Oz Compiler Subprocess: Ctrl-. + h

If killed, the compiler subprocess will be restarted automatically on the next feed command.

Future Work

  • Snippets
  • Formatting
  • Linting

Contributing

Pull requests welcome. The latest version of Sublime should have everything you need to develop and test enhancements to this package.