palantir-java-format icon indicating copy to clipboard operation
palantir-java-format copied to clipboard

feature: Allow setting 'skip reflowing long strings' in IntelliJ plugin

Open andreweacott opened this issue 3 months ago • 2 comments

Before this PR

The core formatter supports a 'skip reflowing long strings' option but this couldn't be selected in the IntelliJ plugin settings.

After this PR

The plugin settings UI now has an option to skip reflowing long strings (which is respected by formatters).

image

Possible downsides?

  • Java 15 and above only - the setting is ignored for earlier JVMs due to the way the in-process formatter is instantiated.

Related Issues

Address Issue https://github.com/palantir/palantir-java-format/issues/1452

andreweacott avatar Nov 06 '25 18:11 andreweacott

Thanks for your interest in palantir/palantir-java-format, @andreweacott! Before we can accept your pull request, you need to sign our contributor license agreement - just visit https://cla.palantir.com/ and follow the instructions. Once you sign, I'll automatically update this pull request.

palantirtech avatar Nov 06 '25 18:11 palantirtech

Successfully generated changelog entry!

Entry generated via PR title

To modify this entry, edit PR title using proper format.


📋Changelog Preview

✨ Features

  • Allow setting 'skip reflowing long strings' in IntelliJ plugin (#1462)

changelog-app[bot] avatar Nov 06 '25 18:11 changelog-app[bot]