GithubHelp home page GithubHelp logo

sublime-oz's Introduction

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.

sublime-oz's People

Contributors

azarzadavila avatar layus avatar rkoeninger avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

sublime-oz's Issues

Make Oz menu only show for *.oz files

Is there a way to get the Oz menu to only show for oz files? I have the plugin installed so the menu is always there whether it needs to be or not. Seems a little intrusive.

Move repo to mozart organization

@layus

Opened PR to package_control_channel to change location of this repo to mozart org.

I'm waiting until that PR is merged as PRs to package_control_channel can take a while to get merged and want to minimize the length of time links could be broken.

[Question] How to run Oz ?

Hi,
I tried to install and run Oz in Sublime Text 3.1.1. When I type in some Oz code, it is recognised a Oz and behave as it should normally do but I was not able to display anything.

To reproduce my problem

  1. I created a simple .oz file containing {Browse 6}
  2. I selected the line and I selected the oz > Feed Section menu

screenshot 2018-11-28 at 13 59 39

but nothing happened.

Is there a step I am missing ?
Thanks in advance

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.