Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

utils: Add implementation for showWorkspaceFolderPick #1734

Merged
merged 6 commits into from
Jun 5, 2024

Conversation

MicroFish91
Copy link
Contributor

@MicroFish91 MicroFish91 commented May 30, 2024

Depends on publishing the dev package first, see this

bwateratmsft
bwateratmsft previously approved these changes May 30, 2024
@MicroFish91 MicroFish91 changed the title utils: Add support for showWorkspaceFolderPick to AzExtUserInput utils: Add implementation for showWorkspaceFolderPick May 31, 2024
@MicroFish91 MicroFish91 marked this pull request as ready for review May 31, 2024 18:44
@MicroFish91 MicroFish91 requested a review from a team as a code owner May 31, 2024 18:44
* @throws `UserCancelledError` if the user cancels.
* @returns A promise that resolves to the selected `WorkspaceFolder`.
*/
showWorkspaceFolderPick(options: AzExtWorkspaceFolderPickOptions): Promise<WorkspaceFolder>;
Copy link
Member

@alexweininger alexweininger Jun 3, 2024

Choose a reason for hiding this comment

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

Does it make more sense to name it showWorkspaceFolderPicker? Is it a pick or a picker? This is a nit, I'm mostly asking and not asking for a change.

Copy link
Contributor Author

@MicroFish91 MicroFish91 Jun 5, 2024

Choose a reason for hiding this comment

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

Picker is potentially a better name, but I was thinking to just keep the name mirrored with its VS Code analogue => vscode.window.showWorkspaceFolderPick

@MicroFish91 MicroFish91 merged commit 73f8e31 into main Jun 5, 2024
4 checks passed
@MicroFish91 MicroFish91 deleted the mwf/showWorkspaceFolderPick branch June 5, 2024 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants