Closed TyberiusPrime closed 9 years ago
I cannot reproduce the behaviour. In my case
math.fa
math.factorial
by hitting a down arrow keyEnter
to completeI'm using Python 3 in Firefox 41.0 in Ubuntu 15 64bit.
and hit '.', you get 'math.facmath.factorial'
Why do you hit .
instead of Enter
? And hitting .
lead me to math.fa.
without completion menu thus this is an expected behaviour for me.
Sorry if my text was unclear, I hit '.' after the completed auto completion to enter math.factorial again on another line. You know, '.', the magic vim 'do the same thing again' button ;).
If you type math.fac + tab, you autocomplete to the only suggestion, math.factorial, no enter necessary.
Now I got it.
math.fa
math.factorial
by hitting a down arrow keyEnter
to completeEnter
to insert a new lineEsc
to leave an insert mode.
to repeat the previous actionWell, probably there are no hope to fix this. The .
repeat feature comes from CodeMirror's Vim mode, Tab
completion comes from Jupyter's completion plugin. CodeMirror doesn't aware the completion thus it won't be repeated by CodeMirror's .
repeat feature.
CodeMirror itself has it's own autocompletion thus if Jupyter would use CodeMirror's autocompletion in the feature, it would be fixed automatically I hope.
autocompletion (with tab) leads to duplicate content inserted by '.' afterward.
so say you type 'math.fac' and hit tab to complete to 'math.factorial', then you move down a line and hit '.', you get 'math.facmath.factorial' instead of math.factorial.