Skip to content

Allow to specify title and placeholder in API for interpreter quickpick - #19896

Merged
Kartik Raj (karrtikr) merged 2 commits into
microsoft:mainfrom
karrtikr:params
Sep 27, 2022
Merged

Allow to specify title and placeholder in API for interpreter quickpick#19896
Kartik Raj (karrtikr) merged 2 commits into
microsoft:mainfrom
karrtikr:params

Conversation

@karrtikr

Copy link
Copy Markdown

For #19891

@karrtikr Kartik Raj (karrtikr) added no-changelog No news entry required skip tests Updates to tests unnecessary labels Sep 27, 2022
items: T[];
activeItem?: T | Promise<T>;
placeholder: string;
placeholder: string | undefined;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

For Tech debt, we can probably get rid of multistepinput.ts

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Rid of in favor of what 🤔 we're still using it in many places. But yeah it could use some cleanup.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Replacing the DI with calling raw vscode APIs. I can see the use for a wrapper function, but it is a state less class.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

This has internal states though, maybe they'll need to be passed in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog No news entry required skip tests Updates to tests unnecessary

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants