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

Oz

Oz language support for Sublime Text 3

Details

  • 0.2.2
  • github.​com
  • github.​com
  • 11 months ago
  • 38 minutes ago
  • 2 years ago

Installs

  • Total 203
  • Win 105
  • OS X 48
  • Linux 50
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 0 0 0 0 0 0 0 0 0 0 0 1 0 2 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 1 0 0 0 1 0 0 1 1 0 0 0 1 1
OS X 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 1 0 0 0 0 1 0 0 0 1 0 0 0 0 4 0 0 0 1
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 1 1 1 0 0 2 1 0 0 0 1 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.