Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sublime Text 3 REPL - Open program in same REPL window

I'll get to the point. I've installed SublimeREPL via Package Control, and I've pretty much set it up as I want it.

The only thing that's bothering me, is that every time I build a python script (CTRL+B), a new REPL window opens, even though I already have one open.

Is there a way to configure REPL to open new builds in an already open REPL window?

Here's an example

like image 440
oneLifeLeft Avatar asked May 11 '15 13:05

oneLifeLeft


People also ask

What is SublimeREPL?

SublimeREPL is a plugin for Sublime Text 2 that lets you run interactive interpreters of several languages within a normal editor tab. It also allows connecting to a running remote interpreter (e.g. Clojure/Lein) though a telnet port.

How do I get sublime REPL?

Getting startedCreate 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 ).


1 Answers

SublimeREPL don't yet allow this, this could be a limitation in Sublime Text. You can ask developper for a implementation by opening a ticket on his Github.

This question is a duplicate, but, this one is un-closable as when I want to flag it I have this output:

This question does not have an upvoted or accepted answer

And we can't close this one as there is a bounty opened.

So thank you @MartjinPieters to check the facts before closing answer.

like image 69
VivienG Avatar answered Oct 19 '22 07:10

VivienG