0

I use git bash for my terminal configuration and it has --cd option where I can pass the path to open terminal in:

enter image description here

I have pretty deeply nested directory structure and thought it would be very convenient to open terminal in the directory I select in the tree:

enter image description here

Is there a plugin that can do that? If not, how hard will it be to write my own simple plugin?

It will probably be very basic:

  • read the currently selected folder path
  • run "open terminal" action supplied the command line string with the concatenated path

Thanks

Max Koretskyi
  • 101,079
  • 60
  • 333
  • 488

1 Answers1

3

there are no such plugins, please vote for IDEA-116724 and linked tickets.

You can try opening sh as External tool instead, like:

Program: C:\Windows\System32\cmd.exe
Parameters: /C "start sh.exe"
Working directory: $FileDir$

enter image description here the only issue is that it will be opened as external window, not inside IDE

lena
  • 90,154
  • 11
  • 145
  • 150