X

Geertjan's Blog

  • January 16, 2016

Setting Up Darcula in NetBeans IDE 8.1

Geertjan Wielenga
Product Manager

The Darcula plugin for NetBeans IDE has been verified by the community, which means you can now go to Tools | Plugins in NetBeans IDE 8.1 and install it directly from there:

Next, let's change the NetBeans editor so that its font and color themes match the Darcula look and feel that the plugin above has installed into the IDE. Go to Tools | Options and in the "Fonts & Colors" tab, select "Norway Today" in the Profile drop-down box, as shown below. That gives us a nice starting point. Let's now customize the Norway Today profile. Go to the Default category of "All Languages" and change the "Background" to "Dark Gray", as shown below.

Switch to the Highlighting subtab, as shown below, and find the "Line Number" category. Set its "Background" to "Dark Gray", too, as shown  below.

Finally, change the font size to whatever you like. For example, I always use "Consolas 18 Bold", as can be seen below. 

The only thing I'd like to do that I haven't figured out is to change the size of the font in menus, etc, to be larger. The default seems to be 12 or 13 and there appears to be no way to change that. Not really a big problem, though. But would be nice to be able to change that.

Join the discussion

Comments ( 14 )
  • guest Saturday, January 16, 2016

    Awesome, thanks!


  • Cra$h Saturday, January 16, 2016

    Thanks! I miss that from visual studio (dark theme). The only thing i didn't like is the look when you edit a form, it's all dark and when you run it's grey. It's consufin lol


  • guest Sunday, January 17, 2016

    After installing the Darcula plugin, should it show up in the LookandFeel section? If not, what LAF do you choose? (I installed and it doesn't show up - so Dark Nimbus is what I use to have a Dark LAF. Regular Nimbus is light.)


  • Geertjan Sunday, January 17, 2016

    It currently doesn't show up in the LookandFeel section, that's one thing being worked on. Once you install the Darcula plugin, and you restart, you should immediately see the UI change to Darcula. Drop me a mail anytime if something in this regard doesn't work for you -- geertjan dot wielenga at oracle dot com.


  • guest Sunday, January 17, 2016

    NetBeans command line option "--fontsize <size in points>" might work, though it sets the fontsize in menus, tabs, trees, etc.


  • Geertjan Sunday, January 17, 2016

    Not with this plugin, no. The fontsize switch does not work with this plugin.


  • Thomas Sunday, January 17, 2016

    This is really wonderful, thanks a lot!


  • guest Sunday, January 17, 2016

    Hi everybody;

    Version 1.1 of the plugin fixing font size issue (and others) is available, currently in verification review. Please enjoy.


  • Geertjan Tuesday, January 19, 2016

    Version 1.2 of the plugin is currently available and the source code is open sourced: https://github.com/Revivius/nb-darcula The --fontsize switch has worked since version 1.1 and you can switch between LAFs including Darcula now in the Options window, as well as many other enhancements.


  • Basil Bourque Wednesday, January 20, 2016

    This Darcula plugin has one nice advantage over the "Dark Look And Feel Themes" plugin for Mac OS X users: Native Apple menu bar works automatically rather than moving the menu bar within the NetBeans window.


  • Yumarx Tuesday, February 9, 2016

    The best look and feel I have seen so far for netbeans


  • guest Thursday, July 14, 2016

    Thank you very much for this very awesome plugin. I have been looking for this for very long time.


  • guest Thursday, July 14, 2016

    I can't find Fonts & Colors tab. What is wrong??


  • Geertjan Thursday, July 14, 2016

    I don't know what's wrong. Start by opening the Options window under the Tools menu. There you'll find the tab.


Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.