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
1
vote
1 answer

Load node.js module from within SublimeText using SublimeREPL with node env

I'm using SublimeText editor in combination with SublimeREPL which allows code snippets to be run from the text editor in different languages. I used this regularly with Python and now trying to use same with Node.js. I'm able to execute…
Steve
  • 33
  • 6
1
vote
1 answer

How can I avoid NameError from input() in Sublime Text 4, using SublimeREPL on Mac OS 12.1?

I followed the instructions on the following short video to allow Python scripts to be run in Sublime Text. https://www.youtube.com/watch?v=-d27eACbjnk Steps were: Install 'Package Control' Install 'SublimeREPL' Choose 'Tools > Build System > Build…
Gospel77
  • 133
  • 1
  • 7
1
vote
0 answers

How to run SublimeREPL on remote python

I want to run my python code on a remote environment (I have more cores/RAM etc...) and I have no idea how to do that in SublimeREPL. Do I just update the python_virtualenv_paths? from: "python_virtualenv_paths": [ "~/.virtualenvs", //…
user1871528
  • 1,655
  • 3
  • 27
  • 41
1
vote
1 answer

Sublime Text 3 : How to display the line numbers of the evaluated lines in REPL Python?

using Sublime-Text-3 When i evaluate some selected python code, in PEPL Python (with SublimeREPL), i get something like that: *>>> print("thank you") thank you* (i already set, "show_transferred_text": true,) Instead of send and see the whole code…
1
vote
1 answer

How to log commands that are run through command palette in Sublime Text 3

I know that commands can be logged by going to the console View -> Show Console and typing sublime.log_commands(True) However, the commands that are run through the command palette are not logged, it just shows: command: show_overlay {"overlay":…
ag07
  • 369
  • 1
  • 4
  • 9
1
vote
1 answer

Sublime Text 3 REPL stops accepting input after running plt.show()

After running this code: import matplotlib.pyplot as plt plt.plot([1,2,3,4]) plt.ylabel("Some numbers") plt.show(block=False) A graph correctly displays the expected output. However, even after closing the graph the REPL console no longer accepts…
Never
  • 31
  • 3
1
vote
1 answer

How to run selected Python codes using SublimeREPL

I have set up the sublimeREPL and can run a .py file using Command + B with no problem. However, I was wondering how to run selected lines of codes only instead of the whole file. On https://github.com/wuub/SublimeREPL, it says that SublimeREPL…
1
vote
1 answer

Can a string from the user (such as a paragraph) be imported/inputted into PyGame?

I am creating a program that needs to accept a string (such as a paragraph) from the user, then display certain words from that string in a larger font. Would I use PyGame for this? I know text can be put on the screen with PyGame, but I am having…
1
vote
1 answer

Can't run py files by using hot key in sublimetext3

I have update my sublime3 to newest version, then I can't use hotkey to run my py files. Here is my hot key configuration: [ { "caption": "Tmpl: Create python", "command": "sublime_tmpl", "keys": ["ctrl+alt+p"], "args": {"type":…
Sai
  • 11
  • 3
1
vote
0 answers

installing Sublime Text 3 SublimeREPL on python;mac

I install the sublimerepl package on my text editor, everything seems to work fine. Going to tools -> build system -> sublimerepl_build_system_hack throws this error in the console Traceback (most recent call last): File "/Applications/Sublime…
1
vote
0 answers

I can't make SublimeREPL run Python 3, instead it's running Python 2

As you can see from the following code: I am trying to run a simple code that checks the python version and takes the user's input: import platform print(platform.python_version()) msg = input("Hello, how are you? ") print(msg) We know…
Neb
  • 31
  • 5
1
vote
0 answers

jshell (Java 9 shell) integration does not respond in SublimeREPL

I have tried to integrate the jshell Java 9 REPL into SublimeREPL as described in this documentation. I have set up the files correctly: When I run the REPL from Sublime, I get the initial output generated by the REPL, so I know it is able to…
1
vote
1 answer

disable SublimeREPL backslash highlights

When running SublimeRepl with python, I have noticed that it always highlights some backslash + characters. I am not sure why this, any suggestion into why this is going on and how to disable this ? side note My search led me to ANSII escape…
AnarKi
  • 857
  • 1
  • 7
  • 27
1
vote
1 answer

Error in SublimeREPL to debug python

OS:Windows 10 software:Sublime Text 3 I am running Python with SublimeREPL and it return me the error as following: error: FileNotFoundError(2, 'The system cannot find the file specified.', None, 2) I have followed the steps SublimeREPL Unable to…
Odd Zhang
  • 19
  • 2
1
vote
3 answers

sublimeREPL - "can't open file '$file_basename'"

When I try to execute more than an operation using SublimeREPL and Python3 I get : C:/Users/Name/Anaconda3/envs/keras/python.exe: can't open file '$file_basename': [Errno 2] No such file or directory. Following this answer I have modified the…
Simone
  • 4,800
  • 12
  • 30
  • 46