[IPython-dev] New Feature, feedback requested, IPython Jedi Completions
bussonniermatthias at gmail.com
Fri May 20 19:04:41 EDT 2016
So small update,
Integrating with jedi completion had a few undesired side-effect, well
roll back the integration for 5.0 and rework it for 6.0.
So no jedi for now...
Still for it was a nice experience and the integration in 6.0 should
improve completion a lot.
On Thu, May 5, 2016 at 9:39 AM, Brian Granger <ellisonbg at gmail.com> wrote:
> On Thu, May 5, 2016 at 9:34 AM, Matthias Bussonnier
> <bussonniermatthias at gmail.com> wrote:
>> Hello List,
>> A few minutes ago we merged a PR adding jedi integration to IPython,
>> this make the IPython completer a bit smarter,
>> as it now knows about situation like:
>> In: ('je'+'di').upper().<tab>
>> Where it will infer that you are actually calling a method on a string,
>> which before was requiring setting `IPCompleter.greedy` to `true`
>> which has the drawback of evaluating your code with its side effects.
>> Though, the API Jedi provide and API IPython expect are slightly different,
>> we did our best to adapt the two, still I would expect
>> a few edge cases to appear where the result of the completion might be
>> We would appreciate if you could look out for these cases, and report any
>> completion that misbehave.
>> This will likely affect both IPython when using the notebook, and the plain
>> IPython terminal.
>> Enjoy pressing the "weaponized" tab key even more, and kudos to @liukelly
>>  for her work
>> Extra notes: Jedi appears as a mandatory dependency, but IPython should
>> still work if Jedi is not importable.
>> IPCompleter.use_jedi_completions=<Bool> config parameter can be use to
>> deactivate jedi completions if they are by any chance annoying.
>>  https://github.com/ipython/ipython/pull/9375
>>  http://jedi.jedidjah.ch/en/latest/
>>  https://github.com/liukelly
>> IPython-dev mailing list
>> IPython-dev at scipy.org
> Brian E. Granger
> Associate Professor of Physics and Data Science
> Cal Poly State University, San Luis Obispo
> @ellisonbg on Twitter and GitHub
> bgranger at calpoly.edu and ellisonbg at gmail.com
> IPython-dev mailing list
> IPython-dev at scipy.org
More information about the IPython-dev