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

Sublime​REPL

by Wojciech Bederski (wuub) ST2/ST3 Top 100

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

Details

Installs

  • Total 79K
  • Win 33K
  • OS X 28K
  • Linux 18K
Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9
Windows 42 137 107 71 84 116 121 115 143 143 95 100 120 125 134 122 90 57 72 108 141 135 126 109 103 83 86 113 129 136 135 103 83 101 111 126 125 142 82 83 121 128 117 124 134 78
OS X 23 55 60 55 64 59 56 93 85 86 58 66 67 66 87 72 67 45 59 53 93 87 75 50 48 78 57 74 68 79 70 60 59 70 64 69 66 72 54 52 94 93 71 81 84 44
Linux 20 66 54 37 44 68 63 50 42 60 50 32 55 63 38 52 38 36 32 45 51 47 52 47 37 43 39 50 59 51 43 37 35 41 52 49 68 56 42 39 54 57 38 54 55 30

Readme

Source
raw.​github.​com

SublimeREPL for SublimeText (2 and 3)

IMPORTANT NOTE - DISCLAIMER

Due to and uncertain future of SublimeText and its current abandonware status (no new releases for several months, no communication with the community, non-existent technical support on disintegrating forums) all of my SublimeText plugins including SublimeREPL are currently ON HOLD. I'll reconsider support and development if and only if SublimeHQ resumes operation that can be considered acceptable for a company licensing a paid software. Until then I'm limiting time spent supporting my ST plugins to the absolute minimum.

Stories in Ready

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

Running python code in SublimeREPL

R on Windows

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