Disable showing of run window in IntelliJ - java

In IntelliJ every time I make a change in code and I run the app afterwards, "run window" is automatically popped up. Is there any way to disable this annoying behaviour or how to make it less distracting?

I finally could solve this one. At least it worked for me. At the bottom of "Run/Debug configurations" window and in "Before launch" part, uncheck "Activate tool window" check box.

There is currently no solution to do this permanently. However, there is a workaround to prevent it from popping up. Try this:
After the first time the window pops-up simply resize it all the way to the bottom (i.e. grab the TOP and drag down until the window disappears). This will prevent it from popping up again until you manually click one of the buttons to open any window in the same area (i.e. Run, TODO, Android, Terminal, Messages, (and Find Results) - or whatever you have in that same area if you've customized it).
To keep it from popping up, never click the hide button on any of these windows but rather use the same "drag from top to bottom" to hide them (the effect is the same).
This is annoying, to say the least, but once you get used to it it works fine and is much less annoying than dealing with that blasted Run popup window :)
NOTE
I should mention that this is completely safe to do as the windows are only hidden when you do this, and clicking the window's button at the bottom will show it in its original size - so nothing goes missing or breaks using this method :-)

These are called Tool Windows. Right-click the tool window, it pops up a menu, the last option of which is 'Hide'.
Alternatively,
You can install the plugin ToolWindow Manager to show/hide the Tool Window of your choice.

Either
1. Set the run window to be in either split and then shrink it down to be as small as possible.
2. Set the windows to be in floating mode and then shrink it down and move it somewhere less distracting.

disabling checkboxes in "Window | Background tasks solved my problem.

It is soooo annoying oO I just dragged the windows to an other screen and/or set their height to a minimum.. Not "best practise" but it is better than nothing -.-

In intellij go to main menu windows->active tool window->disable floating mode option there.
thanks

For those who are facing this issue with "Run" window they can follow below instruction
From dropdown select "Edit Configuration":
Open Logs tab:
Uncheck these 2 checkboxes:

I have found a solution!!!!
There old plugin for Intellij IDE called "Hide Tool Window Ex".
It hides any tool windows that being opened just after you click in editor again.
(plugin page)
visual example

Related

Enhance C++ Eclipse with Java

I use Eclipse Mars for C/C++ on Ubuntu. Now I must use Java. I reading on how to install Java on Eclipse, this answer as well as this one. It is obvious that I have to click on Help, but I can't find it in Eclipse, thus I am asking for help! :)
Or maybe is there a way to activate Help via terminal or something?
The menu can be customized as part of the perspective
To get it to show, the two options are
Reset the entire perspective. Help should be visible by default in every one but resetting will reset every customization done to the perspective.
this can be done either through Preferences, General > Perspectives via the Revert button
or via the menu for the current perspective: Window > Perspective > Reset Perspective...
Adjust the perspective
Window > Perspective > Customize Perspective...
In the new window that appears in the Menu Visibility tab is the Help entry which is probably invisible.

Eclipse Debugger will not show the shared area

I've had this error before in pydev perspectives in the past, and the only solution I've ever managed was to remove the broken perspective and start a new one.
The problem is this:
Normally the different panes of the workspace can be minimized, maximized, and regular size. Right now, I cannot get the "shared area" code section of the debug perspective to show up at all. I can peak at it while it's minimized, but that's all I can manage.
What's more, eclipse automatically switches to debug, so it's basically impossible for me to debug code right now.
I'd really like to know why this is happening to me, and how to avoid and/or fix it.
Also, I'm currently running java 7, I have not updated yet.
You can go to Window, Reset Perspective which will give you your shared area back, although also obviously reset any other views you may have.

Cannot find button "Show Selected Element only" Eclipse Java EE

I've looked over Eclipse many many times, and cannot find this button! I had to use this and deal with this problem for 2 weeks now; it's getting really really annoying having to re-open the file cause i wanted to find the declaration line.
Please please please help.
Here's a picture:
(large version)
Customize perspective:
Click Window ยป Customize Perspective...
Expand Editor representation
Click Show source of selected element only
Moritz Petersen's answer will be helpful if you completely disabled the capability and want to get it back, but the option itself, if available, is under:
Window -> Preferences
And then:
Java -> Editor -> [ ] Only show the selected Java element
Personal tip: I bind this option to a keyboard shortcut so I can enable and disable it on demand. Very practical to focus on a task but indeed a bit annoying when you want to go back to a full-class view.
Maybe there is a bug in Eclipse.
I got the "Show Selected Element Only"- button, when I deselected all Editor Presentation buttons in the "Tool Bar Visibility" tab from the "Customize Perspective..."-menue. --> OK
After that I selected the button again.

Where can the Eclipse compiler be found?

usually, the compiler is in the lower right corner and pops up when you click on it
or when you have made an error. now i cant even find it. how do you call it up again?
Try this by clicking
"Window" -> Show View -> Problems
For your description it looks like you're looking for the console not the compiler
If so, look in:
Window --> Show View --> Console
You probably switched perspectives. Find the Java perspective in the menu or upper right corner, and switch to it.
If you accidentally closed the Problems or Markers view, you can re-open them through the menu.
You can also click Window > Reset Perspective. This is helpful when views get closed or lost in workspace.

SingleFrameApplication that does NOT require ALT to activate menuitem mnemonics?

In the NetBeans 6.9 IDE, if you create a
New Project >> Java >> Java Desktop Application and run it, you will find that the menu items have mnemonics, but only after ALT is pressed.
(The netbeans program itself uses this style of menu.)
However, if you create a new File >> Swing GUI Forms >> JFrame Form, and add a simple menubar with mnemonics, then run the JFrame, the mnemonics will always appear without having to press ALT. This is what I would prefer.
(Firefox uses this style of menu)
My thoughts are that the org.jdesktop.application overrides the default setting, but that's just a guess. Anyone know how to make a SingleFrameApplication not require ALT to be pressed?
Thanks.
Edit:
The problem was found to be that JFrame and JDesktop use different default Look and Feels
It's a Windows setting. In XP go to:
Control Panel
Display
Appearance
Effects
Hide underlined letters for keyboard navigation until I press the Alt key
(Win7 should have a similar setting somewhere, I suppose.)
The default setting is on, so Java is right and Firefox is wrong (even Office 2003 doesn't respect that setting).
Uncheck it and you'll always see mnemonic underline in Java.
Note that only Windows LAF correctly respects the setting. Motif and Metal always show the underline. I don't use NetBeans or jDesktop but I guess it uses system LAF and thus the underline is correct.
If you still want to always show underline under Windows LAF (please think twice before you do), call UIManager.getLookAndFeelDefaults().put("Button.showMnemonics", false), which does NOT seem to work for XP because WindowsMenuItemUI#paintText only checks the flag under Vista. You could check Win7 JDK yourself.
Note that there's an accepted bug when the setting is on, which goes like this (saving you some time to parse the 2nd most awful bug tracking system in the universe. The worst is an in-house ColdFusion system my company used to have): create one menu with mnemonic, for example &File, press Alt-F, release, press Alt-F again, the underline is gone. They are back as soon as you do anything else, clicking, or just press Alt by itself.

Categories