diff --git a/extensions/data-workspace/src/common/constants.ts b/extensions/data-workspace/src/common/constants.ts index 660b209178..6e83573f17 100644 --- a/extensions/data-workspace/src/common/constants.ts +++ b/extensions/data-workspace/src/common/constants.ts @@ -26,6 +26,7 @@ export const openedProjectsUndefinedAfterRefresh = localize('openedProjectsUndef export const OkButtonText = localize('dataworkspace.ok', "OK"); export const BrowseButtonText = localize('dataworkspace.browse', "Browse"); export const BrowseEllipsis = localize('dataworkspace.browseEllipsis', "Browse..."); +export const BrowseEllipsisWithIcon = `$(folder) ${BrowseEllipsis}`; export const OpenButtonText = localize('dataworkspace.open', "Open"); export const CreateButtonText = localize('dataworkspace.create', "Create"); export const Select = localize('dataworkspace.select', "Select"); diff --git a/extensions/data-workspace/src/dialogs/newProjectQuickpick.ts b/extensions/data-workspace/src/dialogs/newProjectQuickpick.ts index 829bb927f4..651ca5fe3e 100644 --- a/extensions/data-workspace/src/dialogs/newProjectQuickpick.ts +++ b/extensions/data-workspace/src/dialogs/newProjectQuickpick.ts @@ -45,7 +45,7 @@ export async function createNewProjectWithQuickpick(workspaceService: WorkspaceS // 3. Prompt for Project location // Show quick pick with just browse option to give user context about what the file dialog is for (since that doesn't always have a title) const browseProjectLocation = await vscode.window.showQuickPick( - [constants.BrowseEllipsis], + [constants.BrowseEllipsisWithIcon], { title: constants.SelectProjectLocation, ignoreFocusOut: true }); if (!browseProjectLocation) { return; @@ -70,7 +70,7 @@ export async function createNewProjectWithQuickpick(workspaceService: WorkspaceS if (exists) { // Show the browse quick pick again with the title updated with the error const browseProjectLocation = await vscode.window.showQuickPick( - [constants.BrowseEllipsis], + [constants.BrowseEllipsisWithIcon], { title: constants.ProjectDirectoryAlreadyExistErrorShort(projectName), ignoreFocusOut: true }); if (!browseProjectLocation) { return; diff --git a/extensions/sql-database-projects/src/common/constants.ts b/extensions/sql-database-projects/src/common/constants.ts index 193e6a0849..01390619bd 100644 --- a/extensions/sql-database-projects/src/common/constants.ts +++ b/extensions/sql-database-projects/src/common/constants.ts @@ -217,6 +217,7 @@ export const selectFolderStructure = localize('selectFolderStructure', "Select f export const folderStructureLabel = localize('folderStructureLabel', "Folder structure"); export const WorkspaceFileExtension = '.code-workspace'; export const browseEllipsis = localize('browseEllipsis', "Browse..."); +export const browseEllipsisWithIcon = `$(folder) ${browseEllipsis}`; export const selectProjectLocation = localize('selectProjectLocation', "Select project location"); export const ProjectParentDirectoryNotExistError = (location: string): string => { return localize('dataworkspace.projectParentDirectoryNotExistError', "The selected project location '{0}' does not exist or is not a directory.", location); }; export const ProjectDirectoryAlreadyExistError = (projectName: string, location: string): string => { return localize('dataworkspace.projectDirectoryAlreadyExistError', "There is already a directory named '{0}' in the selected location: '{1}'.", projectName, location); }; diff --git a/extensions/sql-database-projects/src/dialogs/addDatabaseReferenceQuickpick.ts b/extensions/sql-database-projects/src/dialogs/addDatabaseReferenceQuickpick.ts index 4cebf7bdf0..5ee47a780d 100644 --- a/extensions/sql-database-projects/src/dialogs/addDatabaseReferenceQuickpick.ts +++ b/extensions/sql-database-projects/src/dialogs/addDatabaseReferenceQuickpick.ts @@ -143,7 +143,7 @@ async function addDacpacReference(): Promise