Questions tagged [sublimerepl]

SublimeREPL is a plugin for Sublime Text that runs interactive interpreters from a number of languages within a normal tab. It also allows connecting to a remote interpreter (e.g. Clojure/Lein) though a telnet port. SublimeREPL has a built-in support for command history and transferring code from open buffers to the interpreters for evaluation.

SublimeREPL is a for that runs interactive interpreters (both local and remote) inside a regular Sublime tab or view. It has built-in support for over 30 languages, including basic operations ( and ).

NOTE: SublimeREPL is no longer under active development. It does work in , but some features such as IPython/Jupyter integration are no longer functional because of API changes. One alternative for SublimeREPL is the Terminus package.

Features


Useful Links

238 questions
0
votes
1 answer

OSError(2, 'No such file or directory') when using SublimeREPL and SML on Mac

I'm trying to use SublimeREPL with ST2 and SML on my mac. However, whenever I click on Tools > SublimeREPL > SML, it throws the following error: OSError(2, 'No such file or directory') sml is currently already in my PATH, so I'm confused as to why…
binaryrage
  • 21
  • 3
0
votes
1 answer

Python IndentationError: Sublime Text 2 using SublimeREPL

I am trying to evaluate some Python commands in SublimeREPL but every new command causes an IndentationError. The code works if I send it one line at a time. Here is an attempt at an example... class Array(object): def __init__(self, length = 0,…
Bruce Pucci
  • 1,821
  • 2
  • 19
  • 26
0
votes
0 answers

I am finding it difficult to run python code on sublime text repl

I am not able to run python code on sublime repl. But I am able to build the same python code without repl. Whenever I run the python code using sublime repl I am getting the error as "Invalid Syntax". I have attached the screenshot below for your…
MJP
  • 1,547
  • 2
  • 14
  • 21
0
votes
1 answer

SublimeREPL for Python on a portable version of Sublime Text 3 and portable Python?

I'm trying to get SublimeREPL to work on Python code that is being edited in a portable version of Sublime Text 3. I would like to have a SublimeREPL setup using the portable version of Python that is installed on a USB stick, but I'm not sure…
0
votes
1 answer

Installing SublimeREPL offline

I'm trying to install SublimeREPL on an offline computer (it has secure data and so can't be Internet-connected). Any ideas for how to do so? I can copy any installation files to a USB drive, but haven't found any--everywhere I've seen insists on…
MichaelChirico
  • 33,841
  • 14
  • 113
  • 198
0
votes
0 answers

Sublime Text 2 + Eval in REPL: Handle is Invalid

Using sublime text 2 on windows 8, I've set my key-bindings to: [ { "keys": ["ctrl+alt+f"], "args": { "id": "repl_f#", "file": "config/F/Main.sublime-menu" }, "command": "run_existing_window_command" }, { "keys":…
Ari
  • 4,121
  • 8
  • 40
  • 56
0
votes
1 answer

R/SublimeREPL R - code not working in sublime but working in RStudio

I am following the tutorials of Machine Learning for Hackers (https://github.com/johnmyleswhite/ML_for_Hackers) and I am using Sublime Text as a text editor. To run my code, I use SublimeREPL R. I am using this code, taken directly from the…
Spearfisher
  • 8,445
  • 19
  • 70
  • 124
0
votes
0 answers

Virtualenv in Sublime Text with args?

In the Main.sublime-menu you can edit the commands for on how to run the REPL. When you run the REPL with current file it has some arguments. But when you start up a REPL with a virtualenv this is the only thing needed to create that menu item. …
Jonathan
  • 8,453
  • 9
  • 51
  • 74
0
votes
1 answer

Evaluation missing in SublimeREPL Python

I'm trying to get SublimeREPL to work with Python. However, whenever I send a Python command to the REPL with the keyboard shortcut, only output from stdout is displayed. The evaluation of the command should also be displayed, but isn't. Here is a…
Michael Tingley
  • 843
  • 2
  • 9
  • 9
0
votes
1 answer

EOF error sublime? and REPL menu shortener?

I have had an issue with sublime text editor 2 with python 3. I have tried REPL and as far as I can tell it does not work unless I go to tools>sublimeREPL>python>python-RUN. This length of menus is annoying especially when trying to test a small…
CheesyPi
  • 1
  • 1
0
votes
1 answer

Sublime Text 2 REPL run iPython file with a user Plug-in

I am trying to run an iPython file in an interactive shell in Sublime Text 2. This is my first plugin I've written. Here's what I have so far: import sublime, sublime_plugin class IpydevCommand(sublime_plugin.WindowCommand): def…
Chet
  • 18,421
  • 15
  • 69
  • 113
0
votes
1 answer

Starting SublimeREPL for Scheme gives OSError(2, 'No such file or directory')

I've been trying to use SublimeREPL to run an interactive interpreter of Scheme, but I keep getting the error message "OSError(2, 'No such file or directory')". I know it's likely a file path issue in Main.sublime-menu, but I just can't seem to…
Jerridan
  • 5
  • 4
0
votes
1 answer

pprint in clojure sublimeREPL

Is there a way to use pprint instead of regular print in clojure sublimeREPL For the moment i had to wrap my code like that to do so: (clojure.pprint/pprint (for [i (range 10)] {i {:times2 (* i 2) :times3 (* i 3)}})) => ({0 {:times2 0, :times3…
szymanowski
  • 1,359
  • 1
  • 14
  • 25
0
votes
1 answer

How to use REPL in sublime?

I installed REPL on sublime 2 I'm trying to get a user input by running a sample code such as puts "hello" a = gets for example. pressing cmd+b just shows me the output but not prompting me for any input. what am I missing?
Zohar
  • 133
  • 6
0
votes
1 answer

Viewing object attributes with tab completion in sublimerepl python

In the IDLE interpreter in Python, you can see a drop-down list of an object's attributes by typing the object's name, then period, then hitting TAB. Is it possible to get similar functionality with sublimerepl? I've tried the different autocomplete…
Zubin
  • 167
  • 2
  • 7
1 2 3
15
16