Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change default terminal directory in WebStorm

I'm using WebStorm 2016.2 as my IDE at the moment and I like the built in terminal. The one thing that would make it better for me would be the ability to specify a default project terminal directory. The reason is, my project directory looks like

application/
build/
deploy/

Most of the time I'm working in the application directory and that's where my package.json is to run all my npm commands. It's a pain having to move directory every time I start the terminal.

like image 710
Sam Marland Avatar asked Sep 13 '25 10:09

Sam Marland


2 Answers

Currently it's not possible.

Watch (star/vote/comment) these tickets (mainly first one) to get notified on progress:

  • https://youtrack.jetbrains.com/issue/IDEA-125383
  • https://youtrack.jetbrains.com/issue/IDEA-118543

Right now the best I can offer is to grab & drag desired folder and drop it at already opened terminal (at tabs space) -- it will open new tab with that folder as current path.

like image 176
LazyOne Avatar answered Sep 15 '25 07:09

LazyOne


It's fixed now so you can do it like this :

enter image description here

like image 39
tatsu Avatar answered Sep 15 '25 06:09

tatsu