How to turn off netbeans welcome screen? - netbeans

The screen which shows whenever i start Netbeans is very annoying, and among the hundreds of options I can't find the one which turns it off?

To disable the welcome screen, all you have to do is uncheck the box at the bottom that says "Show on startup".
(If I misunderstood you and you were asking about the splash screen, you can disable it by passing the -nosplash parameter.)

It could be complicated for 4k screen users, but it can be done in "blind" mode, by using TAB button to jump through menu and ENTER to uncheck the box.

As noted in another answer (https://stackoverflow.com/a/35648606/1277576), that checkbox is impossible to see on high resolution screens (it is completely invisible).
The solution I found is to specify a small font size at Netbeans startup (using --fontsize 14 as parameter), disable the checkbox and then restore the size I've been using all along, in my case --fontsize 20.

Related

Google Chrome color picker isn't responding

Google Chrome color picker isn't responding. I tried re-installing and resetting Chrome. How can this be resolved?
"Reset devtools" doesn't fix the issue. I am not entirely sure what the exact cause of this bug is, but the only fix available will need to be done in an update. I could not find it in the code itself, although I didn't spend much time looking.
The main issue is that when your dev tools are docked to the bottom of the window, then the color picker will not show. It will load though, but the interface wont show. More than likely it is either in the wrong layer, or has some issue with its actual display, as no errors are thrown.
Anyway, the reason resetting dev tools works is because the default setting is to dock the dev tools to the right side of the screen (presumably, their testing showed most users use a wide screen, multiple screen, setup; as a result, there is room on the side of the screen).
If you, like me, use dev tools docked to the bottom, then in order to see the color picker, you need to change the dev tool temporarily to be docked to the right side of the screen. This does not require the settings to be reset, just simply change the docking position.
if your color picker not working on your mouse pointer, then you have to change your display settings, if your display settings are at scale 125 or more then your color picker won't work in any of the browsers, if you change your display setting to 100% your color picker will automatically start working
Changing the window size brings back the color picker. If the window is full screen size, get out of full screen size.
The solution that worked for me is:
Get out of full screen mode (Un-maximize window).
Reduce the window size, specially the width.
Docking the dev-tools to right side, Scaling the display, Lowering display resolution also brings the color-picker back as all of these affects the browser window size. Hopefully this bug will be addressed soon.
Open the inspect elements -> go to settings -> Preferences -> scroll down to the end you will see button "Restore defaults and reload" -> click on it and it will work
I had the same issue on Chrome 108.0.5359.98 on Arch for a long time now.
The problem was fixed by simply unchecking one of the experiments in DevTools - Settings - Experimets - Enable color picking outside the browser window.
scale your display settings to 100 % and again re scale to 125%(recommended).
For me chaning the Devtools zoom size worked not the webpage size.
Ctrl + Mouse wheel zooms in or out on the dev tools dock.
The problem is quite simple. You are unable to use the color picker because you have enabled the mobile view or any other device view
and, you got the answer, you just need to close the device toolbar and you are good to go.
Hope that works 😃

How to wrap line in PyDev's interactive console?

Each time I want to view a long output line, I have to drag the horizontal scroll bar. Is it possible to set word wrapping in PyDev's interactive console (not editor)?
Unfortunately no, it's not currently possible to enable word wrapping in the PyDev interactive console.
You may report this as a feature request in https://www.brainwy.com/tracker/PyDev (but even better would be providing a pull request for that -- see: http://www.pydev.org/developers.html)
It is now possible as of PyDev 6.2. By default it is not enabled. To see the icon that you have to click to enable visit this. For the possibility that the link disappears, go to the console tab and you will want to look for an icon which has a yellow "left-turn" arrow and click that.

Eclipse quick fix dialogue hides bottom line

Whenever the Eclipse quick fix dialogue pops up, all options are visible, but as soon as the mouse is moved to the dialogue the bottom option is hidden by a button saying "Configure Annotation Preferences". To see the bottom option again I will need to scroll down in the dialogue. This happens even if there is only one option in the pop up.
I find this very annoying, since I'm more likely to select a quick fix option than to change some preferences. (Am I the only one?:))
How can I get rid of the button, or at least get the dialogue to resize itself so no options are hidden?
I'm runnig Juno on Ubuntu_64, v12.04.
Change the preference Window -> Preferences -> General -> Editor -> Text Editors -> When mouse moved into hover to "Enrich on click" to work around the issue. Works fine for me on the same Ubuntu setup.
Be warned that this only works for hovers which don't need to be scrolled. If scrolling is necessary to see the content at the bottom, then either clicking into the popup or scrolling with the mouse wheel will still bring up that configuration button. To make this less of a problem, you may want to configure your Java, Lint or other plugins contributing quick fixes to ignore certain types of problems (which you never fix).

Keyboard shortcut to change font size in Eclipse?

It is relatively straightforward to change font sizes in Eclipse through preferences (and answered several times in this forum).
However I'd like to change font size quickly (e.g., with Ctrl++ and Ctrl+- like in Linux terminal or Ctrl+mouse wheel in MS Office apps). Is there a way to do this in Eclipse?
Eclipse Neon (4.6)
Zoom In
Ctrl++
or
Ctrl+=
Zoom Out
Ctrl+-
This feature is described here:
In text editors, you can now use Zoom In (Ctrl++ or Ctrl+=) and Zoom Out (Ctrl+-) commands to increase and decrease the font size.
Like a change in the General > Appearance > Colors and Fonts preference page, the commands persistently change the font size in all editors of the same type. If the editor type's font is configured to use a default font, then that default font will be zoomed.
So, the font size change is not limited to the current file and the new value of the font size is available here Window > Preferences > General > Appearance > Colors and Fonts.
I know it has been long since the original question was posted, but for future reference:
check this project, https://github.com/gkorland/Eclipse-Fonts
I have used it, and it's very simple and efficient.
Take a look at this project: http://code.google.com/p/tarlog-plugins/downloads/detail?name=tarlog.eclipse.plugins_1.4.2.jar&can=2&q=
It has some other features, but most importantly, it has Ctrl++ and Ctrl+- to change the font size, it's awesome.
The Eclipse-Fonts extension will add toolbar buttons and keyboard shortcuts for changing font size. You can then use AutoHotkey to make Ctrl+Mousewheel zoom.
Under Help | Install New Software... in the menu, paste the update URL (http://eclipse-fonts.googlecode.com/svn/trunk/FontsUpdate/) into the Works with: text box and press Enter. Expand the tree and select FontsFeature as in the following image:
Complete the installation and restart Eclipse, then you should see the A toolbar buttons (circled in red in the following image) and be able to use the keyboard shortcuts Ctrl+- and Ctrl+= to zoom (although you may have to unbind those keys from Eclipse first).
To get Ctrl+MouseWheel zooming, you can use AutoHotkey with the following script:
; Ctrl+MouseWheel zooming in Eclipse.
; Requires Eclipse-Fonts (https://code.google.com/p/eclipse-fonts/).
; Thank you for the unique window class, SWT/Eclipse.
#IfWinActive ahk_class SWT_Window0
^WheelUp:: Send ^{=}
^WheelDown:: Send ^-
#IfWinActive
Windows > Preferences > General > Appearance > Colors and Fonts
Then, to change Java editor font: Java > Java Editor Text Font > EDIT
There it is.
Oddly, working on a .js file and Ctrl, Shift, += works to zoom in (and Ctrl - works to zoom out but you have to select 1 or 2 after Ctrl -). This only works when I'm in the js file but the zoom applies to all my open tabs. Using Eclipse Juno on Ubuntu.
In Eclipse Neon.3, as well as in the new Eclipse Photon (4.8.0), I can resize the font easily with Ctrl + Shift + + and -, without any plugin or special key binding.
At least in Editor Windows (this does not work in other Views like Console, Project Explorer etc).
Found a great plugin that works in Juno and Kepler. It puts shortcuts on the quick access bar for increasing or decreasing text size.
Install New Software -> http://eclipse-fonts.googlecode.com/svn/trunk/FontsUpdate/
I use an Eclipse plugin (in Eclipse Marketplace)
https://marketplace.eclipse.org/content/fontsize
Here's a quicker way than multi-layer menus without resorting to plug-ins:
Use the Quick Access tool at the upper left corner.
Type in "font", then, from the list that drops down, click on the link for "Preferences->Colors and Fonts->General->Appearance".
One click replaces the 4 needed to get there through menus. I do it so often, my Quick Access tool pulls it up as a previous choice right at the top of the list so I can just type "font" with a tap on the enter key and Boom!, I'm there.
If you want a keyboard shortcut, Ctrl+3 sets the focus to the Quick Access tool. Better yet, this even automatically brings up a list with your previous choices. The last one you chose will be on top, in which case a simple Ctrl+3 followed by enter would bring you straight there! I use this all the time to make it bigger during long typing or reading sessions to ease eye strain, or to make it smaller if I need more text on the screen at one time to make it easier to find something.
It's not quite as nice as zooming with the scroll wheel or with a simple Ctrl+ or Ctrl-, but it's a lot better than navigating through the menus every time!

Horizontal scrolling with the scrollwheel in Eclipse

I've been trying to find a way to scroll the text horizontally with my scrollwheel in Eclipse, similar to the way you can do it in Textpad. In Textpad if you hold ctrl while you scroll vertically it will scroll horizontally. Does anybody know if there is a configurable setting somewhere in Eclipse that will allow this? I've looked all over the "keys" setting page without being able to find it, and Google/Stack Overflow searches haven't turned anything up for me.
Thanks.
I guess this depends more on your OS than on Eclipse. For instance on Mac OS it's Shift + Scrolling.
#Daniel Sokolowski's answer was almost working. I have been using X-Mouse Button Control for over a year now and didn't know how to get the Horizontal Scrolling to work on certain programs (like Eclipse and Chrome) until I read Sokolowski's answer which pointed me in the right direction.
For the sake of brevity, and not to duplicate what has already been written clearly by Sokolowski, follow his directions, and in addition do the following:
Add Eclipse to your Applications list in X-Mouse by clicking Add and finding javaw.exe in the "Choose Application" popup and clicking OK.
Now click on the "Eclipse" profile and choose the "Scrolling & Navigation" tab
Under the "Advanced Window Scrolling" choose Method 1(SCROLL Msg) option for Scroll Method
Click Apply
If you correctly followed Sokolowski's and my instructions together you should be able to press Shift while scrolling up or down to trigger a horizontal scroll.
On a Windows machine this worked for me:
Download X-Mouse Button Control
In the main window go to 'Layer 2' and change 'Wheel Up' and 'Wheel Down' to 'Scroll Windows Right' and 'Scroll Window Left'
Go into the 'Settings > Modifier Keys Tab' and select 'Shift' for the 'Activate Layer 2' setting.
Now in whatever active window, including Eclipse pressing shift and then scrolling up and down will scroll horizontally.
Update: I have been using this approach for a few days now and noticed that not all windows are horizontal scroll enabled, for example 'Package Explorer' is not but 'Navigator' is - this appears to be a limitation of Eclipse IDE rather than this approach. Please take a moment and upvote this Eclipse Bug #201984
You have a plugin supposed (not tested) to support horizontal scrolling.
But without plugin, SWT does not support horizontal scrolling on Windows.
Its support is planed for 3.6 though. (since 3.6M2, actually -- September 18, 2009)
New event constants have been added for horizontal mouse wheels.
See SWT.MouseHorizontalWheel and SWT.MouseVerticalWheel.
For me the best way while using eclipse or for that matter any IDE, is to have a new line char at the end of screen. I feel that to use horizontal scrolling to view data becomes bit difficult while going back and forth and I would like all code to be visible to me always. If the code you are trying to view requires you to use horizontal scroll bar then try to format it by using Ctrl+Shift+F.
The bug has been fixed in the latest update of Eclipse.
In your Eclipse menu bar, simply:
1. Click Help>Check for Updates.. (and wait for the progress bar at the bottom to finish checking)
2. Install all updates.
Once Eclipse IDE gets restarted, you are now able to scroll horizontally.
(Save yourself from having to install additional mouse softwares to create new configurations. Phew, I'm so glad I figured this one out for myself)
Cheers!