Pre-save file hook #15445
Unanswered
benlau
asked this question in
Questions and Answers
Pre-save file hook
#15445
Replies: 1 comment
-
I have the same issue. Notably, it also doesn't seem to respect the config if you use it through an existing server - my guess is it's not the underlying server that saves the file but some other VSCode package. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Jupyter Notebook/Lab reads $JUPYTER_CONFIG_DIR/jupyter_notebook_config.py on startup. Users may add a pre-save hook to modify the content to be saved.
For example, I usually use it to remove the execution count to make it more VCS-friendly.
However, in VSCode, Jupyter doesn't seem to read from jupyter_notebook_config.py. Is there any alternative method that could register a pre-save file hook in VSCode Jupyter?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions