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

Stamatis Zampetakis resolved HIVE-28847.
----------------------------------------
    Fix Version/s: 4.1.0
       Resolution: Fixed

Fixed in 
[https://github.com/apache/hive/commit/0e10ff30292265f00a7e7fb9c93f310f4349ac56.]

Thanks for the reviews [~zhangbutao] and [~soumyakanti.das] !

> Import of eclipse-styles.xml fails in IntelliJ IDEA 2024.3.4
> ------------------------------------------------------------
>
>                 Key: HIVE-28847
>                 URL: https://issues.apache.org/jira/browse/HIVE-28847
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Stamatis Zampetakis
>            Assignee: Stamatis Zampetakis
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.1.0
>
>         Attachments: eclipse-import-error-intellij-2024.3.4.png
>
>
> Importing the eclipse code-style (dev-support/eclipse-styles.xml ) in 
> IntelliJ IDEA 2024.3.4 fails with the following error.
> {noformat}
> Eclipse XML Profile import failed with error message: Unexpected value(s) for 
> 2 option(s):
> org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=100
> org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=100
> {noformat}
> !eclipse-import-error-intellij-2024.3.4.png!
> Not sure if the value 100 was ever valid but in the latest Eclipse 2025-03 
> (4.35.0) version it doesn't do anything useful.
> I propose to set both of these options to the value 16, which in Eclipse is 
> mapped to:
> Line wrapping policy: Wrap where necessary
> Indentation policy: Default indentation
> Note that also other alignment options in the file are also set to 16 so it 
> is a sensible default.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to