Did you know VS Code can automatically format notebooks whenever you save them? Just enable `Notebook › Format On Save: Enabled` and VS Code will format all code cells whenever the notebook is saved. This makes sure you always save nicely formatted code cells in your notebook
This works for all types of notebook and for any type of code cells in those notebooks. For python cells in Jupyter notebooks, make sure to install the Python extension as well to get a formatter
#vscode #python #jupyter #jupyternotebook #datascience