You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/04/07 10:21:00 UTC

[jira] [Commented] (LUCENE-9882) better synchronize eclipse formatter with spotless

    [ https://issues.apache.org/jira/browse/LUCENE-9882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17316199#comment-17316199 ] 

ASF subversion and git services commented on LUCENE-9882:
---------------------------------------------------------

Commit df25653cbdf1e70809f88cb98d57f71af278b0c9 in lucene's branch refs/heads/main from Robert Muir
[ https://gitbox.apache.org/repos/asf?p=lucene.git;h=df25653 ]

LUCENE-9882: better synchronize eclipse formatter with spotless. (#47)

Import the spotless formatting settings to our eclipse IDE setting, so
that it is a closer match.

> better synchronize eclipse formatter with spotless
> --------------------------------------------------
>
>                 Key: LUCENE-9882
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9882
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Robert Muir
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Spotless project provides an eclipse .xml format (which is just the properties in xml format) that is pretty close to what its doing.
> Currently, I don't remember where our formatting settings came from. they are pretty close, but if I import the spotless settings in, then it is measurably closer (tested by reformatting entire codebase with eclipse and then looking at diff size)
> Before: 33MB diff
> After: 25MB diff
> Keep in mind the comparison is noise'd up by a lot of generated code and stuff like that, and the formatting match also isn't 100% match, but still seems worth looking into: smoother path for the user.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org