Sublime Text 3 - integrated terminal?
Solution 1
The below original answer is now outdated; see below answer by Svish.
I was wondering the same thing a while back, and I believe the answer is: no.
There's no good terminal integration in ST3, except, maybe, for Terminal, which simply takes you to the terminal from any given project folder. Works ok, but not sure how much it really saves.
No way to have it in the ST3 window AFAIK.
Solution 2
Terminus does this. Supports both Unix and Windows. Works great. 👍
In View (on Windows)
Ctrl + Shift + P --> Terminus: Open Default Shell in Tab (View)
In Panel (on Unix)
Ctrl + Shift + P --> Terminus: Open Default Shell in Panel
Type exit
to exit and close the terminal opened in a panel.
Solution 3
I installed the Sublime package TerminalView that can show a terminal window within Sublime in a separate tab.
It works with MacOS or Linux but is no longer actively supported.
Installation:
- Open the command palette (Cmd+Shift+P on Mac, Ctrl+Shift+P on Windows) and find
Package Control: Install Package
- Search for
TerminalView
and hit Return to install.
The terminal windows has a few flaws (at least on macOS) as it seems to conflict with Sublime's keyboard shortcuts. I however use it only to automatically run unit tests when the edited program code changes. Therefore it works just fine. In that case it works best if I show the terminal window below the text editor. You can do so in the menu View > Layout > Rows: 2.
Solution 4
In sublime 3,
-
ctrl + shift + p search
Package Control: Install Package
- Search and install
TerminalView
- to set shortcuts,
go to
Preferences -> Key Bindings
on right side Pane paste this,
[
{ "keys": ["ctrl+shift+t"], "command": "terminal_view_open" }
]
- Now ctrl+shift+t is your shortcuts
Solution 5
I prefer Terminus and it's the first cross platform terminal for Sublime Text. Check this video it might help you
Alexander Mills
Dev, Devops, soccer coach. https://www.github.com/oresoftware
Updated on July 09, 2022Comments
-
Alexander Mills almost 2 years
I normally use the WebStorm IDE for Node.js and FE JavaScript development. However I was thinking of using Sublime Text 3 since I am running out of computing power on a crappy old Macbook Pro and ST3 should be lighter on memory and CPU.
However, my one hangup is that ST3 doesn't seem to have a command line terminal integration possible. I find this to be a very useful feature that's available in Eclipse and WebStorm.
I did some Googling and I don't see any great terminal integration plugins for ST3, is there such a thing or not?
Here is WebStorm with the terminal integrated:
-
Alexander Mills almost 9 yearsthat sucks :( am I the only one that as a result of this discovery find ST3 to be unusable?
-
np8 over 6 yearsNote: TerminalView needs Linux-based OS.
-
Lars Blumberg over 6 yearsVSCode has a very good terminal extension. That made me abandon Sublime Text.
-
np8 over 6 yearsLol. Just migrated from Sublime to VSCode like 3 hours ago. It feels really good. I am surprised it is a free product!
-
Alexander Mills over 6 yearsUse VSCode, it's designed around Node.js, from Microsoft, and it has an integrated terminal: code.visualstudio.com
-
adriendenat over 6 yearsDid the same but I had to go back to ST due to the poor tabs management on VSC. Just copy/paste the ST tabs UX and take my money.
-
Alexander Mills over 5 yearsVSCode integrated terminal is much better than ST3. Intellij also has a good one.
-
Nithin over 5 yearsVScode, will give it a try. Recently moved out from Atom.
-
limp_chimp about 5 yearsI'd say opposite... if the ST team had a VSCode style editor integration, they could take my money for sure! :) As it is I'm using emacs...
-
Lemon about 5 yearsThis answer is wrong. There's a package, packagecontrol.io/packages/Terminus, which allows you to open a terminal both in a tab and and in a panel (like in the screenshot).
-
Lemon about 5 years@AlexanderMills yes, in this case, you might actually be the only one. There is a package that adds this functionality, and even if there wasn't, it still wouldn't make ST3 "unusable". A terminal built-in to the editor, or ide for that matter, is a nice-to-have feature, it's not critical. If you don't have it, you just use separate regular terminal window instead, which I usually do even when I do have an integrated option.
-
Salyangoz over 4 yearswow! Using this and pudb made my sublime a stronger/faster/more efficient IDE than pycharm. Extremely impressive and the 'per terminal theme adustment' makes it super easy to find the terminal tab at a glance
-
roshnet over 4 yearsThanks for sharing this. It'd be helpful also if you mention the key bindings (if any) to launch it. EDIT: I found how - github.com/randy3k/Terminus#user-key-bindings
-
Tobias almost 4 yearsI wrote a little plugin that integrates any linux terminal with Sublime. It's not as mature as Terminus but it works very well for me. github.com/tobiasrenkin/sublime-console
-
javierojeda almost 4 yearsthis opens terminal in a separated window. OP wants it to be opened inside of Sublime window as a integrated terminal
-
Joseph Farah almost 3 yearsif you open a Terminus panel and then try to search for something (i.e. via cmd-F or cmd-shift-F) it closes the terminus panel. is there any way around this?
-
Meeraj Kanaparthi almost 3 yearsThank you. This is awesome
-
Gabriel Staples about 2 yearsFor anyone wondering: this works great in Sublime Text 4 too.
-
Chris Broz almost 2 yearsFor high-memory applications, Terminus slows significantly.