[IPython-dev] IPython 2: disable automatically-added, closing parentheses, brackets, and quotes

Kathleen Tacina kathleen.m.tacina at nasa.gov
Mon Mar 31 09:45:33 EDT 2014


Thanks!  It worked.

Best regards,
Kathleen Tacina

> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 28 Mar 2014 11:27:47 -0700
> From: MinRK <benjaminrk at gmail.com>
> Subject: Re: [IPython-dev] IPython 2: disable automatically-added
> 	closing parentheses, brackets, and quotes
> To: IPython developers list <ipython-dev at scipy.org>
> Message-ID:
> 	<CAHNn8BUASK199XTPyD4B5cTtEwHeaTdsCVbcyRH7B0miQ6T3Ng at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Make sure you have an IPython profile:
>
> ipython profile create
>
> edit ~/.ipython/profile_default/static/custom/custom.js, adding the
> following:
>
> if (IPython.CodeCell) {
>      IPython.CodeCell.options_default.cm_config.autoCloseBrackets = false;
> }
>
> -MinRK
>
>
> On Fri, Mar 28, 2014 at 8:03 AM, Kathleen Tacina <kathleen.m.tacina at nasa.gov
>> wrote:
>> Hi,
>>
>> I've been using IPython notebook at lot in my work.  It's a great tool,
>> and I like the edit/command modes adding in version 2.
>>
>> Unfortunately, though, the automatically-added closing parentheses,
>> brackets, and quotes are making it harder for me to edit code.  (The
>> visual noise messes up my internal count of what I need to add.) How
>> would I turn this feature off?
>>
>> Thanks for your help with this and for making a great product!
>>
>> Best regards,
>> Kathleen Tacina
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>




More information about the IPython-dev mailing list