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

6,992 Comments

  1. I like the helpful information you provide to your articles.
    I will bookmark your blog and check again right here regularly.
    I am quite sure I’ll be informed lots of new stuff right here!
    Best of luck for the following!

  2. Every weekend i used to visit this site, as i wish
    for enjoyment, for the reason that this this web
    page conations really nice funny data too.

  3. https://miamifightcard.com/
    When it comes to MediaFightCard, the wagering lines highlight a intriguing dynamic with belt-holders being the betting underdogs and opponents boasting favorite status. In the featured bout for the vacant light heavyweight title, ex-titleholder Jiri Prochazka was installed as a slight -143 favorite over the ascending Carlos Ulberg, who is listed as a +116 underdog notwithstanding his nine-fight winning streak.

  4. https://sportium.net.co/
    A plataforma Sportium Colombia e um casino e uma casa de apostas esportivas pela internet que e totalmente legal amparado pela licenca da Coljuegos, fruto da parceria entre CIRSA e Ladbrokes a partir de 2007. Apresenta um site robusto e confiavel onde os jogadores colombianos podem desfrutar desde apostas ao futebol ate slots e casino ao vivo com dealers reais, tudo integrado em uma so plataforma.

  5. You can definitely see your enthusiasm within the article you write.
    The sector hopes for more passionate writers like you who aren’t afraid
    to say how they believe. Always follow your heart.

  6. Nice post. I learn something totally new and challenging on sites I stumbleupon everyday.
    It will always be helpful to read articles from other writers and use a little something from their websites.

  7. You are so cool! I do not believe I have read through something like this before.
    So good to find someone with a few genuine thoughts on this topic.
    Really.. thank you for starting this up. This site is something that’s needed on the web, someone with some originality!

  8. Howdy! Quick question that’s completely off topic.
    Do you know how to make your site mobile friendly? My site looks weird when browsing
    from my iphone4. I’m trying to find a theme or plugin that might be able to fix
    this issue. If you have any recommendations,
    please share. Appreciate it!

  9. An impressive share! I’ve just forwarded this onto a co-worker who was conducting a little homework on this. And he in fact ordered me dinner due to the fact that I discovered it for him… lol. So let me reword this…. Thank YOU for the meal!! But yeah, thanks for spending some time to talk about this matter here on your web page.

  10. Everything is very open with a precise clarification of the
    challenges. It was truly informative. Your site is
    very helpful. Many thanks for sharing!

  11. It’s impressive that you are getting thoughts from this post as well as from our argument made at this place.

Leave a Reply

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