[IPython-dev] function specific tab completion via annotations

Matthias BUSSONNIER bussonniermatthias@gmail....
Sat Dec 29 16:34:55 CST 2012


Le 29 déc. 2012 à 22:06, Matthias BUSSONNIER a écrit :

> 
> Le 29 déc. 2012 à 21:14, Brian Granger a écrit :
> 
>> We could do the (?.  What about shift-tab?  Would that be too
>> difficult to manage with all the other meanings of tab?
> 
> No, it should be doable. 
> The only other use is unindent. 
> 
> What about shit tab triggers : 
> 	Unindent (default code mirror option) if multiline selection.
>        ObjectInfoRequest (tooltip) on selection if something selected.
> 	Smart ObjectInfoRequest if nothing selected. (same as actual [bracket]<tab>)


Done, cf 
https://github.com/ipython/ipython/pull/2728

And made configurable via custom JS. 
Current behavior is unchanged and just need to be switched to false.
-- 
Matthias



> 
> It is not incompatible with (?<tab>
> 
> And as some user requested invoking help without executing cell, we can bind ?<tab> 
> to "execute" just current line to get help on pager. 
> 
> 
> -- 
> Matthias

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20121229/409a77f7/attachment-0001.html 


More information about the IPython-dev mailing list