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

17,889 Comments

  1. online casinos in ontario australia, spin casino australia and best new casino nz, or bingo win real cash (Alfredo)
    money pokies canada safe and secure

  2. all slots casino united kingdom reviews, 21 dusaes casino bonus money no deposit [Frieda] and no deposit bonus codes australia casino, or gambling statistics
    in usa

  3. Wow that was strange. I just wrote an very long comment but after I clicked submit my comment didn’t appear. Grrrr… well I’m not writing all that over again. Regardless, just wanted to say excellent blog!

  4. biggest usa gambling sites, united statesn gambling websites blackjack counting aces and fives, Trena, bingo the uk, or paypal poker sites australia

  5. gambling in canada statistics, australia gambling winnings taxable and golden pokies united states, or how much does
    canada spend on pokies

    Here is my blog: 1000 free casino mix-up (Brandi)

  6. remote gambling usa license, best united kingdom online casino slots and
    best real money pokies australia with neosurf, or how do you get chips at a casino
    (Broderick)
    to win roulette in casino uk

  7. united kingdom online souper spectacle casino mont tremblant (Patti) real money no deposit bonus, uk online
    slots sites and free united statesn poker money, or best online casino to win money united kingdom

  8. free online casinos australia, difference between european roulette and united kingdom and
    best online slots canada, or gambling bonuses co usa

    Here is my web blog – echeck deposit, Bebe,

Leave a Reply

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