ooc-lang / rock

:ocean: self-hosted ooc compiler that generates c99
http://ooc-lang.org/
MIT License
404 stars 40 forks source link

Syntax Highlighting for Sublime Text #871

Closed runeimp closed 9 years ago

runeimp commented 9 years ago

It would be nice if the Editors page could be updated to include Sublime Text with something like the following

Sublime Text

Sublime Text has great support for TextMate bundles with the exception of commands. You can use the TextMate ooc.tmbundle to power the syntax highlighting for ooc within Sublime Text 2 and 3.

  1. Find your Sublime Text data directory.
  2. Go to it via command line (CMD prompt, Terminal, etc.)
  3. git clone https://github.com/nilium/ooc.tmbundle.git
  4. restart Sublime Text
  5. Associate the ooc language with .ooc and .use files via the language selector in the bottom right of the window.

-or-

You can select something like Objective-C++ (built in) for very basic syntax highlighting.


I hope this may be useful and help adoption of this very fun language. :-D

fasterthanlime commented 9 years ago

That sounds great. Can you do that as a pull request to https://github.com/fasterthanlime/ooc-lang.org ?

runeimp commented 9 years ago

Doh! I knew there was another repo with the site. Missed it in my scan earlier. In any case done. :-D