Built-in Local Terminal in PhpStorm 7

We already have a built-in SSH terminal for PhpStorm 7 EAP. The latest drop adds a related feature: the Tools | Open Terminal… menu gives us access to an embedded Local Terminal!

The built-in Local Terminal comes with coloring, as you can see from the above screenshot. Let’s try vim inside our IDE to edit php.ini:

We can copy/paste from the Local Terminal and open multiple sessions if needed. Don’t worry, it works on every operating system supported by PhpStorm.

Give PhpStorm 7 EAP a try and let us hear your thoughts in the issue tracker, through the comments below or in our forums!

Please also check more information about built-in SSH terminal and remote tools.

Develop with pleasure!
– JetBrains PhpStorm Team

P.S.: This feature is also available in PyCharm and WebStorm.

This entry was posted in Cool Feature, Early Access Program and tagged , , , . Bookmark the permalink.
  • Gregor

    This is a really good feature.

    Thanks for implementation!

  • http://www.freshblurbs.com Irakli N.

    Completely unnecessary. Stay focused, concentrate on your core features. There’re plenty of free and OS-provided terminals already available. Nobody needs a subpar one integrated in IDE.

    Spend time on where you excel.

    • http://blog.felix-griewald.de Felix

      Only because YOU don’t want to use it and YOU think it’s unnecessary, it doesn’t mean others think the same. I think this is a great feature.

    • Jared

      I beg to differ.. when I work on my Windows box, I dread using the clunky terminal(s) and ssh clients. If the Storm team can provide a terminal into the IDE that more closely mimics the Mac/Linux varieties, I would be so happy.

      • Bastien

        If you use Git Bash (which I strongly recommend), you can set the terminal path to :
        "C:\Program Files (x86)\Git\bin\sh.exe" –login -i
        Works like a charm, and even coloration !

        • Mikhail

          Thank you!
          Such a helpfull comment!

        • Bastien

          Be careful, depending on windows versions, this path can change. I just figured it out on my new job computer, the path is :
          C:\Program Files\Git\bin\sh.exe -login -i
          (no more quotes)

    • daniel

      I agree with Irakli N.

      I’m really losing the interest in phpstorm, because i can’t find any new & for me interesting and important features (except the php5.5 support) in the last releases…

      Composer
      SSH Console
      Drupal
      Just more CLI Features
      Vagrant
      All the new Web Templates Support

      How many of the phpstorm customers need this?
      Most of this “features” aren’t any big deals for developers, we all are able to use the CLI without phpstorm;)

      What i really miss are such great improvements like http://confluence.jetbrains.com/display/PhpStorm/PhpStorm+Advanced+Metadata and not to implement all the new webhypes into the core. (there’s a great plugin system, why not provide all the symfony,drupal,less, etc… features as plugins)?

      • ScrubStevenson

        “How many of the phpstorm customers need this?”

        only the ones that are not wordpress scrubs and do some real development, with version control, dev/staging servers mirroring production environment, dependency management and all the things that makes you a better developer

      • Peter Finkel

        Composer
        SSH Console
        Drupal
        Just more CLI Features
        Vagrant
        All the new Web Templates Support

        ALL the things I missed from PHPStorm. EVERY-SINGLE-ONE of those was a more than welcome thing for me.

    • http://webtekmedia.com Jack

      Irakli please not spreak for all of us! I for ones love that phpstorm will have this! I like to have to run only one app inplace of a extra termainal and so on!

    • http://twitter.com/JavierCane Javier Ferrer

      I completely differ from your point of view.
      Since PhpStorm is an IDE -Integrated Development Environment-, I don’t understand what’s the big deal with having all the necessary tools in order to do my daily tasks easier…

  • exfrromtheleft

    It’s a nice to have features, but it’s not the most necessary one, i am linux user and will have no problem switching back and forth betweeen pHpStorm and the terminal.

    so i sort of agree with the first commentator…

    But this version 7 seems to be really great!

  • http://www.kpdirection.com Peter Connolly

    Totally agree with Irakli; what’s the business case for replicating something that most developers already have a good solution for? I don’t even use the Database tab in PHPStorm, because I have a perfectly adequate one on my system.

    Make PHPStorm faster to respond when I switch back to it from another app. That’s the killer-function for you. Everything else is just gravy.

    • Andrey

      Terminal is nice feature, sometimes its very useful.

      But i agree about ‘Database’ tab – this is really useless feature…at least not with such low feature list. I would like to use PhpStorm for DB designing/exploring, but now it’s tooooo weak.

      • Oleg

        I would like to disagree with you about the Database Console being a useless feature. It has proven to be very useful to run multiple queries and to easy switch between them. And its history feature is one a kind. The Database Console saves a lot of keystrokes and mouse clicks. It is not possible to have all of that with let’s say PHPMyAdmin. I stopped using the latter for almost anything except making SQL schema changes.

  • Rob

    Hi, with Vagrant installed. I went to Tools > Vagrant > Init In the project root
    Located to “C:\HashiCorp\Vagrant\bin\vagrant.bat” but when I run it the “select vagrant executable” closes then opens again. Is this a known bug?

    (I can run vagrant from cmd fine)

    • Maarten Balliauw

      Which version of Vagrant is this? The 3.x versions are having an issue in the EAP, should be fixed in the next one.

      • Rob

        Excellent. I grabbed 1.2.7 and it worked straight away. Many thanks Maarten =)

  • http://novaksolutions.com Joey Novak

    Awesome!! I haven’t yet found a windows shell I like, and I hope this fits the bill. No more right clicking on a directory and doing “Git bash here”.

    Thank You JetBrains!

  • Computerz

    But control-c doesn’t work here… At least not by default. Is there a fix for this? It’s just unusable without such a basic command.

  • Phill

    Having an additional tool to use is great! This particular tool has been on the backlog for a while now with JetBrains, I saw it was introduced with Android Studio before PHPStorm. Since JetBrains makes great tools that can be used by all their IDE’s they offer, why not add this to PHPStorm? If you think something is missing or want a feature in PHPStorm that is not there, check out the roadmap http://confluence.jetbrains.com/display/PhpStorm/PhpStorm+FAQ#PhpStormFAQ-Can%27tfind%3Csomedeclaredfeature%3E BTW Thanks JetBrains and the PHPStorm team for adding this feature, now my terminal is a hotkey away!

  • Harold

    Really cool feature!!! I always loved the integrated terminal in Geany.

    Unfortunately, keys like ctrl-left/right, alt-backspace, etc don’t work :(

    • Christoph

      Here too they don’t work.
      One more issue: files are not saved when I switch to the terminal. Have to leave the app and return.
      Mac OS. Any workarounds/fixes?

  • Prakash

    What is the shortcut to navigate between multiple terminal tabs ?

    • Mikhail Vink

      There is no shortcut like that. Feel free to file a feature request at http://youtrack.jetbrains.com/issues/WI

    • http://grossi.io Junior Grossi

      If you are using Mac you can use Cmd + Shift + { or } to navigate between terminal tabs.

      []s

  • Adam

    Would be nice if multiple terminal options could be set, so you can choose which terminal you want to run.

    For example, on windows, the default is cmd.exe. It would be nice if I could choose between cmd and git bash, and whatever else.

    • Mikhail Vink

      Could you please file a feature request for us at http://youtrack.jetbrains.com/issues/PY ? Thank you!

    • Arlina Espinoza

      You can change the default terminal in “Settings > Terminal”. I have configured to use git bash instead of cmd by setting the shell path to “C:\Program Files (x86)\Git\bin\sh.exe –login -i”.

  • http://www.tieka.nl Tim van Steenbergen

    Loving the terminal in the IDE. The I stand for intergrated, so integrating the terminal is logic.

  • Ross Larson

    I’d love keyboard shortcuts for command history search (Ctrl-R for mac) and Open new terminal window (Command-T for Mac). They would make the experience nicer.

    • Ross Larson

      I forgot to mention that I’m using ZSH.

      I figured out a fix.

      Open Preferences->Keymaps.

      Step 1 – Remove the shortcut for VCS:Update Project and Run:Run.
      Step 2 – Continue using zsh shortcuts.
      Step 3? – Profit.

  • colster

    Is it possible to use cygwin / mintty.exe instead of cmd.exe in the webstorm terminal?

    I can change the terminal settings to C:\cygwin64\bin\mintty.exe but it launches a new window instead of embedding it in webstorm.

    • colster

      Don’t worry, I got it

      I’m running ZSH so:

      C:\cygwin64\bin\zsh.exe

  • zhishaofei3

    cmd can have color it? Still only git only color ?

    • Liubov Melnikova

      Console has colors now, they are customizable here: File | Settings (Preferences for Mac OS) | Editor | Colors&Fonts | Console colors.