facebook / facebook/pyrefly

add the "Search for additional matching imports" option for import suggestion code actions from pylance

Open
#2,836 0 comments 0 reactions 0 assignees View on GitHub
language-server
Dominant language
Rust
Stars
7k
Forks
519
PR merge metrics
No merged PRs in 30d

Description

### Describe the Bug

https://code.visualstudio.com/updates/v1_87#_improvements-for-adding-missing-imports

pylance only shows exact matches in the code actions, with this additional one to search for more:

ref https://github.com/DetachHead/basedpyright/issues/747

### Sandbox Link

_No response_

### (Only applicable for extension issues) IDE Information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.