You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Steve Rowe (JIRA)" <ji...@apache.org> on 2015/06/01 18:28:17 UTC

[jira] [Updated] (LUCENE-6514) 'ant idea' no longer includes code style settings

     [ https://issues.apache.org/jira/browse/LUCENE-6514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Rowe updated LUCENE-6514:
-------------------------------
    Attachment: LUCENE-6514.patch

Patch with a new file that apparently is now used by IntelliJ: {{.idea/codeStyleSettings.xml}}.  It has a slightly different format from {{.idea/projectCodeStyle.xml}}.  I added 2-space indent settings for all languages in the settings dialog.

If we leave {{.idea/projectCodeStyle.xml}}, I think older versions of IntelliJ will continue to work properly, and will likely just ignore the new file.

Committing shortly.

> 'ant idea' no longer includes code style settings
> -------------------------------------------------
>
>                 Key: LUCENE-6514
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6514
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: -tools
>            Reporter: Steve Rowe
>            Assignee: Steve Rowe
>            Priority: Minor
>         Attachments: LUCENE-6514.patch
>
>
> Fairly recently, with modern versions of IntelliJ (14+ ?), code style settings are no longer included when you run {{ant idea}}, so you get the defaults (4 spaces per indent level rather than 2, etc.)
> The {{.idea/projectCodeStyle.xml}} file is still there, so something has changed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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