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

Excessive import optimization in intellij #1088

Open
jguerra opened this issue May 16, 2024 · 2 comments
Open

Excessive import optimization in intellij #1088

jguerra opened this issue May 16, 2024 · 2 comments

Comments

@jguerra
Copy link

jguerra commented May 16, 2024

What happened?

I'm running version 2.46.0 of the plugin with intellij 2024.1.1

With the latest version of the plugin intellij sometimes gets in a state where every key press triggers an optimize imports/reformat. For example, when writing a javadoc every keypress causes intellij to optimize imports. The other scenario I've noticed is hitting enter in outside a method in a java source file triggers a reformat/optimize imports - immediately removing the new line I just added. For both of these scenarios I've been temporarily disabling the plugin until I'm done doing work, and then re-enabling to format.

I'll add an update if I'm able to figure out what triggers the excessive optimization behavior to start, as it doesn't always occur.

What did you want to happen?

Less frequent reformats and optimizations. Ideally the reformats could occur on save

@ash211
Copy link
Contributor

ash211 commented May 30, 2024

I've also seen the reformat code dialogue flash every time I switch between two terminal tabs

Screenshot 2024-05-29 at 5 15 48 PM

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

3 participants