Closed stallam-unb closed 1 month ago
This might be the same problem as #424 -- I was able to follow the advice there to enable "Use ruff format(Experimental) for version 0.0.289 or later" in PyCharm Settings > Tools > Ruff, and that fixed this problem for me
This might be the same problem as #424 -- I was able to follow the advice there to enable "Use ruff format(Experimental) for version 0.0.289 or later" in PyCharm Settings > Tools > Ruff, and that fixed this problem for me
It is already enabled for me and it still doesn't work.
I have a similar problem.
Code example
Do Reformat Code
(ruff check --fix
worked well, but ruff format
did not)
If I do File -> Reload All From Disk
IDE: PyCharm 2024.2.3 (Professional Edition) OS: macOS Ruff Version: 0.6.9 Plugin version: 0.0.40
Plugin settings
Does it work if you uncheck Enable Ruff LSP feature
?
@fadhely no, it doesn't work :(
It seems like @koxudaxi released v0.0.41 recently, and now seems to has fixed the issue for me. Thanks!
I will close the issue now, but if anyone else in this thread still has this problem, let me know and I will reopen the issue.
@stallam-unb Yes, Thank you for creating and closing this issue. I removed the broken version from the store. but I didn't check the issue. sorry.
Describe the bug Ctrl+Alt+L no longer appears to format code since update 0.0.40. Running
ruff format
in a terminal however does work as intended.To Reproduce Steps to reproduce the behavior:
Expected behavior Ruff should auto format code.
Screenshots Environments (please complete the following information):
ruff 0.6.7
0.0.40