Does anyone know how to zoom in on NetBeans code? - netbeans

I want to enlarge the code I've written in NetBeans so it's easier to read. I can enlarge the output by using ctrl and '+', but it doesn't work on the code. Does anyone know how to do this?

Alt+Scroll Wheel (on mouse) will do it. If you want to change the font size, go to Tools>Options>Fonts&Colors [note: this is a large icon/tab]. From there, in the Syntax tab (default) click Default, then the '...' button next to Font. Change the font size here, and click Okay. Other fonts inherit this size, so that should be the only change.
Happy coding!

press { ALT (your keyboard) + Scroll wheel (your mouse) };

NetBeans 7.2 changes the behaviour slightly – now you need to initiate a press down click on the scroll wheel whilst scrolling to increase/decrease the font size. No keyboard assistance required!
- ref http://www.craiglotter.co.za/2012/10/16/how-to-quickly-increase-or-descrease-the-font-size-in-netbeans-ide/

Just press "alt" and scrool and normally it's oke

Visit here and download the zooming plugin.
Steps to Install Plugin:
Open Tools
Select Plugin
Goto Available Plugins Tab
Search for Zoom and install the plugin
Restart NetBeans

If you want to zoom In/Out the code file /source window use this below method.
press Alt key+ scroll Mouse wheel up for Zoom In and scroll Mouse wheel down for Zoom Out
If you want to zoom In/Out the output window/terminal use this below method.
press Ctrl key+ scroll Mouse wheel up for Zoom In and scroll Mouse wheel down for Zoom Out

Lots of "mouse driven" answers here. But not everyone uses a mouse anymore. To Zoom In/Out of the Output Window of Netbeans 11.x do this, it's simple.
Press Ctrl while pressing the Arrow Up (to zoom in) and Arrow Down (to zoom in) keys on your keyboard.

Related

How to do zoom in/out or increase font size in mysql work bench

I am trying to change the font size of text in the SQL script or zoom in/out.
I couldn't figure out how. Is there a way I can do the same.
On PC/Windows on laptop I hold down the control button and scroll with mouse touch pad. It zooms in at one move of scroll down, and zooms out when scrolling up. It is not very smooth but that is how it works.
Mac Answer
Zoom in and zoom out are available in the view menu, as well as their shortcuts.
PC Answer
You can change the font, going to
Edit > Preferences... > Appearance > Fonts section
Afterwards restart mysql workbench to finally change the zoom state
At the bottom of the editor, do you see the drop down labeled "100%". Try that to change the font size.
With MySQL Workbench version 8.0.22 running on Windows 10, zoom in/out works with ALT+mouse wheel instead of CTRL+mouse wheel!
As a summary:
Scroll the sheet up/down: Mouse wheel
Scroll the sheet right/left: CTRL + Mouse wheel
Move the sheet in any direction: Click Mouse wheel and move Mouse
Zoom in/out the sheet: ALT + Mouse wheel
On PC/Windows laptop zoom in and out works similar to phone on touch pad, just pinch in and out with two fingers.
In Windows
Edit -> Preferences-> Fonts & colors
In the resultset grid text box edit the font size.
By default it is in "Tahoma 10", I changed it to "Tahoma 16".
.Click ok.
Close and Restart Mysql workbench and it works perfectly for me. ^_^

VSCode Zoom in on .png

Is there a way to zoom in on an image in VSCode (.png in particular)? My repository contains some very small images, and I would like to view them without opening another application. I thought that the FontSize shortcuts plugin might be a workaround, but unfortunately, that doesn't seem to work.
As of VS Code 1.36 it's very easy:
To zoom in, just click on the picture. When the mouse is over it, the cursor becomes a magnifying glass with a small "+".
To zoom out, press Ctrl and click on it. While Ctrl is pressed, the cursor changes to a magnifying glass with a small "-".
Alternatively, the status bar in the lower-right corner displays some info about the picture, and one of the fields shows "100%": it's the current zoom level, just click on it and choose another one.
On my mac OS Mojave, I need to use
press down option + click on the image works if I want to zoom out.

How to zoom text in netbeans without mousewheel?

If your mouse is all right, you can easily alter the font size in netbeans using mousewheel. Unfortunatelly, my mousewheel is broken and returns random values when scrolled.
I just happened to accidentally zoom text out with that broken wheel. I want back the default zoom - but doing this using the mouse might take eternity. I tried Ctrl++ and Ctrl+0 (as in browsers) but that didn't work.
Can this be done? Can it be done easily?
Go to Tools|Options|Keymap and look for "Zoom text in" and "Zoom text out". You can assign it any shortcut you want

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!

How to reset text zoom in NetBeans?

This question and its answer explain how to zoom in and out on text in NetBeans, namely Alt + mouse wheel. But after you have zoomed in or out with the mouse wheel, how do you reset the zoom to the default setting? Restarting NetBeans resets it, but that's kind of inconvenient.
I happen to be using NetBeans 10.0.