Skip to content

Conversation

@CRogers
Copy link
Contributor

@CRogers CRogers commented Apr 5, 2023

Before this PR

The save actions plugin is broken in IntelliJ 2023.1. It is unmaintained and there is no official fix.

In 2021.2, IntelliJ introduced a new built in reformat on save feature.

After this PR

==COMMIT_MSG==
No longer suggest the "Save Actions" IntelliJ plugin which does not work in IntelliJ 2023.1 for use with Palantir Java Format. Instead, Palantir Java Format will support the IntelliJ native "Actions on save" reformat capability in a future release.
==COMMIT_MSG==

Possible downsides?

Why this code is in gradle-baseline rather than the palantir-java-format gradle plugin I do not understand. It's going to make fixing this issue quite a bit harder.

@changelog-app
Copy link

changelog-app bot commented Apr 5, 2023

Generate changelog in changelog/@unreleased

Type

  • Feature
  • Improvement
  • Fix
  • Break
  • Deprecation
  • Manual task
  • Migration

Description

No longer suggest the "Save Actions" IntelliJ plugin which does not work in IntelliJ 2023.1 for use with Palantir Java Format. Instead, Palantir Java Format will support the IntelliJ native "Actions on save" reformat capability in a future release.

Check the box to generate changelog(s)

  • Generate changelog entry

@ash211
Copy link
Contributor

ash211 commented Apr 5, 2023

Makes sense to me. First removing this suggestion, and following up with a replacement that configures native IntelliJ "Actions on save" works nicely.

@CRogers
Copy link
Contributor Author

CRogers commented Apr 6, 2023

Related: palantir/palantir-java-format#862

@bulldozer-bot bulldozer-bot bot merged commit 1705edd into develop Apr 6, 2023
@bulldozer-bot bulldozer-bot bot deleted the callumr/do-not-suggest-save-actions branch April 6, 2023 15:46
@svc-autorelease
Copy link
Collaborator

Released 5.5.0

@ash211
Copy link
Contributor

ash211 commented Apr 6, 2023

This addresses #2545

bulldozer-bot bot pushed a commit to palantir/witchcraft-api that referenced this pull request Apr 6, 2023
###### _excavator_ is a bot for automating changes across repositories.

Changes produced by the roomba/latest-baseline-oss check.

# Release Notes
## 5.5.0
| Type | Description | Link |
| ---- | ----------- | ---- |
| Fix | No longer suggest the "Save Actions" IntelliJ plugin which does not work in IntelliJ 2023.1 for use with Palantir Java Format. Instead, Palantir Java Format will support the IntelliJ native "Actions on save" reformat capability in a future release. | palantir/gradle-baseline#2547 |



To enable or disable this check, please contact the maintainers of Excavator.
This was referenced Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants