X

NetBeans Quick Tip #26 - Short Package Names




If you use long package names in your projects (e.g. com.mycompany.myproject.mysubproject) you can save some space in your IDE using the following switch:




-J-Dorg.netbeans.spi.java.project.support.ui.packageView.TRUNCATE_PACKAGE_NAMES=true




Just add it into your netbeans.conf file in your netbeans installation or run NetBeans with this switch and you will get something like this:



Short package names



So instead of org.netbeans.modules.openide.loaders I have here o.net.mod.ope.loaders, which is still readable but takes so much less space. Because free space matters.

Join the discussion

Comments ( 4 )
  • Alex Lam Saturday, April 29, 2006

    I thought there was one that uses weighting algorithm to do the truncations....

  • Roumen Tuesday, May 2, 2006
    Well I remember I heard of that one... but where...? :)
  • Alex Lam Tuesday, May 2, 2006

    navigator.string.abbrevs

    It's in Tim's Blog

  • Roumen Tuesday, May 2, 2006
    Thanks for the pointer, Alex!
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.Captcha
Oracle

Integrated Cloud Applications & Platform Services