Skip to content

ensure quick fix selector is registered before provider#171191

Merged
Tyriar merged 3 commits intomainfrom
merogge/quick-fix-promises
Jan 13, 2023
Merged

ensure quick fix selector is registered before provider#171191
Tyriar merged 3 commits intomainfrom
merogge/quick-fix-promises

Conversation

@meganrogge
Copy link
Copy Markdown
Collaborator

@meganrogge meganrogge commented Jan 12, 2023

fix #168154
fix #170849

@meganrogge meganrogge self-assigned this Jan 12, 2023
@meganrogge meganrogge requested a review from Tyriar January 12, 2023 18:19
@meganrogge meganrogge added this to the January 2023 milestone Jan 12, 2023
_serviceBrand: undefined;
terminalProfiles: readonly IExtensionTerminalProfile[] = [];
quickFixes: ITerminalCommandSelector[] = [];
quickFixes: Promise<ITerminalCommandSelector[]> = new Promise((r) => { r([]); });
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nicer way of doing this: Promise.resolve([])

@Tyriar Tyriar merged commit 94c63cf into main Jan 13, 2023
@Tyriar Tyriar deleted the merogge/quick-fix-promises branch January 13, 2023 14:58
@github-actions github-actions bot locked and limited conversation to collaborators Feb 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No registered selector for ID: ms-vscode.npm-command Error: No registered selector for ID: ms-vscode.npm-command

2 participants