-
Notifications
You must be signed in to change notification settings - Fork 210
Open
Labels
Description
Describe the Bug
Summary
Completion filtering doesn't update when typing continues - shows only initially fetched results.
Description
When multiple classes start with the same prefix, Pyrefly's auto-import completions only show the results that were fetched first and don't continue fetching as more characters are typed.
MRE:
- Setup environment:
uv init --bare
uv add --dev pyrefly
uvx pyrefly initinstall pyrefly extension
- Create files with code
a.py:
class UsersManager:
passb.py:
class UsersController:
pass
# start typing UsersM here- Start typing UsersM in b.py
- Only
UsersControllerappears - The
UsersManagerfrom a.py doesn't show up
Screen recording
Zed (what is actually) (appears only after manual trigger as write and delete backspace):
pyrefly.bug.mov
VS Code (what is expected):
VSCode.exptected.mov
LSP log
Original issue: zed-industries/zed#39945 (semi-fixed)
Related commit: aa33ce3
Sandbox Link
No response
(Only applicable for extension issues) IDE Information
Zed: v0.209.6 (Zed)
OS: macOS 26.0.1
Memory: 16 GiB
Architecture: aarch64