From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2599 invoked by alias); 16 May 2007 15:17:53 -0000 Received: (qmail 2580 invoked by uid 22791); 16 May 2007 15:17:44 -0000 X-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_40,DK_POLICY_SIGNSOME,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 16 May 2007 15:17:40 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l4GFHV2O019154 for ; Wed, 16 May 2007 11:17:31 -0400 Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com [172.16.14.4]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l4GFHUMd030721 for ; Wed, 16 May 2007 11:17:30 -0400 Received: from [172.16.14.55] (toner.toronto.redhat.com [172.16.14.55]) by pobox.toronto.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id l4GFHTQp005860; Wed, 16 May 2007 11:17:30 -0400 Message-ID: <464B2089.50004@redhat.com> Date: Wed, 16 May 2007 16:03:00 -0000 From: Sami Wagiaalla User-Agent: Thunderbird 1.5.0.10 (X11/20070302) MIME-Version: 1.0 To: Nurdin Premji CC: Frysk Hackers Subject: Re: Eclipse formatter and javadoc. References: <464A222E.5060801@redhat.com> In-Reply-To: <464A222E.5060801@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact frysk-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: frysk-owner@sourceware.org X-SW-Source: 2007-q2/txt/msg00163.txt.bz2 There are several ways to fix this: One is to change Tab policy under indentation from mixed to spaces only (which I recommend. Isn't that what emacs does ?). The other is to change to "Tab size" from 8 to 2 (not so elegant). Overall i dont think formatting of java docs should be turned off. Nurdin Premji wrote: > The eclipse formatter currently mangles javadoc by indenting the first > line 2 spaces, and then indenting the following lines 8 spaces. > > I'm not sure how to correct this, however this behaviour can be > avoided by turning off formatting of javadoc. > To do this go to project->properties->java code style->formatter and > edit the formatter. Select the "comments" tab, the far right tab. > (Here you can see a preview of what I'm talking about with the > javadoc). Uncheck enable comment formatting. > > If people are happy with this change then it can be committed.