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.
Comments:

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

Posted by Alex Lam on duben 29, 2006 at 05:44 odp. CEST #

Well I remember I heard of that one... but where...? :)

Posted by Roumen on květen 02, 2006 at 10:56 dop. CEST #

navigator.string.abbrevs

It's in Tim's Blog

Posted by Alex Lam on květen 02, 2006 at 11:03 dop. CEST #

Thanks for the pointer, Alex!

Posted by Roumen on květen 02, 2006 at 11:06 dop. CEST #

Post a Comment:
Comments are closed for this entry.
About

Roman Strobl

Search

Archives
« duben 2014
PoÚtStČtSoNe
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Today