-
Notifications
You must be signed in to change notification settings - Fork 81
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
The ktfmt plugin for IntelliJ IDEs isn't overriding cmd+opt+L #223
Comments
First thing to check - is the plug-in enabled? Go to settings and search for ktfmt, then check the Enabled checkbox. |
This looks correct. IntelliJ has some logs (shows up in the right bottom corner), but I'm not an expert in plugins and how to debug them. |
@cgrushko thanks for the response. I don't see any logs regarding ktfmt so I guess I will keep this open to see if anyone else that maintains the plugin can chime in. |
It looks like the plugin is actually working correctly, but it's still tough to tell when it's actually ktfmt making the change. Closing for now. |
Reopening. Something seems off. ktfmt_issue_1.mp4 |
@ColtonIdle that looks like ktfmt failed to parse the file, or alternatively that it failed an internal assertion. |
ktfmt website does not fail seems to be due to another issue. Closing in favor of #228 |
I've been trying out ktfmt today and I really like it, but the big selling point to me is the intellij plugin. If I enable the plugin and then press cmd + shift + l, the results are identical to the results without it. And the real kicker is that if I run the jar directly against my project the formatting is different. I'm convinced cmd + opt + L isn't actually overriding the Android Studio shortcut.
Is there any way to tell if the reformat was applied by ktfmt?
I'm using AS Canary 14
The text was updated successfully, but these errors were encountered: