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

Oz

Oz language support for Sublime Text 3

Details

Installs

  • Total 168
  • Win 93
  • OS X 36
  • Linux 39
Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7
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 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
OS X 0 1 0 0 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 1 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 1 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

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.