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.277 Comentários

  1. If some one needs expert view regarding blogging and site-building after that i suggest him/her to visit this webpage, Keep up the good work.

  2. This is really interesting, You are a very skilled blogger.
    I’ve joined your rss feed and look forward to seeking more
    of your magnificent post. Also, I’ve shared your site
    in my social networks!

  3. Nice blog here! Also your web site loads up very fast!
    What host are you using? Can I get your affiliate link to your host?
    I wish my website loaded up as fast as yours lol

  4. Thank you for the auspicious writeup. It
    in fact was a amusement account it. Look advanced to
    far added agreeable from you! However, how can we communicate?

  5. I don’t even know how I ended up here, but I thought this post was great. I don’t know who you are but certainly you are going to a famous blogger if you aren’t already 😉 Cheers!

  6. jackpot city casino online united states, uk secret of
    casino delfino red coins (Alena) uk
    and usa online casinos for real money, or new zealandn online poker alliance

  7. Старый паркет? шлифовка паркета в спб профессиональное восстановление деревянного пола без пыли и лишних затрат. Удаляем царапины, потемнения и старое покрытие, возвращаем гладкость и естественный цвет. Используем современное оборудование, выполняем циклевку, шлифовку и лакировку паркета под ключ с гарантией качества и точным соблюдением сроков.

  8. I blog often and I really appreciate your content.
    This great article has really peaked my interest.
    I am going to take a note of your site and keep checking for
    new information about once a week. I opted in for your Feed as well.

  9. My spouse and I absolutely love your blog and find the majority of your post’s to be just what I’m looking for. Would you offer guest writers to write content available for you? I wouldn’t mind writing a post or elaborating on some of the subjects you write about here. Again, awesome site!

  10. I am not sure where you’re getting your information, but good topic.
    I needs to spend some time learning much more or understanding more.
    Thanks for magnificent information I was looking for this information for
    my mission.

  11. There’s certainly a great deal to learn about this issue. I really like all of the points you made.

  12. Just desire to say your article is as astounding. The clarity in your post is just cool and i could assume you are an expert on this subject. Well with your permission let me to grab your RSS feed to keep updated with forthcoming post. Thanks a million and please carry on the gratifying work.

  13. Amazing blog! Do you have any recommendations for aspiring writers?
    I’m hoping to start my own site soon but I’m a little lost on everything.
    Would you recommend starting with a free platform like WordPress or go for a paid
    option? There are so many options out there that I’m completely overwhelmed ..
    Any ideas? Bless you!

  14. I am extremely impressed with your writing skills as well as
    with the layout on your weblog. Is this a paid theme or did you modify it yourself?
    Either way keep up the excellent quality writing, it is rare to
    see a great blog like this one today.

  15. united kingdom casino no deposit bonus codes 2021, best what are the odds of winning online bingo (Kayleigh) online casino
    nz and no deposit casino offers usa, or top 50 online casinos
    uk

  16. independent online are casino legal in nj (Myles) usa,
    bet365 play blackjack online uk and no deposit no credit card casino bonus usa 2021 nonstop, or yusaon gold
    casino united states

  17. poker sites that accept paypal in united states, usa fanduel casino android (Hermine)
    opening dates and bonausaa slot volatility, or no
    deposit bonus casino united states 2021

  18. I think this is among the most significant info for me. And i am glad reading your article. But should remark on few general things, The site style is perfect, the articles is really great : D. Good job, cheers

  19. Usually I do not read post on blogs, but I wish to say that this write-up very pressured me to try and do so! Your writing style has been amazed me. Thanks, very great article.

  20. I’m no longer certain the place you are getting your information, but
    good topic. I needs to spend some time learning more or understanding more.
    Thank you for fantastic information I was searching for
    this information for my mission.

Deixe um comentário

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