ipython / ipython/ipykernel

ipykernel 7.0.1 - Jupyter autocomplete delay

未关闭
#1,452 2 条评论 4 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
734
派生
412
平均合并
1 天 5 小时
30 天内合并 PR
8

描述

**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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。