57

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?

George Tomlinson
  • 1,871
  • 3
  • 17
  • 32

7 Answers7

135

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!

Andrew Ring
  • 3,185
  • 1
  • 23
  • 28
11

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

coder
  • 8,346
  • 16
  • 39
  • 53
PichetNart
  • 145
  • 1
  • 10
6

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/

kta
  • 19,412
  • 7
  • 65
  • 47
  • 8
    Does anyone kown how to get back to Standard Zoom Level? I alway accidentaly scroll and zoom inside the code. – kasoft Dec 28 '16 at 12:41
  • @kasoft Maybe a little workaround, but it works: note the number of lines of code visible in editor tab with "no zoom" and then scroll up/down in tab where You have accidentally change zoom level to match the number of lines. On my 24" screen I can see about 120 lines of code with notifications/output/terminal tab opened below editor. – Jakub Rakus Jun 10 '19 at 10:09
4

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

  • 1
    This solution was already given in [this answer](https://stackoverflow.com/a/50808646/9199167) by [PichetNart](https://stackoverflow.com/users/3538450/pichetnart). Please check existing answers and upvote those you find helpful, instead of adding duplicates. Thanks! – Max Vollmer Sep 28 '18 at 13:28
1

Visit here and download the zooming plugin.

Steps to Install Plugin:

  1. Open Tools
  2. Select Plugin
  3. Goto Available Plugins Tab
  4. Search for Zoom and install the plugin
  5. Restart NetBeans
Anchit
  • 171
  • 1
  • 11
1

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

AHAMED AAQIB
  • 336
  • 4
  • 12
0

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.

Peter Csala
  • 17,736
  • 16
  • 35
  • 75