Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About customizable text history created by Organize Import actions #1513

Open
angelickite opened this issue Jul 16, 2024 · 0 comments
Open

Comments

@angelickite
Copy link

angelickite commented Jul 16, 2024

When triggering an "organize import", at minimum when using a shortcut or automatic save actions, the import edits get inserted into the text editing history. I couldn't find a way to disable the creation of this history point specifically for such automatic import edits.

Is there currently a way to achieve this? If not, is there any demand by others for the ability to disable these edit points?

Motivation

Moving through the history with a previous word / next word / redo / undo keeps jumping to these automatic imports which simply is of no value (to me) and disorienting.

There is specifically this odd behaviour when using save actions where sometimes a redo/undo can get stuck at the top of the file, i.e. it requires several presses of redo/undo to get the java editor view back to the last edit location instead of being fixed to the top of the file, which is not acceptable. Not quite sure yet how much it is related to me having organize imports as a save action.

Version: 2024-06 (4.32.0)
Build id: 20240606-1231
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant