X

Geertjan's Blog

  • August 7, 2015

Customizable Code Fold Borders in NetBeans IDE 8.1

Geertjan Wielenga
Product Manager

Those collapsed code folds can be pretty glary:

So, for the first time in NetBeans IDE 8.1, you can configure that white color:

Much quieter code fold borders now, set to Gray:

See:

If you're curious what "Code Folding" and "Code Folding Bar" are for (though note neither of these two are new in 8.1), i.e., right above "Code Folding Border" in the second screenshot above, I have set "Code Folding" to Green below and "Code Folding Bar" to Blue, so that you can see the effect:

Finally, right below "Code Folding Border", in the second screenshot above, is "Editor sidebars background", which is also new in NetBeans IDE 8.1. I have set it to Red below, so you can see it:

See: https://netbeans.org/bugzilla/show_bug.cgi?id=243229

Join the discussion

Comments ( 7 )
  • guest Wednesday, August 12, 2015

    Hope the documentation for Netbeans Platform Tutorials gets updated with the newly features for editors.

    The current documentation to develop code editors is quite old.


  • Geertjan Wednesday, August 12, 2015

    Can you be specific and tell me specifically which tutorial needs to be updated?


  • guest Wednesday, August 12, 2015
  • Geertjan Wednesday, August 12, 2015

    And what's wrong with those tutorials? Nothing, I think. Anyway, let's stop writing at the end of a blog entry -- write to me at geertjan dot wielenga at oracle dot com and just tell me what should be different in those tutorials and I'll fix them.


  • guest Wednesday, August 12, 2015

    1: Who says it is wrong...just that it had not been updated to the latest 8.x version.

    2: Also most people use ANTLR and not Javacc(which hasn't been updated for a while). It would instead be more helpful if there is a tutorial to integrate ANTLR into Netbeans Editor .


  • Geertjan Wednesday, August 12, 2015

    I can go through those tutorials, but I don't think there's anything needing changing. There's heaps of tutorials as well on ANTLR and NetBeans Platform, e.g., on the Wiki: http://wiki.netbeans.org/AntlrInNetBeansJavaApplication


  • Geert Vancompernolle Sunday, September 11, 2016

    Thanks for the info, Geertjan! I was wondering how I could make a visual differenc between the different (small) areas in the editor. Now I know...

    BTW: What font did you use? The default Monospace or something else?

    Best rgds,

    --Geert


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