OK, I got! Made a silly mistake in my config file - had 'Cell' instead of
'CodeCell' - but now all's good. I hate showing header by default, like
line numbers and auto-close of quotes and brackets off. Here's my config
JSON file in ~/,jupyter/nbconfig/notebook.json
{
"Notebook": {
"Header": false
},
"CodeCell": {
"cm_config": {
"lineNumbers": true,
"autoCloseBrackets": false
}
}
}
On Tuesday, July 25, 2017 at 3:52:11 PM UTC-4, Marc Garcia wrote:
>
> I see.
>
> I found an answer somewhere, and updated my blog post about setting up
> jupyter with it. See the last paragraph:
>
>
> https://datapythonista.blogspot.co.uk/2015/12/jupyter-environment-setup.html?m=1
>
> On Jul 25, 2017 18:44, "Milos Miljkovic" <[email protected]
> <javascript:>> wrote:
>
>> Yeah, good luck with getting an answer. I asked the same question back in
>> April and got 0 response. A lot of dumbing-down has happened in v.5 and I
>> reverted back to v.4.4.
>>
>> Cheers,
>>
>> Milos.
>>
>> On Tuesday, June 13, 2017 at 8:27:37 AM UTC-4, Marc Garcia wrote:
>>>
>>> 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:
>>>
>>>
>>>
>>> <https://lh3.googleusercontent.com/-d05aGNiFv8o/WT_Z32QcqLI/AAAAAAAAyUU/cdJmUmuxYJwfz86AadWenbtYJfn4OsA-QCLcB/s1600/jupyter.png>
>>>
>>>
>>> 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
>> [email protected] <javascript:>.
>> To post to this group, send email to [email protected]
>> <javascript:>.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jupyter/a70458b4-1a31-4bac-8e07-1927af76ea8e%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/jupyter/a70458b4-1a31-4bac-8e07-1927af76ea8e%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
--
You received this message because you are subscribed to the Google Groups
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jupyter/887ece10-11fb-4ab9-911c-f0340530aa2a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.