You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"It'd be awesome to have automatic Black formatting on save, like Python does! I can format each cell right now, but I want to be able to format the entire notebook on a command, for example, on notebook save."
We believe support for formatting notebooks with Black exists. However, there's still a need to support a "format_on_save" event from the VS Code api to accomplish this.
greazer
changed the title
Support Black formatting of entire ipynb notebook on save
Support formatting of entire ipynb notebook on save
May 9, 2022
From tomorrow's Insiders, you should be able to format on save by turning on "notebook.formatOnSave.enabled": true. We are looking into supporting format modified ranges (if you use SCM) soon.
Feedback from PyCon 2022
"It'd be awesome to have automatic Black formatting on save, like Python does! I can format each cell right now, but I want to be able to format the entire notebook on a command, for example, on notebook save."
Also (somewhat) related to:
The text was updated successfully, but these errors were encountered: