python-uv icon indicating copy to clipboard operation
python-uv copied to clipboard

Ruff's format on save is inactive

Open ldouteau opened this issue 2 years ago • 2 comments

Hi,

Thanks for this great setup. I was trying to do something similar, though much less ambitious. There's a lot here to get inspired from :)

I installed the repo & ran it in a dev container from an empty profile (only extensions are Dev containers & some UI stuff). I'm struggling with Ruff's format on save. I'm not familiar with Rye, but s far as i know Ruff is bundled within it. Still i can't manage to make format on save work.

Could there be any missing config step ? Like a VS Code setting that would come across when the dev container is initialized

ldouteau avatar May 28 '24 10:05 ldouteau

@ldouteau Sorry for the late reply .... And thanks for creating the issue!

If the Ruff format does not work, try reloading the VS Code window! Specifically, you can solve this problem by following the steps below.

  1. Type ⌘+⇧+P to open the command palette
  2. Type Developer: Reload Window in the command palette to reload the window

I'll put this procedure in the README, because there is a possibility of misunderstanding.

ruff

a5chin avatar Jun 11 '24 01:06 a5chin

Hi Thanks for the reply. You're not late at all, was me having issues with my Github account. Indeed it now works. I feel like i've done this several times, but anyway the problem is solved :) Thanks for the efficient support !

ldouteau avatar Jun 11 '24 06:06 ldouteau