As shown in the attached video, I wanted to suppress the warning for breaking the max-line-length rule, but the IDE simply does not perform an action when I try to apply the auto-fix.
I have tried quitting the IDE and opening it again and this did not seem to affect the functionality.
At the same time, I have had this quick-fix work for me today for another code snippet. I have actually attached a second video where this does in fact work. Not sure if there's something consistent about one or the other which only breaks it sometimes.
Using 0.20.0-beta-2
As shown in the attached video, I wanted to suppress the warning for breaking the
max-line-length
rule, but the IDE simply does not perform an action when I try to apply the auto-fix.I have tried quitting the IDE and opening it again and this did not seem to affect the functionality. At the same time, I have had this quick-fix work for me today for another code snippet. I have actually attached a second video where this does in fact work. Not sure if there's something consistent about one or the other which only breaks it sometimes.
https://github.com/nbadal/ktlint-intellij-plugin/assets/44558292/5d2d10fe-b6b6-4b3d-ac02-f063d5ecb97c
https://github.com/nbadal/ktlint-intellij-plugin/assets/44558292/d93fdf5e-4b20-4990-b1dd-e0a7f494f230
To make this easier for you to reproduce perhaps, here is the exact code I have in this file
Here is my editorconfig, copy-pasted as-is: