You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2013/03/16 01:04:15 UTC
[jira] [Commented] (ACCUMULO-957) Modify codestyle formatter to
allow turning off the formatter
[ https://issues.apache.org/jira/browse/ACCUMULO-957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13604014#comment-13604014 ]
Hudson commented on ACCUMULO-957:
---------------------------------
Integrated in Accumulo-1.5-Hadoop-2.0 #32 (See [https://builds.apache.org/job/Accumulo-1.5-Hadoop-2.0/32/])
ACCUMULO-957 protect the visual table from autoformat (Revision 1457088)
Result = UNSTABLE
ecn :
Files :
* /accumulo/branches/1.5/server/src/main/java/org/apache/accumulo/server/master/Master.java
> 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}
> <setting id="org.eclipse.jdt.core.formatter.use_on_off_tags" value="true"/>
> {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