Eclipse Java Style Settings 76

Posted by tottinger Thu, 21 Dec 2006 15:53:53 GMT

Normally we comment on larger ideas and bigger issues, but this time I just wanted to let people know where the heck the setting is:

Window->Preferences->Java->Code Style->Formatter

Click “Edit” or “Show” (depending on which appears)

now you can go to Indentation.

Make sure you set the number of spaces/tab to a reasonable number. I’m on a project now where we use 2. I prefer 3 or 4, but I’m just this guy. Also make sure you choose to use only spaces, no tabs. I don’t care if using tabs saves a few bytes here and there, it saves a lot of hassle if we all use spaces.

Also pop over to the Blank Lines tab and change the option so that it no longer double-spaces your stinkin’ field declarations. I don’t know who likes it that way, but it ain’t me, bub.

Okay. Now click buttons that say “OK” until you are back to your normal Eclipse screen. Get a ginger ale and a stresstab and GBTW!

Comments

Leave a response

  1. Avatar
    ipad to itunes transfer over 3 years later:

    it saves a lot of hassle if we all use spaces.

    Also pop over to the Blank Lines tab and change the option so that it no longer double-spaces your stinkin’ field declarations

  2. Avatar
    PDFok SE over 4 years later:

    And what do you think about the super new from Europa version CTRL + 3 shortcut? It is an entry point for pratically everything inside Eclipse, fantstic in my opinion and very useful.

    Best regards
  3. Avatar
    diyet over 4 years later:

    I was very pleased to find this site. I wanted to thank you for this great read!! I definitely enjoying every little bit of it and I have you bookmarked to check out new stuff you post.

  4. Avatar
    uggs over 4 years later:

    good code my friend! it help me a lot! thx!

  5. Avatar
    hsfdh over 4 years later:

    d there, it saves a lot of hassle if we all use spaces.

    Also pop over to the Blank Lines tab and change the option so that it no longer double-spaces your stinkin’

  6. Avatar
    chanel store over 4 years later:

    Here is very different. Thank you

  7. Avatar
    iPhone contacts Backup over 4 years later:

    After a long time search, I come to here, I can know much about this topic. It is wonderful. You know.

  8. Avatar
    Foreclosure Help in Idaho over 4 years later:

    This is a pretty good list. One thing I have been thinking about lately is how one could take advantage of word of mouth Foreclosure Help in Idaho

  9. Avatar
    Florida Daycare Grants over 4 years later:

    You make a lot of great points looking at both sides of the issue. Florida Daycare Grants

  10. Avatar
    absorbant over 4 years later:

    interesting to read this great article indeed because I have known many great and new things from you. Thanks a lot one more time. http://www.thejanitorialsupply.com/spilfyter-absorbents.html

  11. Avatar
    ed over 4 years later:

    Great set of resources – I think this is the biggest oversight people make ed

  12. Avatar
    Steel Framed Structure over 4 years later:

    Thanks for posting such an informative article. I gain more knowledge and information in this article. Steel Framed Structure

  13. Avatar
    ssara over 4 years later:

    Well. I prefer using tabs to save the bytes.gas cards

  14. Avatar
    dvdsoft over 4 years later:

    And if you download the right software, you can burn MP4 to DVD. How to remove DRM protection from M4V, WMV, M4P, AAC, M4A, WMA, OGG, iTunes, Napster, Rhapsody legally? So that you can burn iTunes to DVD or convert DRM files to other unprotected formats.WMV to DVD, MOV to DVD, DRM Removal Tool, MP4 to DVD

  15. Avatar
    Silicone Molding over 4 years later:

    Mold making is the core business of Intertech (Taiwan). With world level technology, Intertech enjoys a very good reputation for making Injection Mold and Plastic Moldsfor their worldwide customers.

  16. Avatar
    mens nfl jerseys over 4 years later:

    The fortunate intelligence for people that take place to be superficial for negotiate – and aren’t all of us – could possibly be the simple fact that sixpenny Arizona cardinals NFL jerseys can certainly cheap nfl jerseys be treble attribute. They faculty be sturdy plus they won’t undo easy. They give human being all belonging for that recognizable qualities of substantially overpriced jerseys. The variations in between a tasteless discount women’s nfl jersey and an Football Jerseys high-priced just one lie inside the details and all belonging for that associated bells and whistles.The substantially high-priced youth nfl jerseys are exploit to acquire surplus qualities specified as stitched on lottery with wake less, multicolored artifact layers. mens nfl jerseys They are accomplishment to develop to be fashioned in sizes that mimic the sizes and styles used near to the theater plus they are accomplishment to human being all belonging for that small markings that leave piddle it relaxation out.All of <a href=”http://www.clothing-trading.com/”>Discount NFL Jerseysose components are major, but they are also essentially spare. should you essential to represent your lover squad or participant with affordable youth nfl jerseys online, you can perform so without any all of people design elements.

  17. Avatar
    Solid State Relay over 4 years later:

    This article is very usefull for me! I can see that you are putting a lots of efforts into your blog. I will keep watching in your blog, thanks.

  18. Avatar
    IC electronic componenets over 4 years later:

    great post and like it

  19. Avatar
    Criminal Records over 4 years later:

    I don’t care if using tabs saves a few bytes here and there, it saves a lot of hassle if we all use spaces.

  20. Avatar
    Tenant Screening over 4 years later:

    I don’t care if using tabs saves a few bytes here and there, it saves a lot of hassle if we all use spaces.

  21. Avatar
    Regim Hotelier over 4 years later:

    For pre-written block of code, first do the settings as suggested by Don and then select that piece of code and right click Source Code->Format and the formatting would take place as per the settings done in the preferences.

  22. Avatar
    oil mill plant over 4 years later:

    I can see that you are putting a lots of efforts into your blog. I will keep watching in your blog, thanks.

  23. Avatar
    ssara over 4 years later:

    Jave style always work on well for me. Its very efficient. silicone spray 945

  24. Avatar
    jeans clothing over 4 years later:

    Thank you!i fond this site quite informative for visitors..

  25. Avatar
    dswehfhh over 4 years later:

    We are the professional clothing manufacturer and clothing supplier, so we manufacture kinds of custom clothing manufacturer. welcome you to come to our china clothing manufacturer and clothing factory.

  26. Avatar
    jaychouchou over 4 years later:

    TopCombine Follow ipad bag the detail tips below, you can increase the laptop battery life of a year or more. Game Controllers first thing you should care about the USB Gadgets END!

  27. Avatar
    Long Island Ad Agencies over 4 years later:

    With Java, it’s important to have a nice code base to work with when you are developing your programs. I love Java because it is so extensible but I have been focusing on web services and mashing up data which has been a pain and a learning curve but it’s not as complex and it makes Java look easy. Java is very multi-faceted though – I love the language

    Long Island Advertising AgencyLong Island Marketing AgenciesLong Island Marketing Agency

  28. Avatar
    seo over 4 years later:

    It is an entry point for pratically everything inside Eclipse, fantstic in my opinion and very useful.

  29. Avatar
    Earphones over 4 years later:
  30. Avatar
    New Air Jordans over 4 years later:

    Once I knew only darkness and stillness… my life was without past or future… but a little word from the fingers of another fell into my hand that clutched at emptiness, and my heart leaped to the rapture of living. One can never consent to creep when one feels an impulse to soar. Optimism is the faith that leads to achievement. Nothing can be done without hope and confidence.People do not like to think. If one thinks, one must reach conclusions. Conclusions are not always pleasant. Science may have found a cure for most evils; but it has found no remedy for the worst of them all – the apathy of human beings.

  31. Avatar
    jeans on sale over 4 years later:
  32. Avatar
    okey oyunu oyna over 4 years later:

    Thanks good information :)

  33. Avatar
    gucci belts over 4 years later:
  34. Avatar
    gucci belts over 4 years later:
  35. Avatar
    gucci belts over 4 years later:
  36. Avatar
    gucci belts over 4 years later:
  37. Avatar
    likejersey@163.com over 4 years later:

    cyclingwind that porvided cycling clothes, including cycling jerseys,cycling long sleeve jerseys,cycling bib shorts,cycling shorts andcycling pants, 30% off, customize cycling jerseys available. i belive that you can find the cycling jerseys what you like.

  38. Avatar
    funny pictures over 4 years later:

    Well I like this post becasue It help me in gaining quality information regarding java

  39. Avatar
    Hermes belts over 4 years later:

    Strongly recommended for shopping at Hermes belts store.

  40. Avatar
    Hermes belt over 4 years later:

    There are various kinds of Hermes belt available to match your needs.

  41. Avatar
    handbags for sale over 4 years later:

    I have no words to express how appropriate and wonderful these words are to me right now.

  42. Avatar
    Casas en venta en Miami over 4 years later:

    Interesting. . . And what do you think about the super new from Europa version CTRL + 3 shortcut? It is an entry point for pratically everything inside Eclipse, fantstic in my opinion and very useful.

  43. Avatar
    christian louboutin shoes on sale over 4 years later:

    Have the christian louboutin patent leather pumps is a happy thing. Here have the most complete kinds of christian louboutin leather platform pumps.

  44. Avatar
    Hancy over 4 years later:

    Hello Friend,Whichever style of Fashion Shoes you’re looking for, classical, fashionable, lovely or the latest design, you can find your favorite designer shoes in www.dunkpage.com ,several days ago I bought one pair of shoes from there,It’s beautiful and very comfortable!

  45. Avatar
    fiberoptics over 5 years later:
  46. Avatar
    Plook over 5 years later:

    Aw, this was a really great post. In theory I’d like to write like this also – taking time and real effort to make a good article… but what can I say… I procrastinate alot and never seem to get something done. online mba

  47. Avatar
    austin remodeler over 5 years later:

    I java from aurora. I think you should try this. It’s really good.

  48. Avatar
    beats by dre store over 5 years later:

    high quality headphones new design headphoneseffort to make a good article… but what can I say… I procrastinat

  49. Avatar
    Dez Bryant Jerseys over 5 years later:

    Cowboys defensive coordinator Rob Ryan did not deal with reporters Monday, when he spoke of his brother’s foot around the issue of love. In December, foot fans video allegedly Rex Ryan’s wife Michelle, appeared on the Internet controversy. But what this means to Cowboys? Nothing. I still support Marion Barber Jerseys, Dez Bryant Jerseys and Tony Romo Jerseys. I look forward to their playing in the NFL season instead of the unrelated news.

  50. Avatar
    Drew Brees Jerseys over 5 years later:

    10 years, NFL has started and heavyweight showdown on Thursday night season. Officially named for the NFL kickoff game on Thursday night’s game in the ESPN, ABC and now NBC broadcast. This game has always been the two best teams in the NFL. My favorite team, the Saints Jersey, has been scheduled for Thursday night’s game at times. NFL kickoff game on Thursday in the appearance of NFL teams. I like Drew Brees Jerseys, Pierre Thomas Jersey in the team.

  51. Avatar
    Mark Ingram Jersey over 5 years later:

    As the most wins since 2006 NFC team, it should be New Orleans Saints, NFL kickoff game on Thursday appeared three times no surprise. Saints is one of the best teams in the NFL, always draw ratings. After their loss in 2007, the Super Bowl champion in 2010 rally the Saints beat Brett Favre and the Minnesota Vikings 14-9. In 2011, the Saints will travel north, facing the Green Bay Packers NFL kickoff game on Thursday. I hope Mark Ingram Jersey, Darren Sharper Jersey and Jeremy Shockey Jersey will give us a good play performance.

  52. Avatar
    Miles Austin Jerseys over 5 years later:

    Experienced left means stick with David Buehler and former Oklahoma outstanding Dan Bailey in Cowboys. Buehler kick-off will almost certainly deal with Bailey handling field goals. But I still like Terrell Owens Jerseys and Miles Austin Jerseys, I think they still the good players in Cowboys.

  53. Avatar
    sex over 5 years later:

    This process can be engaged in a group, but you don’t want to influence anyone or be swayed

  54. Avatar
    free over 5 years later:

    outstanding Dan Bailey in Cowboys. Buehler kick-off will almost certainly deal with

  55. Avatar
    bakiretr over 5 years later:

    this was a really great post. In theory I’d like to write like this also

  56. Avatar
    liseli sex over 5 years later:

    have no words to express how appropriate and wonderful these words

  57. Avatar
    karin over 5 years later:

    I also ordered a dress for my six year old daughter who will be my flower-girl/ring-bearer/junior bridesmaid and that dress was also really fantastic. Overall though, for the price, this dress is absolutely amazing. I’d recommend litb in a heartbeat.

  58. Avatar
    http://www.uggbotties.com over 5 years later:
  59. Avatar
    best sleep aid over 5 years later:

    it needs a bokmark so i can come back to it later ,nice stuff

  60. Avatar
    Sean Taylor Jersey over 5 years later:
  61. Avatar
    Art Monk Jersey over 5 years later:
  62. Avatar
    A.J. Hawk Jersey over 5 years later:
  63. Avatar
    Fake Oakley Gascan sunglasses over 5 years later:
  64. Avatar
    Fake Oakley Radar over 5 years later:
  65. Avatar
    replica Oakley Half Jacket Sunglasses over 5 years later:
  66. Avatar
    Tips For Bowling over 5 years later:

    There is only one thing which can master the perplexed stuff of epic material into unity; and that is, an ability to see in particular human experience some significant symbolism of man’s general destiny.

  67. Avatar
    christian louboutin over 5 years later:

    The professional design make you foot more comfortable. Even more tantalizing,this pattern make your legs look as long as you can,it will make you looked more attractive.Moveover,it has reasonable price.If you are a popular woman,do not miss it.

    Technical details of Christian Louboutin Velours Scrunch Suede Boots Coffee:

    Color: Coffee
    Material: Suede
    4(100mm) heel
    Signature red sole x

    Fashion, delicate, luxurious Christian louboutins shoes on sale, one of its series is Christian Louboutin Tall Boots, is urbanism collocation. This Christian louboutins shoes design makes people new and refreshing. Red soles shoes is personality, your charm will be wonderful performance.

  68. Avatar
    cheap cigarettes shop over 5 years later:

    cigarettes online history of aircraft manufacturing is full of so many exciting designs and displays. A flying machine concept has cheap cigarettes shop the maximum significance and has turned to a vital manufacturing industry since decades.

  69. Avatar
    monster beats studio over 5 years later:
  70. Avatar
    Monster Beats Dr Dre Solo HD Headphone over 5 years later:
  71. Avatar
    Monster Beats Dr Dre Solo HD Headphone over 5 years later:
  72. Avatar
    Monster Beats Dr Dre Solo HD Headphone over 5 years later:
  73. Avatar
    ???? over 5 years later:

    nd displays. A flying machine concept has cheap cigarettes shop the maximum significance and has turned to a vital manufacturing

  74. Avatar
    Prince Rackets over 5 years later:

    Mixed Doubles: Played by team of two in which one is actually male in addition to another will be female of both sides.

  75. Avatar
    http://www.mbtshoessaleclearance.net/ over 5 years later:

    Mass communication is impacted by its context—the commercial, affluent, mass society—and mass communication differs in important ways using forms of communication. http://www.mbtshoessaleclearance.net/women-mbt-imara-shoes

  76. Avatar
    Monster beats studio red sox headphone over 5 years later:
Comments