ipykernel 7.0.1 - Jupyter autocomplete delay

Open
#1,452 2 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Reproduce the delay in VS Code with a Jupyter notebook using import pandas as pd, then compare ipykernel 7.0.1 with 6.30.1 and verify that regular .py files remain unaffected. Trace the notebook autocomplete path to identify where the 2–3 second delay occurs; done means suggestions appear promptly without regressing normal Python-file completion.

Written by the indexing model from the issue text.

Description

Issue:
When using VS Code with the Jupyter extension, triggering autocomplete (Ctrl + Space) inside a notebook cell causes a noticeable delay (~2–3 seconds). This only happens in Jupyter notebooks, regular .py files are unaffected.

Steps to reproduce:

  1. Open a Jupyter notebook in VS Code.
  2. Import any Python module (e.g., import pandas as pd).
  3. Inside a new cell, type something like pd. and press Ctrl + Space.
  4. Observe a 2–3 second delay before suggestions appear.

Expected behavior:
Autocomplete should appear instantly, as it does in .py files.

Reverting ipykernel to version 6.30.1 immediately fixes the issue.

Dominant language
Python
Stars
734
Forks
411
Avg merge
1d 2h
Merged PRs (30d)
9

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ipython/ipykernel

All issues in ipython/ipykernel

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.