Skip to content

cg-cnu/mariSublime

Repository files navigation

Mari Sublime

Send code to mari from Sublime Text using command port


Sublime 2 & 3 compatible

Installation

PackageControl

  • In Sublime Text, ctrl+shit+p > Package Control: Install Package
  • Search for Mari

Manual

  • Download the zip file, extract the archive and rename the folder to mariSublime.
  • In sublime ctrl+shift+p > Browse Packages.
  • Place the extracted mariSublime folder in the packages folder.

Setup

Enable Command Port in mari

  • Use mari.app.enableCommandPort( not ( mari.app.commandPortEnabled() ) ) to toggle command port in mari
  • You should see a plug icon CommandPort icon enabled in the lower left corner.

In sublime

  • Select a code snippet and press "ctrl+enter". Selected snippet will be executed in Mari.
  • ctrl+enter with out selection will execute the whole file.

Acknowledgements

Issue/Feedback

log them in the github issues or hit me on twitter.

Like it?

⭐ this repo.

About

Send code to mari from Sublime Text using command port

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages