From 07ac0879753f142e12ad2e4876329f8dd3142b73 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Fri, 5 Jan 2024 13:32:15 -0500 Subject: [PATCH] Recommend notebook.source actions on save --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index fef675f..09828d0 100644 --- a/README.md +++ b/README.md @@ -123,7 +123,7 @@ And, for Jupyter Notebooks: ```json { "notebook.codeActionsOnSave": { - "source.fixAll": true + "notebook.source.fixAll": true } } ``` @@ -135,7 +135,7 @@ Similarly, you can configure Ruff to organize imports on-save by enabling the { "[python]": { "editor.codeActionsOnSave": { - "source.organizeImports": true + "notebook.source.organizeImports": true } } } @@ -146,7 +146,7 @@ And, for Jupyter Notebooks: ```json { "notebook.codeActionsOnSave": { - "source.organizeImports": true + "notebook.source.organizeImports": true } } ``` @@ -173,8 +173,8 @@ And, for Jupyter Notebooks: { "notebook.formatOnSave.enabled": true, "notebook.codeActionsOnSave": { - "source.fixAll": true, - "source.organizeImports": true + "notebook.source.fixAll": true, + "notebook.source.organizeImports": true }, "[python]": { "editor.defaultFormatter": "charliermarsh.ruff"