Home Download Buy Blog Forum Support

Terminal inside Sublime Text (jps!)

Terminal inside Sublime Text (jps!)

Postby 200 on Fri Feb 22, 2013 5:32 pm

Hi!

I want to reraise the old very much wanted feature/idea of having the terminal window inside Sublime Text. That would be amazing to have everything in one place like that! (Especially in windows where the terminal/cmd.exe looks awful ;)

The last time I checked, no functionality was possible due to limited API. But now with Sublime Text 3, is it possible to create such a plugin? It's important that (ANSI) colors are allowed too in order to replace the terminal.

If not perhaps, jps, you could extend the API with the necessary functionailties? (or even better include it directly in ST3!) :D
200
 
Posts: 18
Joined: Wed Feb 22, 2012 6:40 pm

Re: Terminal inside Sublime Text (jps!)

Postby iamntz on Fri Feb 22, 2013 5:34 pm

@200: if you are on windows (and it seems you are) you could try http://code.google.com/p/conemu-maximus5/
iamntz
 
Posts: 909
Joined: Fri Apr 29, 2011 8:52 am
Location: Romania

Re: Terminal inside Sublime Text (jps!)

Postby weslly on Fri Feb 22, 2013 5:36 pm

weslly
 
Posts: 202
Joined: Sun Aug 28, 2011 3:57 am
Location: Brazil

Re: Terminal inside Sublime Text (jps!)

Postby 200 on Fri Feb 22, 2013 5:37 pm

iamntz wrote:@200: if you are on windows (and it seems you are) you could try http://code.google.com/p/conemu-maximus5/

Thanks for the tip. I'm currently using Console 2, which isn't half bad. But having the terminal inside the code environment, not having to swap windows back and forth, would be something of its own

EDIT: Installed it, and using it now. It's a nice upgrade from Console 2 actually. Great tip :)

Still think it would be nice to have it in sublime though..
Last edited by 200 on Fri Feb 22, 2013 5:58 pm, edited 1 time in total.
200
 
Posts: 18
Joined: Wed Feb 22, 2012 6:40 pm

Re: Terminal inside Sublime Text (jps!)

Postby 200 on Fri Feb 22, 2013 5:45 pm

weslly wrote:https://github.com/wuub/SublimeREPL or https://github.com/wuub/SublimePTY

I actually used SublimeREPL a while back, which is excellent for REPL.

However, if I remember correctly, it didn't work so good with other things like node.js and meteor, because you can't stop the process with hotkeys (e.g. ctrl+c). Also, ANSI colors is a big deal here if it's to be a terminal replacement.
200
 
Posts: 18
Joined: Wed Feb 22, 2012 6:40 pm

Re: Terminal inside Sublime Text (jps!)

Postby iamntz on Fri Feb 22, 2013 6:14 pm

ot having to swap windows back and forth

Swapping windows, swapping tabs... What's the difference?

Two quick tip on conemu:
1) set options like this: http://img.iamntz.com/jing/2013-02-22_19h49_47.png
2) find a comfortable enough shortcut (i found that ctrl+shift+` it's good for me)

This way you will have the console hidden but very easy to show. I bet it's faster than changing tabs or windows ;)
iamntz
 
Posts: 909
Joined: Fri Apr 29, 2011 8:52 am
Location: Romania

Re: Terminal inside Sublime Text (jps!)

Postby Maximus5 on Fri Feb 22, 2013 8:17 pm

Don't know about Sublime API or plugins, but know something about ConEmu ;)
It may act as part of any other window, this calls "Inside mode". So, if you want to run ConEmu as part of Sublime - you need only create (or use?) some "pane" in Sublime and run "ConEmu.exe /insidewnd xHWND". HWND is hex descriptor of this pane HWND.
I believe, it is possible to create such plugin.
Maximus5
 
Posts: 1
Joined: Fri Feb 22, 2013 8:09 pm


Return to General Discussion

Who is online

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