jupyter / jupyter/notebook

Auto-completion Inorrect After Hitting Enter

Open
#5,146 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
13.3k
Forks
5.8k
Avg merge
6d 11h
Merged PRs (30d)
7

Description

Auto-completion is working correctly until hitting tab but when you **hit enter** to choose suggestions, the returning string is incorrect.

**_Example:_**
`df.sh`

Expected value should be `df.shape `but it returned df.sape

Similar with other methods like `pd.read_pickle`, which returns pd.rpickle

Contributor guide

Open the contributing guide

Research direction

Reproduce the autocomplete behavior with `df.sh` and `pd.read_pickle`, comparing the returned text with the expected completion. Trace the autocomplete entry point responsible for handling Enter, then verify that method names are returned intact for these examples.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.