I have a problem in Java Eclipse in that when I type a long sentence it goes beyond the border of my PC screen, so that I have to scroll to the right to be able to read a long sentence. I would like the text to stay within the screen, or within specific parameters, so that I don't have to scroll. Is there a way to do this?
I tried Googling a solution but can't find a way to get text to stay within screen limits :(
I found a button on the Toolbar.
In Eclipse ide 2019-03:
Toggle Word Wrap: Alt+Shift+Y
Depending on which version of Eclipse you use, there may be a way to enable Word Wrap.
In the question How do you enable word-wrap by default in Eclipse? Emmanuel Guiton explains that there is a setting which can be added manually to a preference file. Mickael states that Eclipse Neon uses the aforementioned shortcut.
Edit: Changed "Eclipse Oxygen ide 2019-03" to "Eclipse ide 2019-03"
Related
Not sure if this is the correct place to ask. If there's a better SE site for that please let me know.
Ever since I've started using SceneBuilder it's sub-menus are completely unusable, as they disappear as soon as I move the cursor to select an option.
For example - say I want to change the font size for a label. I click on the "Font" property, which opens the family, size and style properties. Now I click on the size, which opens a drop-down list of sizes, but as soon as I move the cursor to a value the drop-down list disappears! It's as if SceneBuilder thinks I've given up on selecting a value, so it should hide the drop-down again.
The exact same thing happens, for example, when trying to change properties of effects, and anywhere there is a drop-down not in the main window.
I am using the latest (8.0.0) SceneBuilder from Gluon, although the exact same thing happened on Oracle's 2.0 (which is older and not maintained, as far as I could tell). I'm on Linux Debian 64bit, Java version 1.8.0_u40.
Any hint as to why this is happening, and how to solve it?
Normally SceneBuilder does not show such a behavior. I can only imagine that this behavior is triggered by some Linux Java bug. My suggestion would be to switch to Windows or Mac (probably not an option for you :-)) or at least use a more recent version of Java in the hope that this bug has been fixed in the meantime.
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
I'm in the process of moving from JCreator to Eclipse.
When I hit build the button the output is shown at the bottm of the page, but I want my output to be shown in another window (typically black and white on JCreator).
Can anyone identify what the name of this window is and how to obtain this for eclipse?
I swear this answer should be on stack overflow, but I'm afraid my novice vocabulary is keeping me from finding the answer.
You can drag the console anywhere you want. If you move it outside the Eclipse window, it is completely detached.
I am learning Java using Eclipse - started a project with javax.swing and could view a design page with my page layouts shown and various palets for components etc. Now this design page seems to have vanished and I cant discover any option to recover it. I hope someone can get me back on track.
Have you tried Right-click on class (for example MySwingPanel.java) in package editor Open With->WindowBuilder Editor?
The last time you selected something in Open With - this is the editor to open that file on double click.
Have you tried changing the Perspective? Click the arrows next to the DDMS tab in the upper right hand corner of Eclipse and select the 'Java' Perspective.
I'm using IntelliJ's UI designer and now I'm stuck as the designer has decided to chop off half of my form. In the UI Designer pane where it shows the components you have added to your form, I can clearly see all my components as expected. But in the main editor window where you see the form itself, IntelliJ has decided to chop off half of it!
Has anyone seen this behavior before and/or know how to resolve it? I have tried doing things like invalidating the cache and restarting IntelliJ several times (which worked once but the problem has come back and I can't seem to resolve it again). I fixed it the one time by restarting IntelliJ and then there was a little anchor to expand the form a little more to reveal the components that were in the white space, but that anchor no longer appears at the bottom of the form to expand.
I am using IntelliJ 9.0.3 Ultimate.
I found the anchors again used to make the form bigger. You can right click the form and choose "Expand Selection" (CTL+W) and then you can increase the size of the form in the editor. I'm not sure why it doesn't expand as you add more components automatically but this solution seems to do the trick.