Shift-Tab completion doesn't work when edit cursor is at the start of the object
- Dominant language
- Jupyter Notebook
- Stars
- 13.3k
- Forks
- 5.8k
- Avg merge
- 6d 11h
- Merged PRs (30d)
- 7
Description
Shift-Tab completion on an object name only works when you place the edit cursor _inside_ or _after_ the object. Not when it's _at the start of the object_. I think that's contrary to most IDEs. Also, this gotcha is not documented anywhere.
```
import pandas
pd.crosstab
# ^ Put your edit cursor at the start of `pd.crosstab` and press Shift-Tab (on MacOS, Fn-Shift-Tab).
# Nothing happens.
```
Version: Jupyter 4.2.3 on MacOS
Contributor guide
Research direction
Reproduce the provided pandas/pd.crosstab example with the cursor at the start of the object and press Shift-Tab. Trace the Jupyter Notebook Shift-Tab completion behavior, then verify that completion works at the object start and that the gotcha is documented.
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