diff options
author | SteVen Batten <6561887+sbatten@users.noreply.github.com> | 2020-06-09 20:02:22 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-09 20:02:22 +0300 |
commit | a5d1cc28bb5da32ec67e86cc50f84c67cc690321 (patch) | |
tree | 85866280e60674484a37b6deab094b333b2b8b4f | |
parent | 1968b78989989a2afa042294058820639f518e01 (diff) |
add missing icons for comments and ref prev (#99693)release/1.46.0release/1.461.46.0
-rw-r--r-- | src/vs/workbench/api/browser/mainThreadComments.ts | 3 | ||||
-rw-r--r-- | src/vs/workbench/contrib/bulkEdit/browser/bulkEdit.contribution.ts | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/vs/workbench/api/browser/mainThreadComments.ts b/src/vs/workbench/api/browser/mainThreadComments.ts index 31dafb2a31f..79dbfca1f18 100644 --- a/src/vs/workbench/api/browser/mainThreadComments.ts +++ b/src/vs/workbench/api/browser/mainThreadComments.ts @@ -21,6 +21,7 @@ import { COMMENTS_VIEW_ID, COMMENTS_VIEW_TITLE } from 'vs/workbench/contrib/comm import { ViewContainer, IViewContainersRegistry, Extensions as ViewExtensions, ViewContainerLocation, IViewsRegistry, IViewsService, IViewDescriptorService } from 'vs/workbench/common/views'; import { SyncDescriptor } from 'vs/platform/instantiation/common/descriptors'; import { ViewPaneContainer } from 'vs/workbench/browser/parts/views/viewPaneContainer'; +import { Codicon } from 'vs/base/common/codicons'; export class MainThreadCommentThread implements modes.CommentThread { @@ -458,6 +459,7 @@ export class MainThreadComments extends Disposable implements MainThreadComments ctorDescriptor: new SyncDescriptor(ViewPaneContainer, [COMMENTS_VIEW_ID, { mergeViewWithContainerWhenSingleView: true, donotShowContainerTitleWhenMergedWithContainer: true }]), storageId: COMMENTS_VIEW_TITLE, hideIfEmpty: true, + icon: Codicon.commentDiscussion.classNames, order: 10, }, ViewContainerLocation.Panel); @@ -467,6 +469,7 @@ export class MainThreadComments extends Disposable implements MainThreadComments canToggleVisibility: false, ctorDescriptor: new SyncDescriptor(CommentsPanel), canMoveView: true, + containerIcon: Codicon.commentDiscussion.classNames, focusCommand: { id: 'workbench.action.focusCommentsPanel' } diff --git a/src/vs/workbench/contrib/bulkEdit/browser/bulkEdit.contribution.ts b/src/vs/workbench/contrib/bulkEdit/browser/bulkEdit.contribution.ts index 289ee656910..3be811c4082 100644 --- a/src/vs/workbench/contrib/bulkEdit/browser/bulkEdit.contribution.ts +++ b/src/vs/workbench/contrib/bulkEdit/browser/bulkEdit.contribution.ts @@ -28,6 +28,7 @@ import type { ServicesAccessor } from 'vs/platform/instantiation/common/instanti import { CancellationTokenSource } from 'vs/base/common/cancellation'; import { IDialogService } from 'vs/platform/dialogs/common/dialogs'; import Severity from 'vs/base/common/severity'; +import { Codicon } from 'vs/base/common/codicons'; async function getBulkEditPane(viewsService: IViewsService): Promise<BulkEditPane | undefined> { const view = await viewsService.openView(BulkEditPane.ID, true); @@ -354,6 +355,7 @@ const container = Registry.as<IViewContainersRegistry>(ViewContainerExtensions.V ViewPaneContainer, [BulkEditPane.ID, { mergeViewWithContainerWhenSingleView: true, donotShowContainerTitleWhenMergedWithContainer: true }] ), + icon: Codicon.lightbulb.classNames, storageId: BulkEditPane.ID }, ViewContainerLocation.Panel); @@ -362,5 +364,6 @@ Registry.as<IViewsRegistry>(ViewContainerExtensions.ViewsRegistry).registerViews name: localize('panel', "Refactor Preview"), when: BulkEditPreviewContribution.ctxEnabled, ctorDescriptor: new SyncDescriptor(BulkEditPane), + containerIcon: Codicon.lightbulb.classNames, }], container); |