Re: [Htmlparser-developer] tabs
Brought to you by:
derrickoswald
From: Somik R. <so...@ya...> - 2003-08-27 02:11:18
|
Hi Derrick, Hmm.. If you mean that Eclipse will auto-convert tabs to spaces, maybe I misunderstood. As long as one does not have to press space four times... Bytway, just curious as to why tabs are a problem in the first place.. > I'm working on a Java Coding Standards document. What do you think of the Sun coding standard? Cheers, Somik ----- Original Message ----- From: "Derrick Oswald" <Der...@ro...> To: <htm...@li...> Sent: Tuesday, August 26, 2003 9:09 PM Subject: Re: [Htmlparser-developer] tabs > Somik, > > The (rather meager) response to an earlier poll indicated that Eclipse > was the most popular by far, followed by a few NetBeans and JBuilder users. > > Replacing tabs with spaces is automatic in modern editors and IDEs. For > Eclipse, you need to make the settings in the Java/Editor Typing tab. > You also need to make the setting in the Java/Code Formatter Style tab. > For Netbeans use Tools-Options-Editing-Editor Settings-Java Editor-Java > Indentation Engine-...-Expand Tabs To Spaces-True. I don't know how to > do it in JBuilder, but I know it can be done. > > I'm working on a Java Coding Standards document. > > Derrick > > Somik Raha wrote: > > >Hi Folks, > > > >For what its worth, tabs are an incredibly useful and standard way of > >formatting code. A lot of folks use Eclipse, and pressing the tab key every > >so many seconds comes really naturally. It also reduces the risk of RSI > >(pressing space four times as opposed to tab once). Note that the space key > >is a big killer - it really hurts your thumb in the long run. A > >state-of-the-art ergonomic keyboard that I am trying to adjust to takes the > >space key away from the thumb. (Does this reason sound silly? Look at your > >fingers, do you feel any pain in your thumbs? Or your shoulder or your neck? > >Do you want to avoid surgery?) > > > >It would also be good to know what IDE most developers on this project use. > > > >I would personally prefer to maintain the tabs, and follow the Sun > >Microsystems java coding standard. > >http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html > > > >There are pieces of code where the braces are not consistent. > > > >I agree with Fernando - we should have an "official" coding standard that is > >clearly communicated on the site. > > > >Finally, the coding standard is for active developers who must feel > >comfortable with it. My views are secondary to the active developers, as I > >have ceased to contribute beyond an occasional code-cleanup. > > > >Regards > >Somik > > > > I n d u s t r i a l L o g i c , I n c . > >Somik Raha > >Extreme Programmer & Coach > >http://industriallogic.com > >http://industrialxp.org > >866-540-8336 (toll free) > >510-540-8336 (phone) > > > >.. the major danger in vertical thinking is not that of being trapped > >by the obvious but of failing to realize that one may be trapped by > >the obvious. It is not a matter of avoiding vertical thinking but of > >using it and at the same time being aware that it might be > >necessary to escape from a particular way of looking at a situation. > > > >--- Edward De Bono in Lateral Thinking, Chapter 16, Analogies > > > > > > > > > >------------------------------------------------------- > >This sf.net email is sponsored by:ThinkGeek > >Welcome to geek heaven. > >http://thinkgeek.com/sf > >_______________________________________________ > >Htmlparser-developer mailing list > >Htm...@li... > >https://lists.sourceforge.net/lists/listinfo/htmlparser-developer > > > > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Htmlparser-developer mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlparser-developer |