Skip to content

Asynchronously show completion items from different sources or extensions! #107343

@HaoboGu

Description

@HaoboGu

Currently, completion items from different sources/extension are shown in a synchronous way, which means the result won't be shown before the last completionProvider completes. There are a lot of great auto-complete extensions in the marketplace, some of them can be quite efficient, but the overall completion latency still depends on the slowest extension, which is I think is not reasonable. So I propose to add an asynchronously way to show the completion list from different extensions or sources, just like IDEA:
3

In VSCode:

2

Here I added a delay manually in my own extension, but as you can see, the results come from vscode-java extension are also affected, which results in bad user experience.

Please consider this, thank you!

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalitysuggestIntelliSense, Auto Complete

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions