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

Dawid Weiss commented on LUCENE-9563:
-------------------------------------

In all honesty, I don't think this is needed anymore. Focus on the code and 
write it any way you like, then run gradlew tidy and a maybe follow up with git 
diff before you commit. That autoformatter makes you care less about visual 
aspects while you're working (although fundamental sanity of not doing stupid 
things - like nesting a hundred ifs - is still required).

> Add .editorConfig
> -----------------
>
>                 Key: LUCENE-9563
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9563
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: David Smiley
>            Assignee: David Smiley
>            Priority: Major
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> I propose adding a ".editorConfig" to the root of the project.  Many text 
> editors and IDEs support this file to declare code style settings such as 
> indentation and more.  In particular, IntelliJ supports this natively and 
> Eclipse has a plugin for it.
> https://editorconfig.org
> I furthermore propose I simply generate this as an export of my current 
> IntelliJ code style, which is a code style I've been using and was originally 
> imported from the Lucene's former IntelliJ config.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to