Hi Amiruddin, >I am facing some issues with eclipse reformatting my code, breaking into more >lines than I want
You are right. So pending setting up checkStyle you can proceed like that to better format your code within eclipse: window > preferences > Java > code style > formatter. Regards, - Nazir ________________________________ De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Amiruddin Nagri Envoyé : mardi 18 décembre 2007 06:16 À : Developer Cc : Developer; [EMAIL PROTECTED] Objet : Re: [Mifos-developer] Developer questions relatedtomifos application(build issues) It is not necessary to force all the coding convention rules in one go, we can keep adding rules as and when appropriate. We should really consider using checkstyle, and I think if we have a standard checkstyle guidelines, we can import it into eclipse so eclipse uses it for formatting the code. I am facing some issues with eclipse reformatting my code, breaking into more lines than I want, so if something like checkstyle is in place, I can be sure of what eclipse is doing. Regards, Amiruddin Nagri, ThoughtWorks Technologies India Pvt. Ltd., 2nd Floor, Tower C, Diamond District, Airport road, Bangalore, 560008, KA India Y! IM : [EMAIL PROTECTED] GTalk : [EMAIL PROTECTED] "Van Mittal-Henkle" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 12/18/2007 06:59 AM Please respond to Developer <[email protected]> To "Developer" <[email protected]> cc Subject Re: [Mifos-developer] Developer questions relatedtomifos application(build issues) Hi Nazir, Checkstyle looks like an interesting tool, but I'm not sure we're quite ready for something like that at this point unless we used it in a fairly limited way. Let's see if we can get our test case names refactored first. In the meantime, if you would like to experiment with Checkstyle to see if it could enforce the test case naming convention, then go for it! (and report back to the list on how it works). I suspect that if we ran the full style check, we would get a very long list to go through ;-) Cheers, --Van ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nazir LAJDEL Sent: Sunday, December 16, 2007 11:04 PM To: Developer Subject: Re: [Mifos-developer] Developer questions relatedtomifos application(build issues) Hi Van, >But no matter how the test runs are organized, I would still be in favor of >using a naming convention for the sake of consistency. >I'll put forward the suggestion of following the convention <classname>Test >for test class names. This convention should make code completion more >convenient than Test<classname>. So the proposal is >that when someone writes >the class MyClass then they would write MyClassTest to go along with it.. >If anyone else in the community has comments one way or another regarding >this, please chime in. After others have had a chance to comment, then if >we're in agreement, we can put this on our list of refactoring >to do. I suggest setting up a development tool to help programmers write Java code that adheres to a coding standard.We can automate the process of checking Java code to spare humans of this boring (but important) task. For example; "Checkstyle" can check many aspects of your source code. It's highly configurable and can be made to support almost any coding standard. Thoughts? - Nazir ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
