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,348 Comments

  1. Hi! I know this is somewhat off topic but I was wondering which blog platform are you using for this site? I’m getting fed up of WordPress because I’ve had issues with hackers and I’m looking at alternatives for another platform. I would be fantastic if you could point me in the direction of a good platform.

  2. I enjoy reading an article that will make people think. Also, thank you for allowing for me to comment!

  3. Hiya! Quick question that’s totally off topic. Do you know how to make your site mobile friendly? My weblog looks weird when viewing from my iphone. I’m trying to find a theme or plugin that might be able to fix this problem. If you have any recommendations, please share. With thanks!

  4. https://lebull.com.mx/
    De acuerdo con el contenido referido, nos encontramos con que Lebull es un casino online y plataforma de apuestas deportivas que opera en la Republica Mexicana contando con una coleccion de mas de 10,000 entretenimientos, una app movil completa y companias lideres por ejemplo Pragmatic Play, NetEnt y NolimitCity.

  5. Greetings I am so glad I found your blog page, I really found you by
    error, while I was looking on Askjeeve for something else,
    Anyways I am here now and would just like to say cheers for a remarkable post and a all round thrilling blog (I also love
    the theme/design), I don’t have time to go through it all at the minute but I have saved it and also included your RSS feeds,
    so when I have time I will be back to read much more, Please do keep up the great work.

  6. naturally like your web site but you need to take a look at the spelling on quite a few of your posts. Several of them are rife with spelling problems and I to find it very troublesome to inform the reality on the other hand I’ll surely come again again.

  7. RichardFus RichardFus

    Есть состояния, при которых откладывать вызов врача рискованно. Домашний выезд нужен не только при «тяжёлом похмелье», но и тогда, когда самочувствие становится нестабильным, а попытки справиться своими силами уже не работают. Ниже перечислены ситуации, при которых обращение за помощью оправдано именно в ближайшее время, а не «если не станет легче к вечеру».
    Разобраться лучше – нарколог на дом цена в воронеже

  8. Hobertabarp Hobertabarp

    Нарколог на дом — это срочная врачебная помощь, которая нужна в тот момент, когда больного уже сложно везти в клинику, а ждать улучшения без осмотра опасно. Домашний формат особенно актуален при запое, выраженной интоксикации, повторной рвоте, скачках давления, сильном треморе, бессоннице и тревоге. В такой ситуации важно не просто заказать выезд и получить капельницу, а сразу запустить понятный медицинский маршрут: осмотр, консультация, оценка рисков, подбор терапии и решение, можно ли безопасно оставаться дома. Именно поэтому услуга «нарколог на дом» воспринимается не как разовая процедура, а как полноценная наркологическая помощь, где каждое действие связано с текущим состоянием пациента и его безопасностью.
    Выяснить больше – нарколог на дом вывод

  9. hello!,I like your writing very so much! share we communicate more approximately your article
    on AOL? I need a specialist in this area to solve my problem.
    May be that is you! Having a look ahead to peer you.

  10. Hobertabarp Hobertabarp

    Для Воронежа выездной формат особенно востребован вечером, ночью и ранним утром, когда у больного резко усиливаются симптомы и поездка в медицинское учреждение становится тяжёлой или просто нереальной. Если человек несколько дней употреблял алкоголь, почти не спал, плохо переносит воду, жалуется на сердцебиение и слабость, то откладывать осмотр не стоит. Срочная наркологическая помощь нужна именно тогда, когда ситуация развивается быстро, а семья уже видит, что своими силами справиться не удаётся. Врач приезжает, проводит осмотр, определяет, нет ли признаков осложнений, и уже на месте решает, какие меры допустимы дома, а какие требуют другого формата оказания помощи.
    Подробнее – нарколог на дом анонимно воронеж

Leave a Reply

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