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

Sublime​REPL

by wuub ALL Trending Top 25

SublimeREPL - run an interpreter inside ST2 (Clojure, CoffeeScript, F#, Groovy, Haskell, Lua, MozRepl, NodeJS, Python + virtualenv, R, Ruby, Scala...)

Details

  • 2.1.2
  • github.​com
  • github.​com
  • 10 years ago
  • 35 minutes ago
  • 13 years ago

Installs

  • Total 1.44M
  • Win 1.08M
  • Mac 208K
  • Linux 156K
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 Sep 8
Windows 78 200 163 99 103 97 184 163 110 153 112 108 146 205 152 130 110 77 85 113 125 84 93 131 97 85 118 164 219 154 192 103 109 124 196 156 111 101 91 121 145 259 132 174 197 100
Mac 5 22 11 4 7 14 13 13 15 14 10 8 4 21 16 11 5 7 10 11 10 15 7 8 12 6 16 8 12 11 12 10 7 8 4 11 13 10 6 8 8 17 11 13 12 10
Linux 2 12 10 10 10 6 8 6 10 12 6 7 11 9 12 12 7 7 10 9 10 9 11 6 6 10 11 13 5 15 14 6 11 11 13 12 9 12 4 6 11 9 18 13 10 11

Readme

Source
raw.​githubusercontent.​com

SublimeREPL for SublimeText (2 and 3)

If you would like to donate to support SublimeREPL development, you can do so using GitTip or PayPal. Someone willing to take care of documentation would also be very welcome :-)

Features

Common

  • Run an interpreter (REPL) inside SublimeText2 view/tab.
  • Per-language persistent REPL history.
  • Easily evaluate code in the running REPL
  • Replace your current build system, and use stdin in your programs.
  • Rich configuration with platform specific settings, project/file dependent environment variables and sane defaults.

Python

  • Launch python in local or remote(1) virtualenv.
  • Quickly run selected script or launch PDB.
  • Use SublimeText2 Python console with history and multiline input.

(1) - (ssh, linux/osx only)

Screenshots

Running python code in SublimeREPL

R on Windows

Videos

Installation

  1. Install Package Control. http://wbond.net/sublime_packages/package_control
  2. Install SublimeREPL
    1. Preferences | Package Control | Package Control: Install Package
    2. Choose SublimeREPL
  3. Restart SublimeText2
  4. Configure SublimeREPL (default settings in Preferences | Package Settings | SublimeREPL | Settings - Default should be modified in Preferences | Package Settings | SublimeREPL | Settings - User, this way they will survive package upgrades!

Documentation

Very basic documentation will soon be available on RTD: http://sublimerepl.readthedocs.org/

Getting started

  • Create or open your file with code.
  • Menu / Tools / Command Palette (OS X: ⇧⌘P) then type “SublimeREPL” and select the approperiate language.
  • Menu / View / Layout / Rows: 2 (OS X: ⌥⇧⌘2).
  • Menu / View / Move File to Group / Group 2 (⌃⇧2).

Keybindings

  • Evaluate in REPL:
    • ctrl+,, s Selection
    • ctrl+,, f File
    • ctrl+,, l Lines
    • ctrl+,, b Block
  • Transfer in REPL (just copy, without evaluating it):
    • ctrl+shift+,, s Selection
    • ctrl+shift+,, f File
    • ctrl+shift+,, l Lines
    • ctrl+shift+,, b Block

Note: ctrl+,, f means: press Ctrl and Comma, release all, press F.

License and Price

Since version 1.2.0 SublimeREPL is licensed under GPL. Previous versions were licensed under BSD. If you're using SublimeREPL in commercial environment a donation is strongly encouraged ;-)

Compatibility

SublimeREPL is developed against the latest dev build of SublimeText3. Ubuntu 13.04 is main