KEMBAR78
Expose rich repository pickers as API · Issue #141295 · microsoft/vscode · GitHub
Skip to content

Expose rich repository pickers as API #141295

@joyceerhl

Description

@joyceerhl

The following extensions contain rich pickers for working with git repositories:

  • GitHub Repositories
  • git-base (built-in)

The git-base extension exposes API allowing other extensions to contribute entries to its repository pickers. The GitHub Repositories extension does not yet expose such API.

export interface API {
registerRemoteSourceProvider(provider: RemoteSourceProvider): Disposable;
pickRemoteSource(options: PickRemoteSourceOptions): Promise<string | PickRemoteSourceResult | undefined>;
}

This issue tracks evaluating existing pickers across both extensions and making the rich pickers in GitHub Repositories available to other extensions, potentially by enhancing the pickers in git-base or by exposing extension API on the GitHub Repositories extension modeled after git-base API.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions