You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Completing an ipython 8 autosuggestion by pressing ctrl-f or ctrl-e works perfectly for code on the final line of multi-line input (the following two screenshots show before and after pressing ctrl-f or ctrl-e):
However pressing ctrl-f or ctrl-e fails when trying to complete the suggestion in the middle of multi-line input -- instead, the only thing that works is holding down right arrow until the suggestion is completed:
Note this problem persists across different terminals (apple Terminal and iTerm2) and after disabling custom bashrc and inputrc. Is there any way suggestions can be completed with one keystroke in the middle of multi-line input?
The text was updated successfully, but these errors were encountered:
Thank you for the report, I can reproduce it. Here are two workarounds for now:
you can use End
you can update to 8.11 where right was changed back to complete full line (whereas ctrl + right completes token-by-token and alt + right completes character-by- character).
Thanks for the quick response. Unfortunately I tried hitting Right in ipython 8.11 and it doesn't work (Ctrl+Right and Alt+Right also don't work)... so now there seems to be no way to complete a middle line.
Edit: Actually while Right and Alt+Right don't work, Ctrl+Right works in Terminal but not iTerm2 (on my setup). However End does work in both ipython 8.10 and ipython 8.11. I'll use that for the time being.
This is not strictly related to this bug, but I just wanted to ask if you happen to have an opinion on #13987? Please leave 👍 or 👎 over there if you do - thank you :)
Completing an ipython 8 autosuggestion by pressing
ctrl-f
orctrl-e
works perfectly for code on the final line of multi-line input (the following two screenshots show before and after pressingctrl-f
orctrl-e
):However pressing
ctrl-f
orctrl-e
fails when trying to complete the suggestion in the middle of multi-line input -- instead, the only thing that works is holding down right arrow until the suggestion is completed:Note this problem persists across different terminals (apple Terminal and iTerm2) and after disabling custom
bashrc
andinputrc
. Is there any way suggestions can be completed with one keystroke in the middle of multi-line input?The text was updated successfully, but these errors were encountered: