Skip to content

Netbeans 6.5.1, Line-spacing

Hello,

I was using NetBeans in Ubuntu 9.04 when i started a new project and I realized that the line-spacing is so fucking bigger. To fix this you have to do this:

Edit the file “org-netbeans-modules-editor-settings-CustomPreferences.xml”

$ pico org-netbeans-modules-editor-settings-CustomPreferences.xml

This file will be in:

/home/user/.netbeans/6.5/config/Editors/Preferences

If the file and the directory exists just add the following lines:

<entry javaType=”java.lang.Float” name=”line-height-correction”
xml:space=”preserve”>
<value><![CDATA[0.75]]></value>
</entry>

If don’t you have to create the directory “Preferences”:
$ mkdir Preferences
(In /home/user/.netbeans/6.5/config/Editors)

$ cd Preferences

And create the file:

$ pico org-netbeans-modules-editor-settings-CustomPreferences.xml

Add the following lines:

<?xml version=”1.0″ encoding=”UTF-8″?>
<!DOCTYPE editor-preferences PUBLIC “-//NetBeans//DTD Editor Preferences 1.0//EN” “http://www.netbeans.org/dtds/EditorPreferences-1_0.dtd”>
<editor-preferences>
<entry javaType=”java.lang.String” name=”code-template-expand-key” xml:space=”preserve”>
<value><![CDATA[TAB]]></value>
</entry>
<entry javaType=”java.lang.Float” name=”line-height-correction” xml:space=”preserve”>
<value><![CDATA[0.75]]></value>
</entry>
</editor-preferences>

Save, restart netbeans and enjoy it. 😉

Good Night,
Matheus

Portuguese Version

References:
http://my.opera.com/Nobita2708/blog/show.dml/2914020
http://www.linux4all.net/how_to_change_line_height_in_netbeans_editor
http://www.cs.wcupa.edu/rkline/netbeans-lin.html
http://www.google.com.br/search?hl=pt-BR&q=line+spacing+ubuntu+netbeans&btnG=Pesquisar&meta=

Published inAprendendoLinuxSoftware Livre

9,750 Comments

  1. Hi there, You’ve done a fantastic job. I will definitely digg it and in my view suggest to my friends. I’m confident they will be benefited from this site.

  2. A good web site with interesting content, that’s what I need. Thank you for making this web site, and I will be visiting again. Do you do newsletters? I Can’t find it.

  3. Fantastic website. Lots of helpful information here. I’m sending it to a few friends ans also sharing in delicious. And obviously, thank you on your effort!

  4. This is the right site for anyone who wishes to understand this topic.
    You realize a whole lot its almost tough
    to argue with you (not that I really will need to…HaHa).
    You definitely put a new spin on a subject that’s been discussed for
    ages. Great stuff, just excellent!

  5. Hello there, You have done an excellent job. I will certainly digg it and individually recommend to my friends. I am confident they will be benefited from this website.

  6. Hey there, You have performed a great job. I will definitely digg it and for my part recommend to my friends. I’m confident they will be benefited from this web site.

  7. I’m not sure exactly why but this website is loading very slow for me.

    Is anyone else having this problem or is it a issue on my end?
    I’ll check back later and see if the problem still exists.

  8. Hello there, You’ve done a fantastic job. I will definitely digg it and individually suggest to my friends. I am confident they will be benefited from this site.

  9. The post is absolutely fantastic! Lots of great info and inspiration, both of which we all need! Also like to admire the time and effort you put into your website and detailed info you offer! I will bookmark your website!

  10. Hello There. I found your blog using msn. This is a very well written article.
    I’ll make sure to bookmark it and return to read more of your useful information. Thanks for the post.
    I will certainly comeback.

  11. Good post. I learn something new and challenging on sites
    I stumbleupon every day. It’s always helpful to read content from other authors and use a little something
    from other web sites.

  12. Hi there, You have done an excellent job. I will definitely digg it and in my view suggest to my friends. I am sure they’ll be benefited from this web site.

  13. Hello just wanted to give you a quick heads up. The text in your post seem to be running off the screen in Chrome. I’m not sure if this is a formatting issue or something to do with browser compatibility but I thought I’d post to let you know. The style and design look great though! Hope you get the issue resolved soon. Cheers

  14. Для тех, кто ищет информацию по теме “Новости и аналитика о ФК Спартак”, нашел много полезного.

    Ссылка ниже:

    https://mediaspartak.ru

  15. Hey there, You’ve performed an excellent job. I’ll definitely digg it and in my opinion recommend to my friends. I’m sure they’ll be benefited from this web site.

Leave a Reply

Your email address will not be published. Required fields are marked *