Run cmder inside IntelliJ idea
Currently I am running Git bash inside IntelliJ Idea (http://blog.codeleak.pl/2014/02/git-bash-in-intellij-idea-13-on-windows.html). I would like to use cmder but I need to know if I can do the same, and if so, what command line arguments do I need to supply?
That would be be great for me too. If we could run cmder inside Idea as Terminal
We have now an official guide to add Cmder to IntelliJ: 🎉
https://github.com/cmderdev/cmder/wiki/Seamless-IntelliJ-based-Integration
If you require further support, comment below. Please avoid using some outdated methods that were commented below.
+1
Holy moly that'd be awesome!!!!
I got it working!
It was pretty simple based on @MartiUK's suggestions above:
- Set an environment variable called
CMDER_ROOTto your root Cmder folder (in my caseC:\Program Files (x86)\Cmder). It seems to be important that this does not have quotes around it because they mess with concatenation in the init script.
- In your IntelliJ terminal settings, use
cmd.exe /k ""%CMDER_ROOT%\vendor\init.bat""as the Shell path. The double-double-quotes are intentional, as they counteract the missing double quotes in the environment variable.
- Et voilà!
Unfortunately the lambda symbol is not supported in IntelliJ yet, but everything else seems to be working fine.
Awesome! Thank you for figuring this out. Props to @MartiUK and @nikrolls
@nikrolls technique worked for me as well (Thanks!). The only requirement was that I needed to restart IntelliJ for it to work correctly after adjusting the settings. Simply hitting "Apply" and "OK" was not enough.
IntelliJ 15.0.2 displays the lambda symbol.
thank you very much @MartiUK @nikrolls
Nice! Thanks @nikrolls
What about opening mintty with git bash in Intellij? Can you specify the mintty task when doing this?
I have opened git bash in intellij, but the lambda symbol still shows up as ?
When I try @nikrolls suggestion, I get "The system cannot find the path specified."
When I put %CMDER_ROOT% into a windows explorer address bar, it works. I put cmd.exe /k ""%CMDER_ROOT%\vendor\init.bat"" as my Shell path in PHPStorm. I start PHPStorm and get "The system cannot find the path specified."

@martin-wiseweb Perhaps you forgot to restart ide. I had the same error in IntelliJ. It helped me.
@nikrolls Thanks, man. It works.
Cmder in cmd.exe is a half success as i see... The best way should be to use cmder in conemu, but it does not embed in PHPstorm currently:/

If I missing some configuration or misunderstood something, please correct me. Thx
@mdesign83 It isn't technically running cmder in IntelliJ, just the initialisation scripts that cmder uses.
Thanks, it working for me
I'm having trouble getting the lambda icon to come up in IntelliJ. Was there any special config or some command flag that needs to be passed to make this available in IntelliJ 2016.1?
After the latest security update I have to use quotes for the cmd.exe part:
"cmd.exe" /k ""%CMDER_ROOT%\vendor\init.bat""
I did something similar by wrapping the whole thing in a bat file and calling that, kind of achieved the same solution, no lamdba sign though :cry: