-
Notifications
You must be signed in to change notification settings - Fork 80
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
ktfmt doesn't seem to work in IJ 2024.1.1 #463
Comments
What if you restart the IDE? Wonder if its this issue that was closed: #229 |
Hi Colton! No, still doesn't seem to work after restarting the IDE. |
Hmmm, that's interesting. I've |
Oh, that's actually quite possible. I think I know where the issue might be, hopefully I can find the time to look into that soon. Thank you for the hint! |
Any update on this? Issue exists on Android Studio Koala based on IJ 2024.1.1 |
The next version will work fine in all IJ versions up to 242. I fixed it in #501 |
Hi @rock3r, nice work on converting the IntelliJ Plugin to Kotlin! 👏 It has been quite a while since I've been able to look into ktfmt, but I have a question on this: Did the update fix the issue with the "Only changes uncommited to VCS"-setting? My guess was that it had something to do with |
@greyhairredbear no, I didn't alter the plugin behaviour. That is still essentially doing nothing. I also think it's due to the features being declared, but don't know how to implement partial reformatting. Maybe @hick209 can help? |
Yes, me neither. I can't recall if I tried just setting the features, using the existing |
I have the ktfmt plugin installed and enabled in IJC 2024.1.1:
When I reformat the file (cmd-shift-l), it looks like it's using IJ's formatter. If I run ktfmt from the command line, the formatting of the file that I just theoretically reformatted in the IDE changes. This shows ktfmt was not used.
The text was updated successfully, but these errors were encountered: