IDEA-Native-Terminal-Plugin icon indicating copy to clipboard operation
IDEA-Native-Terminal-Plugin copied to clipboard

Unable to set Iterm as Default Terminal

Open joaoag opened this issue 5 years ago • 18 comments

Hi Sergey,

Love your plugin, thanks so much for making it.

I'm having trouble setting iTerm as the default integrated terminal for WebStorm, though I was able to successfully set the default shell to zsh.

Below is a screenshot showing the menu I have available:

Screenshot 2019-07-06 at 17 42 41

I can't find anything similar to the screenshot displayed on the JetBrains Plugin site which allows you to set the default terminal application (see below).

screenshot_18232

I'd really like to change the default from Terminal.app to iTerm and have looked around a lot on your previous issues, broader Google etc. but haven't found anything.

I'd really appreciate any pointers you could give me on how to achieve this.

Thanks again for all your work! : )

WebStorm (version 2019.1.3) Mac (version 10.14.5)

joaoag avatar Jul 06 '19 17:07 joaoag

Hi @joaoag,

Do you want to use iTerm with zsh? Or you just prefer iTerm instead of default Terminal app? For the second question - I can suggest to specify a full path to iTerm if a simple name doesn't work.

Thanks for the good words!

siarheiburliayeu avatar Jul 06 '19 20:07 siarheiburliayeu

Hey @sburlyaev ,

Thanks for getting back to me. Yes I would like to use iTerm with zsh. As per your suggestion I have specified a full path to iTerm but I am receiving this warning Screenshot 2019-07-09 at 10 14 18

The way I tried to enter the iTerm + zsh specification is as below. Is this the correct way to specify these settings? Screenshot 2019-07-09 at 10 14 33

As you can see it's successfully using zsh but the terminal still looks different to when I open iTerm on its own. It's not a huge difference to be honest, but I'd just like to check that I've explored all possible ways of getting them matched.

Thank you again for your help with this, I really appreciate it.

WS integrated terminal: Screenshot 2019-07-09 at 10 20 00 copy

iTerm standalone terminal: Screenshot 2019-07-09 at 10 22 19 copy

joaoag avatar Jul 09 '19 09:07 joaoag

Hi @joaoag ,

Actually, Subdirectory is used for other purposes - to specify a directory which will be opened by pressing the terminal icon button (instead of root project folder).

In your case, when you want to compose two commands you can use ${project.dir} placeholder to point to the project directory. I'm not very familiar with zsh but shell path command should look something like this: /bin/zsh open ${project.dir} -a iTerm

Another way, change your default shell to /bin/zsh and simply use iTerm as a shell path command. Please, look at iTerm2 launch with Zsh for details.

siarheiburliayeu avatar Jul 09 '19 10:07 siarheiburliayeu

Hi João,

Did it help?

siarheiburliayeu avatar Jul 14 '19 09:07 siarheiburliayeu

Hey @sburlyaev I'm running into the same problems as João :'( It is so sad such a great integration does not have documentation. I really want to try, but I don't know what to put in each of the box to use iterm, I have tried several things without success :'( Thanks for your help

paulvidal avatar Aug 12 '19 09:08 paulvidal

Hi @paulvidal !

Usually, it's enough to specify the full path to your terminal executable. For example, /Applications/iTerm.app

If that doesn't work, can you share your IDE log file to dig into the issue?

siarheiburliayeu avatar Aug 12 '19 09:08 siarheiburliayeu

Hi @sburlyaev :) Thanks for being so reactive.

Here is what I have:

Screenshot 2019-08-12 at 16 46 25

Is there anything wrong I'm doing ?

paulvidal avatar Aug 12 '19 14:08 paulvidal

Or maybe I'm expecting something too crazy? Should I be able to have excatly the same window as I have in iterm with all the features it provides ? Like splitting panes and all that ? :)

paulvidal avatar Aug 12 '19 14:08 paulvidal

Looks good. But how do you open that?

The plugin does not affect the default IDE terminal but it adds a new terminal icon on the top bar which opens the terminal you specified.

And yes, it should be exactly the same experience you have when using that terminal. PS. a new version is available, btw : )

siarheiburliayeu avatar Aug 12 '19 15:08 siarheiburliayeu

Ok now I understand :) Thanks the plugin is cool but I though you were replacing the default IDE terminal which is bad :/ But this is already great !

paulvidal avatar Aug 12 '19 15:08 paulvidal

Thanks for the good words!

siarheiburliayeu avatar Aug 12 '19 16:08 siarheiburliayeu

Hey @sburlyaev really sorry I've been out of touch on this issue. I echo Paul's thanks, it's a really super feature and it's so awesome how responsive you are on any issues relating to it - thank you again. I had the same confusion as Paul about the functionality of the plugin, thank you for clearing it up for me. All the best and keep up the good work!

joaoag avatar Aug 26 '19 18:08 joaoag

Oh, no problem. Happy to hear that! Thank you so much!

siarheiburliayeu avatar Aug 26 '19 18:08 siarheiburliayeu

Some suggestion here, maybe put this picture in plugin's descriptions, or else there will be next ppl wonder why the default IDE terminal wasn't replaced, terrific plugin btw!

Kai950415 avatar Aug 13 '21 07:08 Kai950415

@Kai950415 great idea, thanks!

siarheiburliayeu avatar Aug 14 '21 05:08 siarheiburliayeu

I believe some people here got confused. I personally did not want to open a new terminal, I wanted to replace the terminal inside the IDE with Iterm2 (which is not possible with this plugin)

indera avatar Aug 10 '23 22:08 indera

@indera Hi Andrei, do you want to replace the whole terminal window completely? Using iterm as a default shell in IDE is not a solution for your case?

siarheiburliayeu avatar Aug 13 '23 17:08 siarheiburliayeu

Hi @siarheiburliayeu, I also was confused with this feature, but i really appreciate the effort, as lot goes in background with the terminal inside intellij. But I would really love to see it replacing with default terminal for all jetbrains application.

EDITH-MMT007 avatar Aug 25 '23 09:08 EDITH-MMT007