Prevent groovysh from stealing focus on macOS - groovyshell

When launching the Groovy REPL, groovysh, it also launches a separate support app that appears in the dock. This app thus steals focus meaning I can't start typing into the groovysh interpreter immediately; I need to click back to the terminal to get focus there again.
Is there a way to disable this behaviour or should I make a bug report? I found this old ticket which sounds promising but the focus theft persists.

This worked for me:
groovysh -Djava.awt.headless=true

Related

Tool window quick access doesn't work in IntelliJ IDEA Sometimes

I'am Using IntelliJ IDEA 2018.3.5 (Ultimate Edition)
I've been going through all the documents from JetBrains, but I couldn't find how to show my tool windows. Sometimes IDEA behaves unexpectedly by not giving me a way to show my tool windows. I've tried to access them using my usual keyboard shortcuts, Find action feature or by clicking this icon
But unfortunately, IDEA does not give me any response.
By the way, it works If I completely shutdown IDEA, but I can't do that when I am in the middle of a keynote since it takes time to reboot.
How can I fix the issue?

PhpStorm IDE: Cursor gets stuck in text-select (highlight) mode in Ubuntu 18 LTS

I am using PhpStorm for working on Laravel projects. However, the mouse gets stuck in text highlight mode and right click does not work on the IDE.
Closing the IDE and restarting does not help solve the issue. I have tried to look for an answer online without success.
For those struggling like me, I got a workaround.
I went to my Ubuntu OS "Settings"
"Mouse & Settings" option
Then "Mouse and TouchPad"
Disabled the touchpad by toggling the "ON/OFF" switch
Re-enabled the touchpad again by toggling the same "ON/OFF" switch
When I went back to my IDE, behold, it works. My trackpad is no longer stuck in highlight mode.
Disclaimer: I have a touch-sensitive screen and that's how I was able to re-enable the touchpad again. I don't know how one would do this without another input source.
This was a big help for me, thanks!
Just to be clear, enabling/disabling the touchpad is in Ubuntu settings, not in PHPStorm settings.

WebStorm: 2nd project window gets opened BEHIND 1st project window

I often work with multiple projects open at a time. If I already have a project open and I go to open another existing project, the newly-opened project window will open behind the project window I was just working on. In other words, the new window does not become active. It's extremely annoying and has led to repo mistakes on multiple occasions.
Is this the normal/intended behavior and if so, can it be changed to force the newly-opened project to become the active window?
WebStorm 2017.2.4
Win7 x64
Opening other project in foreground is normal behavior.
More likely you have faced a bug. It's already reported on the JetBrains bugtracker and not fixed yet. Here its status, you can check there if somebody has found some workaround, vote up and subscribe for notifications.

Accidentally dismissed the decompiler prompt in Intellij Idea, how can I enable it?

I accidentally dismissed the decompiler license agreement (pressed Escape) in Intellij Idea when it first popped up. How can I turn this feature back on as it seems not to work and the setting to reset this is nowhere to be found?
Instead of wasting time and panicking - just restart your IDE and it'll prompt you again.

Intellij 13.0.2 is always on top

I recently upgraded from Intellij 12 to 13.0.2 on a Windows XP PC. Apart from minor settings like toolbar missing etc rest looks fine.
However the most annoying issue is that Intellij doesn't allow any other window to be on top of it. If I open a browser, it automatically goes behind the Intellij window.
I already tried setting the "Always on top" to false.
I know it sounds very trivial and stupid, but is there some setting that I need to change ?
Try to restart your IDE - this should normally solve the problem.
It seems to be an error in the IDE that will probably be fixed soon. Since there is this simple workaround, it might take a while till they fix it.