Ir ao conteúdo

Netbeans 6.5.1, Espaçamento..

Opa,

Como disse no post anterior instalei o NetBeans agora a pouco. Ao executar o mesmo, criar um novo projeto e arquivo percebo que o espaçamento (line-spacing) do mesmo está muito grande. Para alterar o mesmo você deve fazer o seguinte:

Editar o arquivo: org-netbeans-modules-editor-settings-CustomPreferences.xml

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

Este arquivo está encontrado no seguinte diretorio:

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

Caso o arquivo e o diretorio existam simplesmente adicione as seguintes linhas:

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

Se o mesmo não exista, provavelmente você terá que criar o diretorio Preferences:

$ mkdir Preferences
(se você estiver no /home//.netbeans/6.5/config/Editors)

$ cd Preferences

E crie o arquivo:

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

Adicione o seguinte conteudo:

<?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>

Salve, reinicie o netbeans e pronto.

Uma otima noite a todos,
Matheus

English Version

Fontes:
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=

PS: Isso não é simplesmente uma tradução, a idéia basica está postada, mas aqui foram adicionadas algumas informações.

Publicado emAprendendoLinuxSoftware Livre

6.992 Comentários

  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.

Deixe um comentário

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *