intellij how to change run window width - intellij-idea

Something so easy..
I just want the 'run' window of intellij, that prints output, to wrap instead of just running off the side of the screen. I've spent 15 minutes trying to figure it out. Please someone tell me!
Thanks!

Idea X will have this very feature. You can give the preview a try: http://www.jetbrains.com/idea/nextversion/index.html. You'll notice a button in the run window tool bar that says 'Use Soft Wraps'. That's what you're looking for

Related

IntelliJ scroll console to end after test execution

This is a little thing that annoys me. When I run a test case, output console is flooded by messages (especially when testing Spring beans). When test finishes, I see the red bar appearing, I see that there is a stacktrace somewhere down, but the output is immediately moved to the top.
I know that there is a 'Scroll to the end' button, but I have to click it. I want the end of a test output to be displayed automatically.
I'm using IntelliJ CE, 2018.3.2
I'm attaching a screenshot that shows my console after executing a failing test. Despite a 'Scroll to the end' button is enabled, output is "rewind" to top.
Ok, I found some kind of solution. In the test run tab, there is an icon for test settings. In there there is an option 'Track running test'. I noticed that when I change this setting, my console output stays at the botton and it's not being rewind. You can see that on a screenshot below.
I'm not sure if this is IntelliJ's feature or a bug, but maybe someone will find this post useful.
For me (in webstorm 2020) the solution was to click the cog wheel, then select Scroll to Stack Trace. I'm sure in all the Jetbrains products this is the solution.

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 revert to the Debug window after getting Usage in IntelliJ?

I am debugging and I want to find usage of some class/var/method. I click on it and choose Find Usage but that opens a usage window over the debug one. After that, I do not know how to get rid of it (or push it to the background) and see the debug window again.
How do I do this?
If you're using Mac try: command+5 or from the menu: view->tool windows->debug

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.

Gorm main window does not accept drag-and-drop

When I try to add any widget (label, button ...) to main application Window in Gorm, the Window does not accept the widget. I try to drag and drop but nothing wants to 'stick'. When I select and left click on button widget in palette window the curson changes to '2 green squares'. When I start dragging it changes to '2 black squares'.
Another problem is that the 'Document' window opens really long window (stretches about 5 times the width of my screen) but apart from NSOwner, NSFirst, My Window and NSMenu icons it is empty.
Any ideas what is wrong?
I'm running linux with fluxbox-1.1.1
I've compiled gorm-1.2.8 and gnustep-startup-0.22.0 that contains:
ffcall-1.10
gnustep-back-0.16.0
gnustep-base-1.18.0
gnustep-gui-0.16.0
gnustep-make-2.0.7
gnustep-objc-1.6.0
libffi-3.0.1
Any help is appreciated.
Thanks
Maybe there's a compatibility issue or some conflict between existing run time libraries and the new ones that I'm trying to add. Doesn't seems like there's a straightforward answer for this. Nevermind, I gave up trying atm. Maybe later when I setup another Linux box I give it a try - I'll stay with Mac OS X for now :)