Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 72046E5C3 for ; Fri, 11 Jan 2013 17:00:23 +0000 (UTC) Received: (qmail 33593 invoked by uid 500); 11 Jan 2013 17:00:21 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 33551 invoked by uid 500); 11 Jan 2013 17:00:21 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 33322 invoked by uid 99); 11 Jan 2013 17:00:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jan 2013 17:00:20 +0000 Date: Fri, 11 Jan 2013 17:00:20 +0000 (UTC) From: "William Slacum (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-957) Modify codestyle formatter to allow turning off the formatter MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACCUMULO-957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13551259#comment-13551259 ] William Slacum commented on ACCUMULO-957: ----------------------------------------- I'm fine with it if people want it, but I don't think it's good practice to put IDE specific markup to get around overzealous automated tools. > Modify codestyle formatter to allow turning off the formatter > ------------------------------------------------------------- > > Key: ACCUMULO-957 > URL: https://issues.apache.org/jira/browse/ACCUMULO-957 > Project: Accumulo > Issue Type: Task > Reporter: Christopher Tubbs > Assignee: Christopher Tubbs > Priority: Trivial > Fix For: 1.5.0 > > Original Estimate: 1m > Remaining Estimate: 1m > > The setting, "org.eclipse.jdt.core.formatter.use_on_off_tags" should be set to value "true" in the codestyle xml file for Eclipse. > This enables overriding the formatter for specific blocks where the automatic formatter doesn't produce easy to read code. This should be used sparingly, so it doesn't allow constant circumvention of established standards. > {noformat} > > {noformat} > allows > {code:java} > /* @formatter:off */ > int a=1, // formatter > b=2, // is > c=3, // off > d=4; // for now > /* @formatter:on */ > {code} > The above is not a good example, but it demonstrates what this ticket is about. It would require users to update their codestyle settings in Eclipse. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira