I'm having trouble with the resolution of the just the window size of IntelliJ - intellij-idea

I am having trouble with the window size of IntelliJ when I'm starting a new project. For instance, when I open IntelliJ and click on import project I don't see the "OK", "Cancel" button at the bottom of the window, plus the window cannot be maximized to full screen and I cannot scroll down.
I tried searching in the setting but I just don't understand what setting to click on. I recently started using IntelliJ and I don't wanna enable some setting that i"m not sure of and get into a new mess.
If you look at the pictures above, you can see the buttons or the options are just hidden because of the window size or the resolution of the window.

Related

Intellij quick documentation is displayed in a separate panel instead of a popup

When I click Option-Q on an identifier to display the Quick-Documentation Popup instead of it showing up in a small dialog directly above the identifier it is showing in a large separate panel to the left.
This is suboptimal because the content is not where I wanted to look for it and because the new panel overlays the entire right side of the editor panel (and its contents).
Is there a Preferences setting for getting this to be a popup again?
Aha! There's a configuration menu that can be accessed by Right clicking on the top bar of the tool window. The first option Open as Popup is the one I wanted:

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

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.

Move a window to another workspace

This is what I am doing progamatically:
User is currently focused in worksapce 2 because from the main workspace they clicked "fullscreen" green button. 10 seconds later, while they user is in workspace 2, programmatically from my app in main workspace this happens:
Main workspace:
1) Open new window
2) Full screen it
3) activateIgnoringOtherApps so it brings my app to top
Step 3. This causes animation and change from the Workspace 2 to main workspace.
I was thinking after step 1 i should move the window i am opening (after 10sec countodwn) to "Workspace 2" I was thinking of using this code here: How can I programatically move one Terminal.app window to another space? I am hoping this will not make it change workspace.
My goal is to support 10.6+, will the code in linked topic do the trick so that my window is moved to current workspace, and doing activateIgnoringOtherApps will not cause scroll all the way to left.
Demo
To see exactly what I mean by scrolling workspace you can install my firefox addon: https://addons.mozilla.org/en-US/firefox/addon/nativeshot/
Then please Shift + Click two times my addon button the gets added to toolbar, then make fullscreen any other app other then firefox. As 10 sec countdown is finished you will see the scroll to newly opened window (which is an image editor on a screenshot)
Here is a youtube screencast showing the issue: https://www.youtube.com/watch?v=ihl8PHjO8fI

wxWidgets controls paint/draw/display issue on Windows

I built a small wxFrame GUI, originally on Linux using CodeLite+wxCrafter, but on Windows the controls are not visible until I click on a notebook page and back, or resize the form, or hover the mouse over a control. I created a new Windows CodeLite+wxCrafter project and it does not display this issue. I tried comparing all the details between the two projects to see what differences there were, but couldn't find any that fixed the issue. I'm puzzled.
For example, this is what I see when I run the app:
After clicking on the Advanced Page and then back to the Run Page or resizing the form, this is what I see:
Or if I hover my mouse over say a wxButton (Open) it shows up:
This is what it should look like, after I click on the Advanced Page and back to the Run Page or resize the form, and then hover my mouse across all the text controls.
Any ideas what the display issue is?

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.