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 摘要。