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

Breaking gradle plugin #51

Closed
MALPI opened this issue Jun 9, 2016 · 4 comments
Closed

Breaking gradle plugin #51

MALPI opened this issue Jun 9, 2016 · 4 comments

Comments

@MALPI
Copy link

MALPI commented Jun 9, 2016

When opening and editing a gradle file with the save actions plugin activated, the "organize imports" task is running after each hit of a key.

@dubreuia
Copy link
Owner

dubreuia commented Jun 9, 2016

This is a known issue see #14. As a workaround, please use file exclusions (https://github.com/dubreuia/intellij-plugin-save-actions#file-path-exclusions)

The following should exclude all gradle files (root and nested).

.*/.*\.gradle
.*\.gradle

@dubreuia dubreuia added the bug label Jun 9, 2016
@dubreuia dubreuia self-assigned this Jun 9, 2016
@MALPI
Copy link
Author

MALPI commented Jun 9, 2016

Thanks a lot, exclusion works. Surprisingly this issue appears first time since the last update to Intellij IDEA 2016.1.3.

@dubreuia dubreuia removed their assignment Aug 21, 2016
@markiewb
Copy link
Contributor

markiewb commented Feb 8, 2017

FYI the same issue occurs when you have the XText/XTend plugin installed

@dubreuia
Copy link
Owner

Yeah, some plugin seems to change the frequency of document write.

I was thinking maybe I could try to check event source like in this PR #46 and maybe filter anything that doesn't come from Intellij.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants