-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run cmder inside IntelliJ idea #282
Comments
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:
|
@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. |
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. |
@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:
|
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 😢 |
@born2net I was getting the same issue, but resolved it by using the full cmder install opposed to the mini. |
mmm tried full version, having same issue :/
|
tx @dschulten I see clink is from some foreign site, I am reluctant to use compiled exe due to hidden trojans :( |
@born2net wait until cmder includes the latest clink executable :) |
ok tx! I haven't seen new builds from cmder in a while |
This also worked for me - tried everything else but this did the job. I'm using the Full version of Cmder. |
The instructions at https://github.com/cmderdev/cmder/wiki/Seamless-IntelliJ-based-Integration no longer work with 2020.1, you have to use the full path to cmder_shell.bat and put it in double quotes now. The expansion of %CMDER_ROOT% no longer seems to work.
No variable expansion with the classic solution either, now it has to be:
|
OR FOR POWERSHELL |
Hello, all works |
@lamoed in IntelliJ? There is no Cmder theme. Themes are a part of Conemu. |
Yes, if i writed cmd.exe /k ""%CMDER_ROOT%\vendor\init.bat"" maybe i could setup color scheme of conemu here? |
But you are not running Conemu. 'init.bat' is the cmder init script. Normally by default it runs in Conemu but you are running Cmder inside IntelliJ. There is no theme unless the IntelliJ console is themeable. |
|
Themes are a part of Conemu. You are not using Conemu when integrated with IntelliJ Idea. Color of the shell would come from IntelliJ Idea I assume. |
I just gave an example on how it is easy to get a theme configured (iTerm2 color profile) for the Conemu terminal in Jetbrains. Everything works perfectly if the guideline is being followed. |
Tried this and had an error Following this SO post, I changed the CMDER_ROOT environment variable from: So full process for PHPStorm 2020.2 on windows:
|
The Installation instructions recommend against putting Cmder in the |
In case it helps anyone: I had to specify the full path to cmd.exe, like this: |
@jp9573 Cmder is a bundle of products:
It sounds like the intent here is to run Clink in a different terminal, but to also use some of the settings from ConEmu's UI to configure CMD. ConEmu's UI configures ConEmu. So using a different terminal than ConEmu is not going to pick up the settings from ConEmu. The Environment settings from the ConEmu UI are stored in To configure this other terminal (IntelliJ?) I think you'll need to use the other terminal's configuration UI, and/or write some scripts. However, there is also a |
To start a bash terminal, I used |
To start a bash terminal AND get aliases like 'll' to work, I use However, IntelliJ prints the following error everytime I open a terminal:
See my current question about that issue on SO: https://stackoverflow.com/q/66373669/2224996 |
I have some color problems using light theme (console color scheme "IntelliJ Light") on Intellij 2022.1, Win11: EDIT: solved it by manual configuration... #2516 |
In Windows 11, PyCharm 2022.1.3, I used:
(reference @MIKAGMR answer) And than I got a problem with the lambda icon. Fixed by: In
reference: @2516 |
@Lypheo Thank you very much. That worked for me 💯 . |
Simpel solution
|
@bappelberg Note: The Please use that instead of creating your own, it's also more complete and is officially supported. |
@DRSDavidSoft The |
@alibutt30 Can you please add the This will turn the debugging on, so any issues are displayed. Please launch the terminal then either attach a screenshot of the what is causing the crash, or please copy and paste the log in a file and upload it here to we can investigate, thank you. |
@DRSDavidSoft Apologies for the late response. Awaiting your analysis. Thank you |
@alibutt30 I moved our conversation to the link below to avoid generation a notification for everyone: Remember, the official guide (tested and works) is here: |
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?
The text was updated successfully, but these errors were encountered: