koxudaxi/ruff-pycharm-plugin

Files are not formatted on save

realsuayip opened this issue · 6 comments

Describe the bug

I've enabled Run ruff when the python file saved setting, however it does not format (as in ruff format) the file. It applies quick fixes though.

Conversely, Run ruff when Reformat Code seems to be working fine (applying formatter and quick fixes).

To Reproduce

  1. Have a file ruff format would modify
  2. Save the file with the relevant setting on

Expected behavior
Formatter should run on save as well.

Environments (please complete the following information):

  • IDE: [ PyCharm Professional 2023.2 ]
  • OS: [ macOS 14 ]
  • Ruff Version [ 0.1.2 ]
  • Plugin version [ 0.0.24 ]

Thank you for reporting it.
I will check it tonight.

@realsuayip
I have released the fixed version
as 0.0.25.

Thank you so much.