Skip to content
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

Ruff's format on save is inactive #16

Closed
ldouteau opened this issue May 28, 2024 · 2 comments · Fixed by #20
Closed

Ruff's format on save is inactive #16

ldouteau opened this issue May 28, 2024 · 2 comments · Fixed by #20
Assignees

Comments

@ldouteau
Copy link

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

@a5chin a5chin self-assigned this Jun 11, 2024
@a5chin
Copy link
Owner

a5chin commented Jun 11, 2024

@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

@ldouteau
Copy link
Author

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 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants