IntelliJ IDEA - Find in path is locked in another window monitor - intellij-idea

There is a problem in my IntelliJ IDEA. When I open Find in Path it is shown in a modal window in the second monitor instead in a window inside the main window like it did before. There is no way to move that window to main monitor. I don't remember if I change some configuration which caused this problem, but I'm pretty sure not.
I tried to restore default window configuration in Window/Restore Default Layout. But it didn't help. I'd like to restore the previous behavior without reset all configurations (by delete the config folder), since there is a lot configuration I've to do in IntelliJ IDEA before I can get to work.
Below is an image of both monitor windows.
IntelliJ IDEA 2018.1.4 (Community Edition)
Build #IC-181.5087.20, built on May 16, 2018
JRE: 1.8.0_152-release-1136-b39 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.13.0-39-generic

I realize this post is quite old, but I just had the same problem. I could solve it by removing the state of the popup in the workspace.xml. You do not have to delete all you configurations etc for the project.
Just go to workspace.xml -> <component name="WindowStateProjectService"> and then find the problematic popup and delete its state. For me this solved the problem, it's possible though that you actually have to set the x and y coordinates to have the popup show up at the right place (I didn't need to fwiw).

Besides changing configuration file, alternative for me solution (Linux, Ubuntu) is:
closing "Find in path" window with ESC,
opening it again Ctrl+Shift+F.
Only on initial open one will get handle to resize window's width to smaller width then screen if one goes far left or right to the edge of "Find in path" dialog.
When resized to smaller width then screen width, one will be able to
move this dialog to another screen (it seems this is happening due
window edge snapping)
Hope this helps.

After you click on the window header keep moving the mouse pointer to the other monitor until the find window jumps to the other monitor. In some cases you have to move the mouse quite a bit.
Looks like the window can not be in two monitors at the same time.
I have Android Studio 3.6.1

For Mac OS I found that the best solution is to change your main display by draggin the menu bar to where you want your "Find in files"-popup.

I had the same problem with IntelliJ 2020.3.3: The "Find in Path" Window always appeared on the laptop screen instead of the main screen. It was full-width (but not full-height), and I was able to move and resize it vertically, but not horizontally - and thus not onto the screen to the right.
But I was able to drag the window by holding the "Alt"-key while dragging. It was the again-fullwidth on the other, correct screen, but still not resizable in width. After closing and opening again it was still on the correct screen, and not full-width anymore.

Related

IntelliJ doesn't display... at all

I have a bug which is completely over the planet. IntellIJ doesn't display. It's on, yet doesn't display.
It worked well before, last thing I did was re-setting up new dependencies on my code and (nothing to do with that) re-setting SDK for other reasons, both of which shouldn't be linked to display properties.
As you can see it's working, I see the pop up windows:
But doesn't display:
Yet I can see IntelliJ windows with Shift + Tab:
and yes, my screen doesn't duplicate, so it's not hidden in another dimension or something
I tried:
restart computer
uninstall install IntelliJ
uninstall install IntelliJ without previous parameters
try other JetBrains software, like DataGrip, it works and displays well
call a homeopathic doctor
Unsuccessfully. So I knee and await before your judgement of this critical situation.
I have this exact same behavior happen to me when I use IntelliJ at work and then go home and try to use it via Remote Desktop. Its very strange (regardless of which monitor I leave it on at work when I leave).
If I hover over it in the task bar and then hover over the thumbnail for the running app, I can right click and tell it to maximize and it magically comes back into focus. Sometimes I have to tell it to restore and then to maximize before this works.
Occasionally even this doesn't work and I have to close it, re-open, and do the same. It makes no sense, so I understand your frustration.
It works
As John Humphreys - w00te mentionned, click right over the thumbnail (I insist: the thumbnail ! Not the taskbar icon) and then select maximize and voilà.
Bon appétit.
Thanks for your contribution and I hope it will help some people in need here.
I have had this issue when I have moved from a dual monitor setup to a single monitor setup or a different dual monitor set up. The issue here that intellij window seems to save and use the coordinates of the last dual window setup to render the window. It doesn't matter you restart your computer, it will always try and render to that position, even if that position is not visible on the new monitor set up. On windows there is an easy way to fix this issue. Go to your display setting and flip the order of the windows. The intellij window should now be visible. you can drag the window to the your other monitor and re-arrange the windows back to the order you had previously. After that, you can place the intellij window wherever you want.
In my case I noticed there is a 1 pixel thick gray line on my screen, turns out that was the IDEA window and I could resize upon hovering that line. Needless to say it wasn't me shrinking it.
I have this same behavior, It happens to me when I connect a monitor in extended mode and move the intellij window to the monitor, then disconnect without moving it back. No other solution other than to connect to monitor again and bring it back to the original window for me works.
On mac, select the app from the app tray so that the menu for it appears up top. Then on the menu up top, go to Windows->Zoom and it should expand to fill the viewport.
From there you can drag it down to size and reposition.

How to maximize width of Debug window in Intellij IDEA 2017.1.2 on Windows 10?

I cannot find how to change behavior debugger window of IntellJ IDEA 2017.1.2 on Windows 10. I like to use it in unpinned mode, meaning it comes up when build happens (I execute it manually) and when I click on the edited file it goes down. But It does not take full width. It does not go over Project window as you can see in the picture below.
It works by default as I described on Windows 7. I mean it takes full width. Unfortunately, I cannot provide a screenshot about it. That machine is my workstation.
I cannot find in the documentation how to setup this. I assume it is due to Windows 10.
It's controlled by the Widescreen tool window layout option, disable it:

How to make tool windows remember their monitor and position in IntelliJ Idea 13

How to make tool windows remember their monitor and position in IntelliJ Idea 13?
Is there a way to do that?
I have 2 monitors with different resolutions.
I like to keep the main window of the IDE (and the code editor) on my laptop monitor and have the tool windows (Debug, Changes, Run, Terminal, Maven) on the second one at max width and height.
So What I do is to float them, max them on the second monitor and pin them there.
it works but every time I close the IDE, or sometimes during my day they get back to the main monitor again.
They kind of maintain their height and width (a few pixels less I think) but they appear huge in the middle of my smaller monitor.
This is the only draw back I have to say agains the IDE, and in Eclipse this kind of thing works as a charm.
Is there a way to solve it? Or a plugin?
Cheers
I had the same problem with Find window. Solution was to close IDEA (13.1.5) with all windows positioned as I like. It seems IDEA memorizes window positions only on termination.
I had the same problem, and today I found this in jetbrains help website:
Save the arrangement of tool windows:
From the main menu, select Window | Store Current Layout as Default.
the url is: Arrange tool windows

when using intellij running dual monitors on ubuntu, how to get menu to get menu popup not to drift back to first window?

I use idea on ubuntu linux w/ 2 monitors. I often pull up 2 projects so I can copy stuff from one to the other, and I have one project in a window on
one monitor screen, and the other on the second screen.
My problem is this: when I open the second project in the 'non-primary' monitor screen, and i click on an item in the top level menu bar
the menu pop up displays on the primary monitor screen...not the secondary one... it does not matter if I have the project in the secondary
monitor window maximized or not... the pop up just drifts over to the primary monitor screen..
it is not a fatal error.. I can move my mouse over to the first monitor window and click on the sub menu i want..
but it is so annoying. I'm wondering if this is a bug, or perhaps there is a work around for it ?
Also posted on IntelliJ user community board. If they answer, I will post the response here.
That is unfortunately a Ubuntu specific bug. I recommend you vote for and track it: Pop-up dialogs are sometimes misplaced on Ubuntu 12.04 with dual screens
I can suggest 2 workaround solutions for this issue.
Workaround 1
I use Intellij on my right hand side monitor. But the menus are displayed on left hand side monitor. So, I opened "Displays" configuration and moved the right hand side monitor to the left. Now, the menus are displayed on the correct monitor. Note that, the monitor is still stays on my right hand side:).
Workaroud 2:
Downgrade to JDK 1.6.

For intelliJ 12.X how do i get the console back in the debugger?

Just like this question here:
IntelliJ: After hiding my "Output" sub-panel within the "Debug" panel, how do I get it back?
I canno get the log/console viewer back in debug mode.
The suggested solution in the given question no longer works the "restore layout" button does nothing, and the "certain spot" on the debug is extremely vague at best.
Is there a way to retrieve the console if it gets vanished (or better yet, just stop that button for vanishing it from even existing)?
I am using IntelliJ 12 Ultimate. If the restore layout didn't work for you either, this should fix the problem:
Open the Debug panel.
Keep mouse on the Debug tab and move it straight right to the Watches icon.
You may see a few more more icons here, and Output may or may not be visible (not visible for me)
If visible, click it and the Output view will be restored.
If not visible, move your mouse slowly to either side of the Watches icon and an empty block would highlight indicating that you are hovering over an icon. There may be several of these. Use tooltip to figure out which is Ouput and click it.
Worked for me, I hope it works for you too.
click the button on the left of Debug View called "restore layout",then the console will go back in the Debug View! 1
Syed explained it pretty well, but a picture could be even better:
A view can be hidden via its context menu, then restored by clicking the corresponding icon (with red circle) to the right.
You can restore the layout using this button as of 2018.1.8
In 2016.2, I had to re-run in debug mode for it to reappear. I could not find a way to un-hide the console in the debug window.
You don't say which version of IntelliJ you're using, but I've just tried this in version 12 and the console window minimises to the far right of the debugger tabs. Look at where it says 'Debugger' and then eyes right until you see one or more icons over the Watches panel. Try clicking on them. If you're not using version 12, then only god can help you :)
In v. 2020.1 there is Layout Settings on the top right corner of Debug window
I've just spent an hour trying to get my console output back, and although this answer didn't solve it, it did help.
I'm on Intellij 11.1 Ultimate Edition, and Restore layout didn't help. Nor did I have any icons above the Watches window in the debugger, but I clicked around above the Watches anyway - and suddenly my console output was restored.
I've tried clicking around there again to see if I can provide more concrete steps, but without success. Can only suggest you keep clicking till it reappears.