[
https://issues.apache.org/jira/browse/HIVE-28847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HIVE-28847:
----------------------------------
Labels: pull-request-available (was: )
> 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
> 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)