question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Tab completion does not work with Pyolite kernel

See original GitHub issue

Description

First of all - a big Thank You for this amazing project! It’s magical when things like NumPy, Pandas and MPL “just work” without having to install anything.

In “vanilla” Jupyter with Python kernel and IPython, hitting the tab character gives me completions at the given point. This seems to not work with Pyolite. More precisely, I tried this:

[1]: import sys
[ ]: sys.<TAB>

I expected to see everything under sys but nothing was displayed. Is tab completion expected to work with Jupyterlite/Pyolite?

Expected behavior

Expected to see a overlay with completions like this: image

Context

  • Operating System and version: Mac OS 11.4
  • Browser and version: Firefox 89 and Chrome 91
  • JupyterLite version: 0.1.0-alpha-5
Browser Output
Paste the output from your browser Javascript console here.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
martinRenoucommented, Jul 15, 2021

This is expected to work. It seems that sys.<tab> does not complete while from sys import <tab> completes. This is quite odd, there might be something wrong in our usage of IPython’s completion logic.

completion

1reaction
jtpiocommented, Jul 15, 2021

Thanks @drdarshan for the report.

Normally this should work since #142. Maybe something changed recently.

cc @martinRenou @madhur-tandon who have been doing related work

Read more comments on GitHub >

github_iconTop Results From Across the Web

TAB completion does not work in Jupyter Notebook but fine ...
FYI, in my case, run the command $ conda update readline, and now the TAB completion works fine in Jupyter Notebook. But still...
Read more >
TAB completion does not work in Jupyter Notebook while ...
Tab completion works by sending a message to the kernel asking for a list of completions. If the kernel is busy doing something...
Read more >
Problem with tab completion
The autocompletion does not work with a python kernel (this is the only way I've tried it; I haven't tried a ROOT C++...
Read more >
Tab to auto-complete isn't working with created code envs?
When writing code I am able to use tab to auto-complete when I am using the default Python 2 environment in DSS, but...
Read more >
JupyterLab: Tab complete not working / Newbie Corner ...
By the way, tab completion in jupyter notebook (the older version) works fine. Shift+Tab for documentation works as well in jupyterlab. Can ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found