I upgraded Jupyter to the latest vesion, 5.0, and it looks like my front-end configuration stopped working.
I don't like that Jupyter auto closes quotes and brackets, and my settings basically just disable them.
It used to work by creating a file ~/.jupyter/custom/custom.js
and adding the next JavaScript code:
require(['notebook/js/codecell'], function (codecell) {
codecell.CodeCell.options_default.cm_config.autoCloseBrackets = false;
})
I've read that since Jupyter 4 this code could be changed by:
IPython.CodeCell.options_default.cm_config.autoCloseBrackets = false;
But it looks like in Jupyter 5, the two previous options stopped working.
The documentation I found regarding the front-end configuration is not helpful (I'll be happy to improve it once I understand it):
http://jupyter-notebook.readthedocs.io/en/latest/frontend_config.html#frontend-config
Can anyone help me understand how to disable auto-brackets and auto-quotes in Jupyter 5 please?
This is the exact version I'm running:
Thank you very much in advance!
--
You received this message because you are subscribed to a topic in the Google Groups "Project Jupyter" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jupyter/NoWKVy8MEtc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jupyter+unsubscribe@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/a70458b4-1a31-4bac-8e07-1927af76ea8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
{
"Notebook": {
"Header": false
},
"CodeCell": {
"cm_config": {
"lineNumbers": true,
"autoCloseBrackets": false
}
}
}
To unsubscribe from this group and all its topics, send an email to jupyter+u...@googlegroups.com.