I want to configure the terminal console in "IntelliJ Idea 15" IDE to access iterm2 on my MacOS. Tried the steps mentioned here https://www.jetbrains.com/help/idea/2016.3/working-with-embedded-local-terminal.html
But it shows an error as below
2017-02-15 11:15:02.308 iTerm2[71018:1042426] Succeeded. 2017-02-15 11:15:02.318 iTerm2[71018:1042426] tryToAttachToServerWithProcessId: Attempt to connect to server for pid 68144 2017-02-15 11:15:02.319 iTerm2[71018:1042426] Succeeded. 2017-02-15 11:15:02.358 iTerm2[71018:1042426] Try to connect to orphaned server at /var/tmp/iTerm2.socket.1694 2017-02-15 11:15:02.358 iTerm2[71018:1042426] Failed: Connection refused
I am using Mac OS X (el capitan - v10.11.6) Could someone please assist me with this. Thanks in advance.
From the main menu, select View | Tool Windows | Terminal or press Alt+F12 .
We can open the terminal window with ⌥F12 on macOS, or Alt+F12 on Windows and Linux. The terminal supports all the same commands that the operating system supports. and press enter.
Open IntelliJ settings. Go to the “Tools” section. Press the “Terminal” option. Set the correct Shell path to the PowerShell EXE file.
Find the file in your finder, right click on it, choose get info, then expand the Open With tab. There you should find a dropdown menu on what to open those kind of files with. The default is terminal, but choose iTerm2 and click on change all.
A terminal is not the same thing as a shell. You're basically asking the equivalent of "how can I run Firefox inside Chrome?", which doesn't make much sense.
You need to point IDEA to whatever shell you're using (bash, fish, zsh or whatever), not to iTerm.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With