Home Download Buy Blog Forum Support

SublimeREPL

Re: SublimeREPL

Postby 200 on Wed Feb 29, 2012 8:21 pm

Vows.js
Attachments
shouldlook.gif
shouldlook.gif (7.78 KiB) Viewed 3714 times
200
 
Posts: 18
Joined: Wed Feb 22, 2012 6:40 pm

Re: SublimeREPL

Postby worm on Fri Mar 02, 2012 1:15 pm

Thank you for your hard work!

I've modified few lines in this plugin to meet my needs and I thought it might be useful for someone else.
It makes the python repl get an extra \n and hide the "..." of the second prompt when you "f2, s" a block of code and also makes the output from the repls (clojure and python in my case) on the next line, because by default it appears on the input line.

In sublimerepl.py change line 274:
Code: Select all
self.write(data)

with this:
Code: Select all
if data == '... ... ': # python specific
    self.repl.write('\n')
else:
    self.write('\n'+data[:-1])
worm
 
Posts: 1
Joined: Fri Mar 02, 2012 12:46 pm

Re: SublimeREPL

Postby linkey11 on Sun Mar 04, 2012 4:17 am

How is possible to create a build system with this so that all you need to do is use Ctrl+B to run the current file?
linkey11
 
Posts: 6
Joined: Sun Feb 19, 2012 7:47 pm

Re: SublimeREPL

Postby wuub on Sun Mar 04, 2012 9:25 am

linkey11 wrote:How is possible to create a build system with this so that all you need to do is use Ctrl+B to run the current file?


Code: Select all
..\Packages\User\SublimeREPL-python.sublime-build
{
    "target": "run_existing_window_command",
    "id": "repl_python_run",
    "file": "config/Python/Main.sublime-menu"
}
SublimeREPL via Package Control & SublimePTY dev/pre-alpha. Donations are appreciated, but not required :) Twitter: @wuub
wuub
 
Posts: 218
Joined: Wed Aug 10, 2011 8:16 am
Location: Poland

Re: SublimeREPL

Postby wuub on Sat Mar 10, 2012 6:34 pm

1.0.20 is out with several fixes:

* R on Windows will now work as expected
* [compatibility-Windows] SublimeREPL now looks for executable in PATH, adding a directory in extend_env od default_extend_env will now make it "visible" to subprocess.Popen
SublimeREPL via Package Control & SublimePTY dev/pre-alpha. Donations are appreciated, but not required :) Twitter: @wuub
wuub
 
Posts: 218
Joined: Wed Aug 10, 2011 8:16 am
Location: Poland

Re: SublimeREPL

Postby C0D312 on Sat Mar 10, 2012 6:38 pm

But why do you keep working on this when you could be working on SublimePTY? :)
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am

Re: SublimeREPL

Postby wuub on Sat Mar 10, 2012 7:09 pm

Because I use this @work for several hours each day. ;) Good enough?
SublimeREPL via Package Control & SublimePTY dev/pre-alpha. Donations are appreciated, but not required :) Twitter: @wuub
wuub
 
Posts: 218
Joined: Wed Aug 10, 2011 8:16 am
Location: Poland

Re: SublimeREPL

Postby C0D312 on Sat Mar 10, 2012 8:11 pm

Fair enough... so you're just selfish... *cough*

:) You're doing a great job but not really
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am

Re: SublimeREPL

Postby wuub on Sat Mar 10, 2012 8:32 pm

Oh, ok :cry:
SublimeREPL via Package Control & SublimePTY dev/pre-alpha. Donations are appreciated, but not required :) Twitter: @wuub
wuub
 
Posts: 218
Joined: Wed Aug 10, 2011 8:16 am
Location: Poland

Re: SublimeREPL

Postby C0D312 on Sat Mar 10, 2012 8:37 pm

But in all seriousness, nice work.
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am

PreviousNext

Return to Plugin Announcements

Who is online

Users browsing this forum: Google [Bot] and 11 guests