@codingame/monaco-vscode-scm-service-override 10.1.3 → 11.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-scm-service-override",
3
- "version": "10.1.3",
3
+ "version": "11.0.0",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -26,6 +26,6 @@
26
26
  }
27
27
  },
28
28
  "dependencies": {
29
- "vscode": "npm:@codingame/monaco-vscode-api@10.1.3"
29
+ "vscode": "npm:@codingame/monaco-vscode-api@11.0.0"
30
30
  }
31
31
  }
@@ -101,7 +101,7 @@ let SCMActiveRepositoryController = class SCMActiveRepositoryController extends
101
101
  if (count === 0) {
102
102
  return;
103
103
  }
104
- const badge = ( (new NumberBadge(count, num => ( localize(6309, '{0} pending changes', num)))));
104
+ const badge = ( (new NumberBadge(count, num => ( localize(6289, '{0} pending changes', num)))));
105
105
  store.add(this.activityService.showViewActivity(VIEW_PANE_ID, { badge }));
106
106
  }
107
107
  _updateStatusBar(repository, commands, store) {
@@ -127,7 +127,7 @@ let SCMActiveRepositoryController = class SCMActiveRepositoryController extends
127
127
  repoAgnosticActionName = '';
128
128
  }
129
129
  const statusbarEntry = {
130
- name: ( localize(6310, "Source Control")) + (repoAgnosticActionName ? ` ${repoAgnosticActionName}` : ''),
130
+ name: ( localize(6290, "Source Control")) + (repoAgnosticActionName ? ` ${repoAgnosticActionName}` : ''),
131
131
  text: command.title,
132
132
  ariaLabel: tooltip,
133
133
  tooltip,
@@ -159,8 +159,8 @@ let SCMActiveResourceContextKeyController = class SCMActiveResourceContextKeyCon
159
159
  this.uriIdentityService = uriIdentityService;
160
160
  this._repositories = observableFromEvent(this, Event.any(this.scmService.onDidAddRepository, this.scmService.onDidRemoveRepository), () => this.scmService.repositories);
161
161
  this._onDidRepositoryChange = ( (new Emitter()));
162
- const activeResourceHasChangesContextKey = ( (new RawContextKey('scmActiveResourceHasChanges', false, ( localize(6311, "Whether the active resource has changes")))));
163
- const activeResourceRepositoryContextKey = ( (new RawContextKey('scmActiveResourceRepository', undefined, ( localize(6312, "The active resource's repository")))));
162
+ const activeResourceHasChangesContextKey = ( (new RawContextKey('scmActiveResourceHasChanges', false, ( localize(6291, "Whether the active resource has changes")))));
163
+ const activeResourceRepositoryContextKey = ( (new RawContextKey('scmActiveResourceRepository', undefined, ( localize(6292, "The active resource's repository")))));
164
164
  this._store.add(autorunWithStore((reader, store) => {
165
165
  for (const repository of this._repositories.read(reader)) {
166
166
  store.add(Event.runAndSubscribe(repository.provider.onDidChangeResources, () => {
@@ -1,6 +1,6 @@
1
1
  import n from 'vscode/external/rollup-plugin-styles/dist/runtime/inject-css.js';
2
2
 
3
- var css = ".scm-view{height:100%;position:relative}.scm-overflow-widgets-container{height:0;left:0;overflow:visible;position:absolute;top:0;width:0;z-index:5000}.scm-view .monaco-tl-contents>div{overflow:hidden;padding-right:12px}.scm-view .count{display:flex;margin-left:6px}.scm-view .count.hidden{display:none}.scm-view .scm-provider{align-items:center;display:flex;flex-direction:column;flex-flow:nowrap;height:100%}.scm-view.auto-provider-counts .scm-provider>.count[data-count=\"0\"],.scm-view.hide-provider-counts .scm-provider>.count{display:none}.scm-view .scm-provider>.label{flex:1;min-width:50px;overflow:hidden;text-overflow:ellipsis}.scm-view .scm-provider>.label>.name{font-weight:700}.scm-view .scm-provider>.label>.description{font-size:.9em;margin-left:.5em;opacity:.7}.scm-view .scm-provider>.actions{justify-content:flex-end;overflow:hidden}.scm-view .scm-provider>.actions>.monaco-toolbar>.monaco-action-bar>.actions-container>.action-item{align-items:center;display:flex;padding-left:4px}.scm-view .scm-provider>.actions>.monaco-toolbar>.monaco-action-bar>.actions-container>.action-item:first-child{min-width:20px}.scm-view .scm-provider>.actions>.monaco-toolbar>.monaco-action-bar>.actions-container>.action-item>.action-label,.scm-view .scm-provider>.actions>.monaco-toolbar>.monaco-action-bar>.actions-container>.action-item>.monaco-dropdown>.dropdown-label>.action-label{align-items:center;display:flex;line-height:16px;overflow:hidden}.scm-view .scm-provider>.actions>.monaco-toolbar>.monaco-action-bar>.actions-container>.action-item>.action-label>.codicon{font-size:12px;justify-content:center}.scm-view .scm-provider>.actions>.monaco-toolbar>.monaco-action-bar>.actions-container>.action-item:last-of-type{padding-right:0}.scm-view .scm-provider>.body{flex-grow:1}.scm-view .scm-provider>.status>.monaco-action-bar>.actions-container{border-color:var(--vscode-sideBar-border)}.scm-view .monaco-list-row{line-height:22px}.scm-view .monaco-list-row .monaco-icon-label-container{height:22px}.scm-view .monaco-list-row .history,.scm-view .monaco-list-row .history-item-group,.scm-view .monaco-list-row .resource-group{align-items:center;display:flex;height:100%}.scm-view .monaco-list-row .history-item .monaco-icon-label,.scm-view .monaco-list-row .history-item-group .monaco-icon-label{align-items:center;flex-grow:1}.scm-view .monaco-list-row .history-item{align-items:center;display:flex}.scm-view .monaco-list-row .history-item>.graph-container{display:flex;flex-shrink:0;height:22px}.scm-view .monaco-list-row .history-item>.graph-container.current>.graph>circle:last-child{fill:var(--vscode-sideBar-background)}.scm-view .monaco-list-row:hover .history-item>.graph-container.current>.graph>circle:last-child{fill:var(--vscode-list-hoverBackground)}.scm-view .monaco-list-row .history-item>.graph-container>.graph>circle{stroke:var(--vscode-sideBar-background)}.scm-view .monaco-list-row:hover .history-item>.graph-container>.graph>circle{stroke:var(--vscode-list-hoverBackground)}.scm-view .monaco-list-row .history-item>.label-container{display:flex;flex-shrink:0;gap:4px}.scm-view .monaco-list-row .history-item>.label-container>.label{align-items:center;border-radius:10px;display:flex;line-height:18px}.scm-view .monaco-list-row .history-item>.label-container>.label>.codicon{color:inherit!important;font-size:14px;padding:2px}.scm-view .monaco-list-row .history-item>.label-container>.label>.codicon.codicon-git-branch{font-size:12px;padding:3px}.scm-view .monaco-list-row .history-item>.label-container>.label>.description{font-size:.9em;max-width:100px;overflow:hidden;padding-right:4px;text-overflow:ellipsis}.scm-view .monaco-list-row .history-item .monaco-icon-label .icon-container{display:flex;padding-right:4px}.scm-view .monaco-list-row .history-item .monaco-icon-label .avatar{border-radius:14px;height:14px;width:14px}.scm-view .monaco-list-row .history-item .monaco-icon-label.history-item-current .label-name{font-weight:600}.scm-view .monaco-list-row .history-item .monaco-icon-label.history-item-current .label-description{font-weight:500}.scm-view .monaco-list-row .history>.name,.scm-view .monaco-list-row .resource-group>.name{flex:1;overflow:hidden;text-overflow:ellipsis}.scm-view .monaco-list-row .resource{display:flex;height:100%}.scm-view .monaco-list-row .resource.faded{opacity:.7}.scm-view .monaco-list-row .resource>.name{flex:1;overflow:hidden}.scm-view .monaco-list-row .resource>.name>.monaco-icon-label:after{margin-right:3px}.scm-view .monaco-list-row .resource>.decoration-icon{background-position:50% 50%;background-repeat:no-repeat;height:100%;margin-left:5px;width:16px}.scm-view .monaco-list-row .resource>.decoration-icon.codicon{margin-right:0;margin-top:3px}.scm-view .monaco-list .monaco-list-row .resource>.name>.monaco-icon-label>.actions{flex-grow:100}.scm-view .monaco-list .monaco-list-row .history-item>.actions,.scm-view .monaco-list .monaco-list-row .resource-group>.actions,.scm-view .monaco-list .monaco-list-row .resource>.name>.monaco-icon-label>.actions{display:none;max-width:fit-content}.scm-view .monaco-list .monaco-list-row.focused .history-item>.actions,.scm-view .monaco-list .monaco-list-row.focused .resource-group>.actions,.scm-view .monaco-list .monaco-list-row.focused .resource>.name>.monaco-icon-label>.actions,.scm-view .monaco-list .monaco-list-row:hover .history-item>.actions,.scm-view .monaco-list .monaco-list-row:hover .resource-group>.actions,.scm-view .monaco-list .monaco-list-row:hover .resource>.name>.monaco-icon-label>.actions,.scm-view .monaco-list:not(.selection-multiple) .monaco-list-row .resource:hover>.actions{display:block}.scm-view .monaco-list .monaco-list-row.focused.force-no-hover,.scm-view .monaco-list .monaco-list-row.force-no-hover,.scm-view .monaco-list .monaco-list-row.selected.force-no-hover,.scm-view .monaco-list .monaco-list-row:hover.force-no-hover{background:transparent!important}.scm-view .monaco-list .monaco-list-row.cursor-default{cursor:default}.scm-view.show-actions .scm-provider>.actions,.scm-view.show-actions>.monaco-list .monaco-list-row .history-item>.actions,.scm-view.show-actions>.monaco-list .monaco-list-row .resource-group>.actions,.scm-view.show-actions>.monaco-list .monaco-list-row .resource>.name>.monaco-icon-label>.actions,.scm-view.show-actions>.monaco-list .monaco-list-row .scm-input>.scm-editor>.actions{display:block}.scm-view .monaco-list-row .actions .action-label{padding:2px}.scm-view .scm-input{align-items:center;display:flex;height:100%;padding-left:11px}.scm-view .scm-input .scm-editor .scm-editor-toolbar{padding:1px 3px 1px 1px}.scm-view .scm-input .scm-editor .scm-editor-toolbar.hidden{display:none}.scm-view .scm-input .scm-editor .scm-editor-toolbar.scroll-decoration{box-shadow:var(--vscode-scrollbar-shadow) 0 6px 6px -6px inset}.scm-view .scm-input .scm-editor .scm-editor-toolbar .action-label.codicon.codicon-debug-stop{color:var(--vscode-icon-foreground)!important}.scm-view .scm-editor-container .monaco-editor{border-radius:2px}.scm-view .scm-editor{align-items:flex-start;background-color:var(--vscode-input-background);border:1px solid var(--vscode-input-border,transparent);border-radius:2px;box-sizing:border-box;display:flex;width:100%}.scm-view .button-container{align-items:center;display:flex;height:100%;padding-left:11px}.scm-view .button-container .codicon.codicon-cloud-upload,.scm-view .button-container .codicon.codicon-sync{margin:0 4px 0 0}.scm-view .button-container .codicon.codicon-arrow-down,.scm-view .button-container .codicon.codicon-arrow-up{font-size:small!important;margin:0 4px 0 0}.scm-view .button-container>.monaco-button-dropdown{flex-grow:1;overflow:hidden}.scm-view .button-container>.monaco-button-dropdown>.monaco-dropdown-button{align-items:center;display:flex;padding:0 4px}.scm-view .button-container>.monaco-button-dropdown>.monaco-button.monaco-text-button{min-width:0}.scm-view .button-container>.monaco-button-dropdown>.monaco-button.monaco-text-button>span:not(.codicon){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scm-view .scm-editor.hidden{display:none}.monaco-workbench .part.panel .scm-view .scm-editor-container{outline:1px solid var(--vscode-panelInput-border)}.monaco-workbench .part.panel .scm-view .scm-editor.synthetic-focus,.scm-view .scm-editor.synthetic-focus{outline:1px solid var(--vscode-focusBorder);outline-offset:-1px}.scm-view .scm-editor.validation-info{outline:1px solid var(--vscode-inputValidation-infoBorder)!important;outline-offset:-1px}.scm-view .scm-editor.validation-warning{outline:1px solid var(--vscode-inputValidation-warningBorder)!important;outline-offset:-1px}.scm-view .scm-editor.validation-error{outline:1px solid var(--vscode-inputValidation-errorBorder)!important;outline-offset:-1px}.scm-editor-validation-container{border-bottom-left-radius:2px;border-bottom-right-radius:2px;border-style:solid;border-width:1px;border-top:none;box-sizing:border-box;display:flex;padding:2px}.scm-editor-validation-container.validation-info{background-color:var(--vscode-inputValidation-infoBackground);border-color:var(--vscode-inputValidation-infoBorder);color:var(--vscode-inputValidation-infoForeground)}.scm-editor-validation-container.validation-warning{background-color:var(--vscode-inputValidation-warningBackground);border-color:var(--vscode-inputValidation-warningBorder);color:var(--vscode-inputValidation-warningForeground)}.scm-editor-validation-container.validation-error{background-color:var(--vscode-inputValidation-errorBackground);border-color:var(--vscode-inputValidation-errorBorder);color:var(--vscode-inputValidation-errorForeground)}.scm-editor-validation{border-style:none;box-sizing:border-box;display:block;flex:auto;font-size:.9em;padding:1px 3px}.scm-editor-validation p{margin:0;padding:0}.scm-editor-validation a{color:var(--vscode-textLink-foreground);-webkit-user-select:none;user-select:none}.scm-editor-validation a:active,.scm-editor-validation a:hover{color:var(--vscode-textLink-activeForeground)}.scm-editor-validation-actions{align-self:start;margin-top:1px}.monaco-workbench .part.basepanel>.content .scm-view .scm-editor-container .monaco-editor,.monaco-workbench .part.basepanel>.content .scm-view .scm-editor-container .monaco-editor .margin,.monaco-workbench .part.basepanel>.content .scm-view .scm-editor-container .monaco-editor .monaco-editor-background,.scm-view .scm-editor-container .monaco-editor,.scm-view .scm-editor-container .monaco-editor .margin,.scm-view .scm-editor-container .monaco-editor-background{background-color:var(--vscode-input-background);color:inherit}.scm-view .scm-editor-container .mtk1{color:var(--vscode-input-foreground)}.scm-view .scm-editor-container .placeholder-text.mtk1{color:var(--vscode-input-placeholderForeground)}.scm-repositories-view .scm-provider{margin:0 12px 0 20px;overflow:hidden}.scm-repositories-view .scm-provider>.label>.name{font-weight:400}.monaco-hover.history-item-hover p:first-child{margin-top:4px}.monaco-hover.history-item-hover p:last-child{margin-bottom:0}.monaco-hover.history-item-hover p:last-child span:not(.codicon){margin-bottom:2px!important}.monaco-hover.history-item-hover hr{margin-bottom:4px;margin-top:4px}.monaco-hover.history-item-hover hr+p{margin:4px 0}.monaco-hover.history-item-hover span:not(.codicon){margin-bottom:0!important}.monaco-hover.history-item-hover p>span>span.codicon.codicon-git-branch{font-size:12px;margin-bottom:2px!important}.monaco-hover.history-item-hover p>span>span.codicon.codicon-tag,.monaco-hover.history-item-hover p>span>span.codicon.codicon-target{font-size:14px;margin-bottom:2px!important}.monaco-hover.history-item-hover p>span>span.codicon.codicon-cloud{font-size:14px;margin-bottom:1px!important}.monaco-hover.history-item-hover .hover-row.status-bar .action{align-items:center;display:flex}.monaco-hover.history-item-hover .hover-row.status-bar .action .codicon{color:inherit;font-size:12px}.pane-header .scm-graph-view-badge-container{align-items:center;display:flex;min-width:fit-content}.pane-header .scm-graph-view-badge-container>.scm-graph-view-badge.monaco-count-badge.long{background-color:var(--vscode-badge-background);border:1px solid var(--vscode-contrastBorder);color:var(--vscode-badge-foreground);margin:0 6px;padding:2px 4px}.monaco-workbench .part.auxiliarybar>.title>.title-actions .action-label.scm-graph-history-item-picker,.monaco-workbench .part.auxiliarybar>.title>.title-actions .action-label.scm-graph-repository-picker{display:flex}.monaco-toolbar .action-item>.action-label.scm-graph-history-item-picker,.monaco-toolbar .action-item>.action-label.scm-graph-repository-picker{align-items:center;color:var(--vscode-icon-foreground);font-weight:400;line-height:16px}.monaco-toolbar .action-item.disabled>.action-label.scm-graph-history-item-picker,.monaco-toolbar .action-item.disabled>.action-label.scm-graph-repository-picker{color:var(--vscode-disabledForeground)}.monaco-toolbar .action-label.scm-graph-history-item-picker .codicon,.monaco-toolbar .action-label.scm-graph-repository-picker .codicon{color:inherit;font-size:14px}.monaco-toolbar .action-label.scm-graph-history-item-picker>.name,.monaco-toolbar .action-label.scm-graph-repository-picker>.name{max-width:100px;overflow:hidden;text-overflow:ellipsis}.scm-history-view .scm-provider .label-name{font-weight:700}.scm-history-view .scm-provider .monaco-icon-label{align-items:center}.scm-history-view .scm-provider .state-label.monaco-count-badge.long{background:var(--vscode-debugView-stateLabelBackground);border-radius:2px;color:var(--vscode-debugView-stateLabelForeground);display:flex;font-size:.8em;margin:0 10px}.scm-history-view .scm-provider .actions{display:flex;flex-grow:1}.scm-history-view .history-item-load-more{display:flex;height:22px}.scm-history-view .history-item-load-more .graph-placeholder{mask-image:linear-gradient(#000,transparent)}.scm-history-view .history-item-load-more .history-item-placeholder{flex-grow:1}.scm-history-view .history-item-load-more .history-item-placeholder .monaco-highlighted-label{align-items:center;color:var(--vscode-textLink-foreground);display:flex;justify-content:center}.scm-history-view .history-item-load-more .history-item-placeholder .monaco-highlighted-label .codicon{color:var(--vscode-textLink-foreground);font-size:12px}.scm-history-view .history-item-load-more .history-item-placeholder.shimmer{padding:2px 0}.scm-history-view .history-item-load-more .history-item-placeholder.shimmer .monaco-icon-label-container{background:var(--vscode-scmGraph-historyItemHoverDefaultLabelBackground);border-radius:2px;height:18px;opacity:.5}";
3
+ var css = ".scm-view{height:100%;position:relative}.scm-overflow-widgets-container{height:0;left:0;overflow:visible;position:absolute;top:0;width:0;z-index:5000}.scm-view .monaco-tl-contents>div{overflow:hidden;padding-right:12px}.scm-view .count{display:flex;margin-left:6px}.scm-view .count.hidden{display:none}.scm-view .scm-provider{align-items:center;display:flex;flex-direction:column;flex-flow:nowrap;height:100%}.scm-view.auto-provider-counts .scm-provider>.count[data-count=\"0\"],.scm-view.hide-provider-counts .scm-provider>.count{display:none}.scm-view .scm-provider>.label{flex:1;min-width:50px;overflow:hidden;text-overflow:ellipsis}.scm-view .scm-provider>.label>.name{font-weight:700}.scm-view .scm-provider>.label>.description{font-size:.9em;margin-left:.5em;opacity:.7}.scm-view .scm-provider>.actions{justify-content:flex-end;overflow:hidden}.scm-view .scm-provider>.actions>.monaco-toolbar>.monaco-action-bar>.actions-container>.action-item{align-items:center;display:flex;padding-left:4px}.scm-view .scm-provider>.actions>.monaco-toolbar>.monaco-action-bar>.actions-container>.action-item:first-child{min-width:20px}.scm-view .scm-provider>.actions>.monaco-toolbar>.monaco-action-bar>.actions-container>.action-item>.action-label,.scm-view .scm-provider>.actions>.monaco-toolbar>.monaco-action-bar>.actions-container>.action-item>.monaco-dropdown>.dropdown-label>.action-label{align-items:center;display:flex;line-height:16px;overflow:hidden}.scm-view .scm-provider>.actions>.monaco-toolbar>.monaco-action-bar>.actions-container>.action-item>.action-label>.codicon{font-size:12px;justify-content:center}.scm-view .scm-provider>.actions>.monaco-toolbar>.monaco-action-bar>.actions-container>.action-item:last-of-type{padding-right:0}.scm-view .scm-provider>.body{flex-grow:1}.scm-view .scm-provider>.status>.monaco-action-bar>.actions-container{border-color:var(--vscode-sideBar-border)}.scm-view .monaco-list-row{line-height:22px}.scm-view .monaco-list-row .monaco-icon-label-container{height:22px}.scm-view .monaco-list-row .history,.scm-view .monaco-list-row .history-item-group,.scm-view .monaco-list-row .resource-group{align-items:center;display:flex;height:100%}.scm-view .monaco-list-row .history-item .monaco-icon-label,.scm-view .monaco-list-row .history-item-group .monaco-icon-label{align-items:center;flex-grow:1}.scm-view .monaco-list-row .history-item{align-items:center;display:flex}.scm-view .monaco-list-row .history-item>.graph-container{display:flex;flex-shrink:0;height:22px}.scm-view .monaco-list-row .history-item>.graph-container.current>.graph>circle:last-child{fill:var(--vscode-sideBar-background)}.scm-view .monaco-list-row:hover .history-item>.graph-container.current>.graph>circle:last-child{fill:var(--vscode-list-hoverBackground)}.scm-view .monaco-list-row .history-item>.graph-container>.graph>circle{stroke:var(--vscode-sideBar-background)}.scm-view .monaco-list-row:hover .history-item>.graph-container>.graph>circle{stroke:var(--vscode-list-hoverBackground)}.scm-view .monaco-list-row .history-item>.label-container{display:flex;flex-shrink:0;gap:4px}.scm-view .monaco-list-row .history-item>.label-container>.label{align-items:center;border-radius:10px;display:flex;line-height:18px}.scm-view .monaco-list-row .history-item>.label-container>.label>.count{font-size:12px;margin-left:0;padding-left:4px}.scm-view .monaco-list-row .history-item>.label-container>.label>.codicon{color:inherit!important;font-size:14px;padding:2px}.scm-view .monaco-list-row .history-item>.label-container>.label>.codicon.codicon-git-branch{font-size:12px;padding:3px}.scm-view .monaco-list-row .history-item>.label-container>.label>.description{font-size:12px;max-width:100px;overflow:hidden;padding-right:4px;text-overflow:ellipsis}.scm-view .monaco-list-row .history-item .monaco-icon-label .icon-container{display:flex;padding-right:4px}.scm-view .monaco-list-row .history-item .monaco-icon-label .avatar{border-radius:14px;height:14px;width:14px}.scm-view .monaco-list-row .history-item .monaco-icon-label.history-item-current .label-name{font-weight:600}.scm-view .monaco-list-row .history-item .monaco-icon-label.history-item-current .label-description{font-weight:500}.scm-view .monaco-list-row .history>.name,.scm-view .monaco-list-row .resource-group>.name{flex:1;overflow:hidden;text-overflow:ellipsis}.scm-view .monaco-list-row .resource{display:flex;height:100%}.scm-view .monaco-list-row .resource.faded{opacity:.7}.scm-view .monaco-list-row .resource>.name{flex:1;overflow:hidden}.scm-view .monaco-list-row .resource>.name>.monaco-icon-label:after{margin-right:3px}.scm-view .monaco-list-row .resource>.decoration-icon{background-position:50% 50%;background-repeat:no-repeat;height:100%;margin-left:5px;width:16px}.scm-view .monaco-list-row .resource>.decoration-icon.codicon{margin-right:0;margin-top:3px}.scm-view .monaco-list .monaco-list-row .resource>.name>.monaco-icon-label>.actions{flex-grow:100}.scm-view .monaco-list .monaco-list-row .history-item>.actions,.scm-view .monaco-list .monaco-list-row .resource-group>.actions,.scm-view .monaco-list .monaco-list-row .resource>.name>.monaco-icon-label>.actions{display:none;max-width:fit-content}.scm-view .monaco-list .monaco-list-row.focused .history-item>.actions,.scm-view .monaco-list .monaco-list-row.focused .resource-group>.actions,.scm-view .monaco-list .monaco-list-row.focused .resource>.name>.monaco-icon-label>.actions,.scm-view .monaco-list .monaco-list-row:hover .history-item>.actions,.scm-view .monaco-list .monaco-list-row:hover .resource-group>.actions,.scm-view .monaco-list .monaco-list-row:hover .resource>.name>.monaco-icon-label>.actions,.scm-view .monaco-list:not(.selection-multiple) .monaco-list-row .resource:hover>.actions{display:block}.scm-view .monaco-list .monaco-list-row.focused.force-no-hover,.scm-view .monaco-list .monaco-list-row.force-no-hover,.scm-view .monaco-list .monaco-list-row.selected.force-no-hover,.scm-view .monaco-list .monaco-list-row:hover.force-no-hover{background:transparent!important}.scm-view .monaco-list .monaco-list-row.cursor-default{cursor:default}.scm-view.show-actions .scm-provider>.actions,.scm-view.show-actions>.monaco-list .monaco-list-row .history-item>.actions,.scm-view.show-actions>.monaco-list .monaco-list-row .resource-group>.actions,.scm-view.show-actions>.monaco-list .monaco-list-row .resource>.name>.monaco-icon-label>.actions,.scm-view.show-actions>.monaco-list .monaco-list-row .scm-input>.scm-editor>.actions{display:block}.scm-view .monaco-list-row .actions .action-label{padding:2px}.scm-view .scm-input{align-items:center;display:flex;height:100%;padding-left:11px}.scm-view .scm-input .scm-editor .scm-editor-toolbar{padding:1px 3px 1px 1px}.scm-view .scm-input .scm-editor .scm-editor-toolbar.hidden{display:none}.scm-view .scm-input .scm-editor .scm-editor-toolbar.scroll-decoration{box-shadow:var(--vscode-scrollbar-shadow) 0 6px 6px -6px inset}.scm-view .scm-input .scm-editor .scm-editor-toolbar .action-label.codicon.codicon-debug-stop{color:var(--vscode-icon-foreground)!important}.scm-view .scm-editor-container .monaco-editor{border-radius:2px}.scm-view .scm-editor{align-items:flex-start;background-color:var(--vscode-input-background);border:1px solid var(--vscode-input-border,transparent);border-radius:2px;box-sizing:border-box;display:flex;width:100%}.scm-view .button-container{align-items:center;display:flex;height:100%;padding-left:11px}.scm-view .button-container .codicon.codicon-cloud-upload,.scm-view .button-container .codicon.codicon-sync{margin:0 4px 0 0}.scm-view .button-container .codicon.codicon-arrow-down,.scm-view .button-container .codicon.codicon-arrow-up{font-size:small!important;margin:0 4px 0 0}.scm-view .button-container>.monaco-button-dropdown{flex-grow:1;overflow:hidden}.scm-view .button-container>.monaco-button-dropdown>.monaco-dropdown-button{align-items:center;display:flex;padding:0 4px}.scm-view .button-container>.monaco-button-dropdown>.monaco-button.monaco-text-button{min-width:0}.scm-view .button-container>.monaco-button-dropdown>.monaco-button.monaco-text-button>span:not(.codicon){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scm-view .scm-editor.hidden{display:none}.monaco-workbench .part.panel .scm-view .scm-editor-container{outline:1px solid var(--vscode-panelInput-border)}.monaco-workbench .part.panel .scm-view .scm-editor.synthetic-focus,.scm-view .scm-editor.synthetic-focus{outline:1px solid var(--vscode-focusBorder);outline-offset:-1px}.scm-view .scm-editor.validation-info{outline:1px solid var(--vscode-inputValidation-infoBorder)!important;outline-offset:-1px}.scm-view .scm-editor.validation-warning{outline:1px solid var(--vscode-inputValidation-warningBorder)!important;outline-offset:-1px}.scm-view .scm-editor.validation-error{outline:1px solid var(--vscode-inputValidation-errorBorder)!important;outline-offset:-1px}.scm-editor-validation-container{border-bottom-left-radius:2px;border-bottom-right-radius:2px;border-style:solid;border-width:1px;border-top:none;box-sizing:border-box;display:flex;padding:2px}.scm-editor-validation-container.validation-info{background-color:var(--vscode-inputValidation-infoBackground);border-color:var(--vscode-inputValidation-infoBorder);color:var(--vscode-inputValidation-infoForeground)}.scm-editor-validation-container.validation-warning{background-color:var(--vscode-inputValidation-warningBackground);border-color:var(--vscode-inputValidation-warningBorder);color:var(--vscode-inputValidation-warningForeground)}.scm-editor-validation-container.validation-error{background-color:var(--vscode-inputValidation-errorBackground);border-color:var(--vscode-inputValidation-errorBorder);color:var(--vscode-inputValidation-errorForeground)}.scm-editor-validation{border-style:none;box-sizing:border-box;display:block;flex:auto;font-size:.9em;padding:1px 3px}.scm-editor-validation p{margin:0;padding:0}.scm-editor-validation a{color:var(--vscode-textLink-foreground);-webkit-user-select:none;user-select:none}.scm-editor-validation a:active,.scm-editor-validation a:hover{color:var(--vscode-textLink-activeForeground)}.scm-editor-validation-actions{align-self:start;margin-top:1px}.monaco-workbench .part.basepanel>.content .scm-view .scm-editor-container .monaco-editor,.monaco-workbench .part.basepanel>.content .scm-view .scm-editor-container .monaco-editor .margin,.monaco-workbench .part.basepanel>.content .scm-view .scm-editor-container .monaco-editor .monaco-editor-background,.scm-view .scm-editor-container .monaco-editor,.scm-view .scm-editor-container .monaco-editor .margin,.scm-view .scm-editor-container .monaco-editor-background{background-color:var(--vscode-input-background);color:inherit}.scm-view .scm-editor-container .mtk1{color:var(--vscode-input-foreground)}.scm-view .scm-editor-container .placeholder-text.mtk1{color:var(--vscode-input-placeholderForeground)}.scm-repositories-view .scm-provider{margin:0 12px 0 20px;overflow:hidden}.scm-repositories-view .scm-provider>.label>.name{font-weight:400}.monaco-hover.history-item-hover p:first-child{margin-top:4px}.monaco-hover.history-item-hover p:last-child{margin-bottom:0}.monaco-hover.history-item-hover p:last-child span:not(.codicon){margin-bottom:2px!important}.monaco-hover.history-item-hover hr{margin-bottom:4px;margin-top:4px}.monaco-hover.history-item-hover hr+p{margin:4px 0}.monaco-hover.history-item-hover span:not(.codicon){margin-bottom:0!important}.monaco-hover.history-item-hover p>span>span.codicon.codicon-git-branch{font-size:12px;margin-bottom:2px!important}.monaco-hover.history-item-hover p>span>span.codicon.codicon-tag,.monaco-hover.history-item-hover p>span>span.codicon.codicon-target{font-size:14px;margin-bottom:2px!important}.monaco-hover.history-item-hover p>span>span.codicon.codicon-cloud{font-size:14px;margin-bottom:1px!important}.monaco-hover.history-item-hover .hover-row.status-bar .action{align-items:center;display:flex}.monaco-hover.history-item-hover .hover-row.status-bar .action .codicon{color:inherit;font-size:12px}.pane-header .scm-graph-view-badge-container{align-items:center;display:flex;min-width:fit-content}.pane-header .scm-graph-view-badge-container>.scm-graph-view-badge.monaco-count-badge.long{background-color:var(--vscode-badge-background);border:1px solid var(--vscode-contrastBorder);color:var(--vscode-badge-foreground);margin:0 6px;padding:2px 4px}.monaco-workbench .part.auxiliarybar>.title>.title-actions .action-label.scm-graph-history-item-picker,.monaco-workbench .part.auxiliarybar>.title>.title-actions .action-label.scm-graph-repository-picker{display:flex}.monaco-toolbar .action-item>.action-label.scm-graph-history-item-picker,.monaco-toolbar .action-item>.action-label.scm-graph-repository-picker{align-items:center;color:var(--vscode-icon-foreground);font-weight:400;line-height:16px}.monaco-toolbar .action-item.disabled>.action-label.scm-graph-history-item-picker,.monaco-toolbar .action-item.disabled>.action-label.scm-graph-repository-picker{color:var(--vscode-disabledForeground)}.monaco-toolbar .action-label.scm-graph-history-item-picker .codicon,.monaco-toolbar .action-label.scm-graph-repository-picker .codicon{color:inherit;font-size:14px}.monaco-toolbar .action-label.scm-graph-history-item-picker>.name,.monaco-toolbar .action-label.scm-graph-repository-picker>.name{max-width:100px;overflow:hidden;text-overflow:ellipsis}.scm-history-view .scm-provider .label-name{font-weight:700}.scm-history-view .scm-provider .monaco-icon-label{align-items:center}.scm-history-view .scm-provider .state-label.monaco-count-badge.long{background:var(--vscode-debugView-stateLabelBackground);border-radius:2px;color:var(--vscode-debugView-stateLabelForeground);display:flex;font-size:.8em;margin:0 10px}.scm-history-view .scm-provider .actions{display:flex;flex-grow:1}.scm-history-view .history-item-load-more{display:flex;height:22px}.scm-history-view .history-item-load-more .graph-placeholder{mask-image:linear-gradient(#000,transparent)}.scm-history-view .history-item-load-more .history-item-placeholder{flex-grow:1}.scm-history-view .history-item-load-more .history-item-placeholder .monaco-highlighted-label{align-items:center;color:var(--vscode-textLink-foreground);display:flex;justify-content:center}.scm-history-view .history-item-load-more .history-item-placeholder .monaco-highlighted-label .codicon{color:var(--vscode-textLink-foreground);font-size:12px}.scm-history-view .history-item-load-more .history-item-placeholder.shimmer{padding:2px 0}.scm-history-view .history-item-load-more .history-item-placeholder.shimmer .monaco-icon-label-container{background:var(--vscode-scmGraph-historyItemHoverDefaultLabelBackground);border-radius:2px;height:18px;opacity:.5}";
4
4
  n(css,{});
5
5
 
6
6
  export { css, css as default };
@@ -209,7 +209,7 @@ SCMMenus = ( (__decorate([
209
209
  ( (__param(1, IInstantiationService)))
210
210
  ], SCMMenus)));
211
211
  MenuRegistry.appendMenuItem(MenuId.SCMResourceContext, {
212
- title: ( localize(6285, "Share")),
212
+ title: ( localize(6288, "Share")),
213
213
  submenu: MenuId.SCMResourceContextShare,
214
214
  group: '45_share',
215
215
  order: 3,
@@ -45,10 +45,10 @@ ModesRegistry.registerLanguage({
45
45
  });
46
46
  ( (Registry.as(Extensions.Workbench)))
47
47
  .registerWorkbenchContribution(DirtyDiffWorkbenchController, 3 );
48
- const sourceControlViewIcon = registerIcon('source-control-view-icon', Codicon.sourceControl, ( localize(2846, 'View icon of the Source Control view.')));
48
+ const sourceControlViewIcon = registerIcon('source-control-view-icon', Codicon.sourceControl, ( localize(2366, 'View icon of the Source Control view.')));
49
49
  const viewContainer = ( (Registry.as(Extensions$1.ViewContainersRegistry))).registerViewContainer({
50
50
  id: VIEWLET_ID,
51
- title: ( localize2(2847, 'Source Control')),
51
+ title: ( localize2(2367, 'Source Control')),
52
52
  ctorDescriptor: ( (new SyncDescriptor(SCMViewPaneContainer))),
53
53
  storageId: 'workbench.scm.views.state',
54
54
  icon: sourceControlViewIcon,
@@ -58,12 +58,12 @@ const viewContainer = ( (Registry.as(Extensions$1.ViewContainersRegistry))).regi
58
58
  }, 0 , { doNotRegisterOpenCommand: true });
59
59
  const viewsRegistry = ( (Registry.as(Extensions$1.ViewsRegistry)));
60
60
  viewsRegistry.registerViewWelcomeContent(VIEW_PANE_ID, {
61
- content: ( localize(2848, "No source control providers registered.")),
61
+ content: ( localize(2368, "No source control providers registered.")),
62
62
  when: 'default'
63
63
  });
64
64
  viewsRegistry.registerViewWelcomeContent(VIEW_PANE_ID, {
65
65
  content: ( localize(
66
- 2849,
66
+ 2369,
67
67
  "None of the registered source control providers work in Restricted Mode."
68
68
  )),
69
69
  when: ( (ContextKeyExpr.and(
@@ -73,7 +73,7 @@ viewsRegistry.registerViewWelcomeContent(VIEW_PANE_ID, {
73
73
  )))
74
74
  });
75
75
  viewsRegistry.registerViewWelcomeContent(VIEW_PANE_ID, {
76
- content: `[${( localize(2850, "Manage Workspace Trust"))}](command:${MANAGE_TRUST_COMMAND_ID})`,
76
+ content: `[${( localize(2370, "Manage Workspace Trust"))}](command:${MANAGE_TRUST_COMMAND_ID})`,
77
77
  when: ( (ContextKeyExpr.and(
78
78
  (ContextKeyExpr.equals('scm.providerCount', 0)),
79
79
  WorkspaceTrustContext.IsEnabled,
@@ -82,14 +82,14 @@ viewsRegistry.registerViewWelcomeContent(VIEW_PANE_ID, {
82
82
  });
83
83
  viewsRegistry.registerViewWelcomeContent(HISTORY_VIEW_PANE_ID, {
84
84
  content: ( localize(
85
- 2851,
85
+ 2371,
86
86
  "The selected source control provider does not have any source control history items."
87
87
  )),
88
88
  when: ( (ContextKeys.SCMHistoryItemCount.isEqualTo(0)))
89
89
  });
90
90
  viewsRegistry.registerViews([{
91
91
  id: REPOSITORIES_VIEW_PANE_ID,
92
- name: ( localize2(2852, "Source Control Repositories")),
92
+ name: ( localize2(2372, "Source Control Repositories")),
93
93
  ctorDescriptor: ( (new SyncDescriptor(SCMRepositoriesViewPane))),
94
94
  canToggleVisibility: true,
95
95
  hideByDefault: true,
@@ -104,7 +104,7 @@ viewsRegistry.registerViews([{
104
104
  }], viewContainer);
105
105
  viewsRegistry.registerViews([{
106
106
  id: VIEW_PANE_ID,
107
- name: ( localize2(2847, 'Source Control')),
107
+ name: ( localize2(2367, 'Source Control')),
108
108
  ctorDescriptor: ( (new SyncDescriptor(SCMViewPane))),
109
109
  canToggleVisibility: true,
110
110
  canMoveView: true,
@@ -113,7 +113,7 @@ viewsRegistry.registerViews([{
113
113
  containerIcon: sourceControlViewIcon,
114
114
  openCommandActionDescriptor: {
115
115
  id: viewContainer.id,
116
- mnemonicTitle: ( localize(2853, "Source &&Control")),
116
+ mnemonicTitle: ( localize(2373, "Source &&Control")),
117
117
  keybindings: {
118
118
  primary: 0,
119
119
  win: { primary: 2048 | 1024 | 37 },
@@ -125,7 +125,7 @@ viewsRegistry.registerViews([{
125
125
  }], viewContainer);
126
126
  viewsRegistry.registerViews([{
127
127
  id: HISTORY_VIEW_PANE_ID,
128
- name: ( localize2(2854, "Source Control Graph")),
128
+ name: ( localize2(2374, "Source Control Graph")),
129
129
  ctorDescriptor: ( (new SyncDescriptor(SCMHistoryViewPane))),
130
130
  canToggleVisibility: true,
131
131
  canMoveView: true,
@@ -147,7 +147,7 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
147
147
  ( (Registry.as(Extensions$2.Configuration))).registerConfiguration({
148
148
  id: 'scm',
149
149
  order: 5,
150
- title: ( localize(2855, "Source Control")),
150
+ title: ( localize(2375, "Source Control")),
151
151
  type: 'object',
152
152
  scope: 4 ,
153
153
  properties: {
@@ -155,21 +155,21 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
155
155
  type: 'string',
156
156
  enum: ['all', 'gutter', 'overview', 'minimap', 'none'],
157
157
  enumDescriptions: [
158
- ( localize(2856, "Show the diff decorations in all available locations.")),
159
- ( localize(2857, "Show the diff decorations only in the editor gutter.")),
160
- ( localize(2858, "Show the diff decorations only in the overview ruler.")),
161
- ( localize(2859, "Show the diff decorations only in the minimap.")),
162
- ( localize(2860, "Do not show the diff decorations."))
158
+ ( localize(2376, "Show the diff decorations in all available locations.")),
159
+ ( localize(2377, "Show the diff decorations only in the editor gutter.")),
160
+ ( localize(2378, "Show the diff decorations only in the overview ruler.")),
161
+ ( localize(2379, "Show the diff decorations only in the minimap.")),
162
+ ( localize(2380, "Do not show the diff decorations."))
163
163
  ],
164
164
  default: 'all',
165
- description: ( localize(2861, "Controls diff decorations in the editor."))
165
+ description: ( localize(2381, "Controls diff decorations in the editor."))
166
166
  },
167
167
  'scm.diffDecorationsGutterWidth': {
168
168
  type: 'number',
169
169
  enum: [1, 2, 3, 4, 5],
170
170
  default: 3,
171
171
  description: ( localize(
172
- 2862,
172
+ 2382,
173
173
  "Controls the width(px) of diff decorations in gutter (added & modified)."
174
174
  ))
175
175
  },
@@ -177,11 +177,11 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
177
177
  type: 'string',
178
178
  enum: ['always', 'hover'],
179
179
  enumDescriptions: [
180
- ( localize(2863, "Show the diff decorator in the gutter at all times.")),
181
- ( localize(2864, "Show the diff decorator in the gutter only on hover."))
180
+ ( localize(2383, "Show the diff decorator in the gutter at all times.")),
181
+ ( localize(2384, "Show the diff decorator in the gutter only on hover."))
182
182
  ],
183
183
  description: ( localize(
184
- 2865,
184
+ 2385,
185
185
  "Controls the visibility of the Source Control diff decorator in the gutter."
186
186
  )),
187
187
  default: 'always'
@@ -190,27 +190,27 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
190
190
  type: 'string',
191
191
  enum: ['diff', 'none'],
192
192
  enumDescriptions: [
193
- ( localize(2866, "Show the inline diff Peek view on click.")),
194
- ( localize(2867, "Do nothing."))
193
+ ( localize(2386, "Show the inline diff Peek view on click.")),
194
+ ( localize(2387, "Do nothing."))
195
195
  ],
196
- description: ( localize(2868, "Controls the behavior of Source Control diff gutter decorations.")),
196
+ description: ( localize(2388, "Controls the behavior of Source Control diff gutter decorations.")),
197
197
  default: 'diff'
198
198
  },
199
199
  'scm.diffDecorationsGutterPattern': {
200
200
  type: 'object',
201
201
  description: ( localize(
202
- 2869,
202
+ 2389,
203
203
  "Controls whether a pattern is used for the diff decorations in gutter."
204
204
  )),
205
205
  additionalProperties: false,
206
206
  properties: {
207
207
  'added': {
208
208
  type: 'boolean',
209
- description: ( localize(2870, "Use pattern for the diff decorations in gutter for added lines.")),
209
+ description: ( localize(2390, "Use pattern for the diff decorations in gutter for added lines.")),
210
210
  },
211
211
  'modified': {
212
212
  type: 'boolean',
213
- description: ( localize(2871, "Use pattern for the diff decorations in gutter for modified lines.")),
213
+ description: ( localize(2391, "Use pattern for the diff decorations in gutter for modified lines.")),
214
214
  },
215
215
  },
216
216
  default: {
@@ -222,12 +222,12 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
222
222
  type: 'string',
223
223
  enum: ['true', 'false', 'inherit'],
224
224
  enumDescriptions: [
225
- ( localize(2872, "Ignore leading and trailing whitespace.")),
226
- ( localize(2873, "Do not ignore leading and trailing whitespace.")),
227
- ( localize(2874, "Inherit from `diffEditor.ignoreTrimWhitespace`."))
225
+ ( localize(2392, "Ignore leading and trailing whitespace.")),
226
+ ( localize(2393, "Do not ignore leading and trailing whitespace.")),
227
+ ( localize(2394, "Inherit from `diffEditor.ignoreTrimWhitespace`."))
228
228
  ],
229
229
  description: ( localize(
230
- 2875,
230
+ 2395,
231
231
  "Controls whether leading and trailing whitespace is ignored in Source Control diff gutter decorations."
232
232
  )),
233
233
  default: 'false'
@@ -235,7 +235,7 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
235
235
  'scm.alwaysShowActions': {
236
236
  type: 'boolean',
237
237
  description: ( localize(
238
- 2876,
238
+ 2396,
239
239
  "Controls whether inline actions are always visible in the Source Control view."
240
240
  )),
241
241
  default: false
@@ -244,12 +244,12 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
244
244
  type: 'string',
245
245
  enum: ['all', 'focused', 'off'],
246
246
  enumDescriptions: [
247
- ( localize(2877, "Show the sum of all Source Control Provider count badges.")),
248
- ( localize(2878, "Show the count badge of the focused Source Control Provider.")),
249
- ( localize(2879, "Disable the Source Control count badge."))
247
+ ( localize(2397, "Show the sum of all Source Control Provider count badges.")),
248
+ ( localize(2398, "Show the count badge of the focused Source Control Provider.")),
249
+ ( localize(2399, "Disable the Source Control count badge."))
250
250
  ],
251
251
  description: ( localize(
252
- 2880,
252
+ 2400,
253
253
  "Controls the count badge on the Source Control icon on the Activity Bar."
254
254
  )),
255
255
  default: 'all'
@@ -258,12 +258,12 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
258
258
  type: 'string',
259
259
  enum: ['hidden', 'auto', 'visible'],
260
260
  enumDescriptions: [
261
- ( localize(2881, "Hide Source Control Provider count badges.")),
262
- ( localize(2882, "Only show count badge for Source Control Provider when non-zero.")),
263
- ( localize(2883, "Show Source Control Provider count badges."))
261
+ ( localize(2401, "Hide Source Control Provider count badges.")),
262
+ ( localize(2402, "Only show count badge for Source Control Provider when non-zero.")),
263
+ ( localize(2403, "Show Source Control Provider count badges."))
264
264
  ],
265
265
  markdownDescription: ( localize(
266
- 2884,
266
+ 2404,
267
267
  "Controls the count badges on Source Control Provider headers. These headers appear in the Source Control view when there is more than one provider or when the {0} setting is enabled, and in the Source Control Repositories view.",
268
268
  '\`#scm.alwaysShowRepositories#\`'
269
269
  )),
@@ -273,22 +273,22 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
273
273
  type: 'string',
274
274
  enum: ['tree', 'list'],
275
275
  enumDescriptions: [
276
- ( localize(2885, "Show the repository changes as a tree.")),
277
- ( localize(2886, "Show the repository changes as a list."))
276
+ ( localize(2405, "Show the repository changes as a tree.")),
277
+ ( localize(2406, "Show the repository changes as a list."))
278
278
  ],
279
- description: ( localize(2887, "Controls the default Source Control repository view mode.")),
279
+ description: ( localize(2407, "Controls the default Source Control repository view mode.")),
280
280
  default: 'list'
281
281
  },
282
282
  'scm.defaultViewSortKey': {
283
283
  type: 'string',
284
284
  enum: ['name', 'path', 'status'],
285
285
  enumDescriptions: [
286
- ( localize(2888, "Sort the repository changes by file name.")),
287
- ( localize(2889, "Sort the repository changes by path.")),
288
- ( localize(2890, "Sort the repository changes by Source Control status."))
286
+ ( localize(2408, "Sort the repository changes by file name.")),
287
+ ( localize(2409, "Sort the repository changes by path.")),
288
+ ( localize(2410, "Sort the repository changes by Source Control status."))
289
289
  ],
290
290
  description: ( localize(
291
- 2891,
291
+ 2411,
292
292
  "Controls the default Source Control repository changes sort order when viewed as a list."
293
293
  )),
294
294
  default: 'path'
@@ -296,7 +296,7 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
296
296
  'scm.autoReveal': {
297
297
  type: 'boolean',
298
298
  description: ( localize(
299
- 2892,
299
+ 2412,
300
300
  "Controls whether the Source Control view should automatically reveal and select files when opening them."
301
301
  )),
302
302
  default: true
@@ -304,20 +304,20 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
304
304
  'scm.inputFontFamily': {
305
305
  type: 'string',
306
306
  markdownDescription: ( localize(
307
- 2893,
307
+ 2413,
308
308
  "Controls the font for the input message. Use `default` for the workbench user interface font family, `editor` for the `#editor.fontFamily#`'s value, or a custom font family."
309
309
  )),
310
310
  default: 'default'
311
311
  },
312
312
  'scm.inputFontSize': {
313
313
  type: 'number',
314
- markdownDescription: ( localize(2894, "Controls the font size for the input message in pixels.")),
314
+ markdownDescription: ( localize(2414, "Controls the font size for the input message in pixels.")),
315
315
  default: 13
316
316
  },
317
317
  'scm.inputMaxLineCount': {
318
318
  type: 'number',
319
319
  markdownDescription: ( localize(
320
- 2895,
320
+ 2415,
321
321
  "Controls the maximum number of lines that the input will auto-grow to."
322
322
  )),
323
323
  minimum: 1,
@@ -327,7 +327,7 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
327
327
  'scm.inputMinLineCount': {
328
328
  type: 'number',
329
329
  markdownDescription: ( localize(
330
- 2896,
330
+ 2416,
331
331
  "Controls the minimum number of lines that the input will auto-grow from."
332
332
  )),
333
333
  minimum: 1,
@@ -337,7 +337,7 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
337
337
  'scm.alwaysShowRepositories': {
338
338
  type: 'boolean',
339
339
  markdownDescription: ( localize(
340
- 2897,
340
+ 2417,
341
341
  "Controls whether repositories should always be visible in the Source Control view."
342
342
  )),
343
343
  default: false
@@ -347,20 +347,20 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
347
347
  enum: ['discovery time', 'name', 'path'],
348
348
  enumDescriptions: [
349
349
  ( localize(
350
- 2898,
350
+ 2418,
351
351
  "Repositories in the Source Control Repositories view are sorted by discovery time. Repositories in the Source Control view are sorted in the order that they were selected."
352
352
  )),
353
353
  ( localize(
354
- 2899,
354
+ 2419,
355
355
  "Repositories in the Source Control Repositories and Source Control views are sorted by repository name."
356
356
  )),
357
357
  ( localize(
358
- 2900,
358
+ 2420,
359
359
  "Repositories in the Source Control Repositories and Source Control views are sorted by repository path."
360
360
  ))
361
361
  ],
362
362
  description: ( localize(
363
- 2901,
363
+ 2421,
364
364
  "Controls the sort order of the repositories in the source control repositories view."
365
365
  )),
366
366
  default: 'discovery time'
@@ -368,7 +368,7 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
368
368
  'scm.repositories.visible': {
369
369
  type: 'number',
370
370
  description: ( localize(
371
- 2902,
371
+ 2422,
372
372
  "Controls how many repositories are visible in the Source Control Repositories section. Set to 0, to be able to manually resize the view."
373
373
  )),
374
374
  default: 10
@@ -376,7 +376,7 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
376
376
  'scm.showActionButton': {
377
377
  type: 'boolean',
378
378
  markdownDescription: ( localize(
379
- 2903,
379
+ 2423,
380
380
  "Controls whether an action button can be shown in the Source Control view."
381
381
  )),
382
382
  default: true
@@ -384,7 +384,7 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
384
384
  'scm.showInputActionButton': {
385
385
  type: 'boolean',
386
386
  markdownDescription: ( localize(
387
- 2904,
387
+ 2424,
388
388
  "Controls whether an action button can be shown in the Source Control input."
389
389
  )),
390
390
  default: true
@@ -392,7 +392,7 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
392
392
  'scm.workingSets.enabled': {
393
393
  type: 'boolean',
394
394
  description: ( localize(
395
- 2905,
395
+ 2425,
396
396
  "Controls whether to store editor working sets when switching between source control history item groups."
397
397
  )),
398
398
  default: false
@@ -402,16 +402,16 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
402
402
  enum: ['empty', 'current'],
403
403
  enumDescriptions: [
404
404
  ( localize(
405
- 2906,
405
+ 2426,
406
406
  "Use an empty working set when switching to a source control history item group that does not have a working set."
407
407
  )),
408
408
  ( localize(
409
- 2907,
409
+ 2427,
410
410
  "Use the current working set when switching to a source control history item group that does not have a working set."
411
411
  ))
412
412
  ],
413
413
  description: ( localize(
414
- 2908,
414
+ 2428,
415
415
  "Controls the default working set to use when switching to a source control history item group that does not have a working set."
416
416
  )),
417
417
  default: 'current'
@@ -419,7 +419,7 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
419
419
  'scm.compactFolders': {
420
420
  type: 'boolean',
421
421
  description: ( localize(
422
- 2909,
422
+ 2429,
423
423
  "Controls whether the Source Control view should render folders in a compact form. In such a form, single child folders will be compressed in a combined tree element."
424
424
  )),
425
425
  default: true
@@ -427,7 +427,7 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
427
427
  'scm.graph.pageOnScroll': {
428
428
  type: 'boolean',
429
429
  description: ( localize(
430
- 2910,
430
+ 2430,
431
431
  "Controls whether the Source Control Graph view will load the next page of items when you scroll to the end of the list."
432
432
  )),
433
433
  default: true
@@ -435,7 +435,7 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
435
435
  'scm.graph.pageSize': {
436
436
  type: 'number',
437
437
  description: ( localize(
438
- 2911,
438
+ 2431,
439
439
  "The number of items to show in the Source Control Graph view by default and when loading more items."
440
440
  )),
441
441
  minimum: 1,
@@ -447,16 +447,16 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
447
447
  enum: ['all', 'filter'],
448
448
  enumDescriptions: [
449
449
  ( localize(
450
- 2912,
450
+ 2432,
451
451
  "Show badges of all history item groups in the Source Control Graph view."
452
452
  )),
453
453
  ( localize(
454
- 2913,
454
+ 2433,
455
455
  "Show only the badges of history item groups used as a filter in the Source Control Graph view."
456
456
  ))
457
457
  ],
458
458
  description: ( localize(
459
- 2914,
459
+ 2434,
460
460
  "Controls which badges are shown in the Source Control Graph view. The badges are shown on the right side of the graph indicating the names of history item groups."
461
461
  )),
462
462
  default: 'filter'
@@ -465,7 +465,7 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
465
465
  });
466
466
  KeybindingsRegistry.registerCommandAndKeybindingRule({
467
467
  id: 'scm.acceptInput',
468
- metadata: { description: ( localize(2915, "Source Control: Accept Input")), args: [] },
468
+ metadata: { description: ( localize(2435, "Source Control: Accept Input")), args: [] },
469
469
  weight: 200 ,
470
470
  when: ( (ContextKeyExpr.has('scmRepository'))),
471
471
  primary: 2048 | 3 ,
@@ -505,7 +505,7 @@ KeybindingsRegistry.registerCommandAndKeybindingRule({
505
505
  }
506
506
  });
507
507
  const viewNextCommitCommand = {
508
- description: { description: ( localize(2916, "Source Control: View Next Commit")), args: [] },
508
+ description: { description: ( localize(2436, "Source Control: View Next Commit")), args: [] },
509
509
  weight: 200 ,
510
510
  handler: (accessor) => {
511
511
  const contextKeyService = accessor.get(IContextKeyService);
@@ -517,7 +517,7 @@ const viewNextCommitCommand = {
517
517
  }
518
518
  };
519
519
  const viewPreviousCommitCommand = {
520
- description: { description: ( localize(2917, "Source Control: View Previous Commit")), args: [] },
520
+ description: { description: ( localize(2437, "Source Control: View Previous Commit")), args: [] },
521
521
  weight: 200 ,
522
522
  handler: (accessor) => {
523
523
  const contextKeyService = accessor.get(IContextKeyService);
@@ -594,7 +594,7 @@ MenuRegistry.appendMenuItem(MenuId.SCMSourceControl, {
594
594
  group: '100_end',
595
595
  command: {
596
596
  id: 'scm.openInTerminal',
597
- title: ( localize(2918, "Open in External Terminal"))
597
+ title: ( localize(2438, "Open in External Terminal"))
598
598
  },
599
599
  when: ( (ContextKeyExpr.and(
600
600
  (ContextKeyExpr.equals('scmProviderHasRootUri', true)),
@@ -608,7 +608,7 @@ MenuRegistry.appendMenuItem(MenuId.SCMSourceControl, {
608
608
  group: '100_end',
609
609
  command: {
610
610
  id: 'scm.openInIntegratedTerminal',
611
- title: ( localize(2919, "Open in Integrated Terminal"))
611
+ title: ( localize(2439, "Open in Integrated Terminal"))
612
612
  },
613
613
  when: ( (ContextKeyExpr.and(
614
614
  (ContextKeyExpr.equals('scmProviderHasRootUri', true)),
@@ -103,23 +103,23 @@ class SCMHistoryItemRefsActionViewItem extends ActionViewItem {
103
103
  icon.classList.add(...ThemeIcon.asClassNameArray(Codicon.gitBranch));
104
104
  const name = $('.name');
105
105
  if (this._historyItemsFilter === 'all') {
106
- name.textContent = ( localize(6334, "All"));
106
+ name.textContent = ( localize(6337, "All"));
107
107
  }
108
108
  else if (this._historyItemsFilter === 'auto') {
109
- name.textContent = ( localize(6335, "Auto"));
109
+ name.textContent = ( localize(6338, "Auto"));
110
110
  }
111
111
  else if (this._historyItemsFilter.length === 1) {
112
112
  name.textContent = this._historyItemsFilter[0].name;
113
113
  }
114
114
  else {
115
- name.textContent = ( localize(6336, "{0} Items", this._historyItemsFilter.length));
115
+ name.textContent = ( localize(6339, "{0} Items", this._historyItemsFilter.length));
116
116
  }
117
117
  reset(this.label, icon, name);
118
118
  }
119
119
  }
120
120
  getTooltip() {
121
121
  if (this._historyItemsFilter === 'all') {
122
- return ( localize(6337, "All history item references"));
122
+ return ( localize(6340, "All history item references"));
123
123
  }
124
124
  else if (this._historyItemsFilter === 'auto') {
125
125
  const historyProvider = this._repository.provider.historyProvider.get();
@@ -141,7 +141,7 @@ registerAction2(class extends ViewAction {
141
141
  constructor() {
142
142
  super({
143
143
  id: PICK_REPOSITORY_ACTION_ID,
144
- title: ( localize(6338, "Repository Picker")),
144
+ title: ( localize(6341, "Repository Picker")),
145
145
  viewId: HISTORY_VIEW_PANE_ID,
146
146
  f1: false,
147
147
  menu: {
@@ -163,7 +163,7 @@ registerAction2(class extends ViewAction {
163
163
  constructor() {
164
164
  super({
165
165
  id: PICK_HISTORY_ITEM_REFS_ACTION_ID,
166
- title: ( localize(6339, "History Item Reference Picker")),
166
+ title: ( localize(6342, "History Item Reference Picker")),
167
167
  icon: Codicon.gitBranch,
168
168
  viewId: HISTORY_VIEW_PANE_ID,
169
169
  precondition: ( (ContextKeys.SCMHistoryItemCount.notEqualsTo(0))),
@@ -183,7 +183,7 @@ registerAction2(class extends ViewAction {
183
183
  constructor() {
184
184
  super({
185
185
  id: 'workbench.scm.action.graph.revealCurrentHistoryItem',
186
- title: ( localize(6340, "Go to Current History Item")),
186
+ title: ( localize(6343, "Go to Current History Item")),
187
187
  icon: Codicon.target,
188
188
  viewId: HISTORY_VIEW_PANE_ID,
189
189
  precondition: ( (ContextKeys.SCMHistoryItemCount.notEqualsTo(0))),
@@ -203,7 +203,7 @@ registerAction2(class extends ViewAction {
203
203
  constructor() {
204
204
  super({
205
205
  id: 'workbench.scm.action.graph.refresh',
206
- title: ( localize(6341, "Refresh")),
206
+ title: ( localize(6344, "Refresh")),
207
207
  viewId: HISTORY_VIEW_PANE_ID,
208
208
  f1: false,
209
209
  icon: Codicon.refresh,
@@ -222,7 +222,7 @@ registerAction2(class extends Action2 {
222
222
  constructor() {
223
223
  super({
224
224
  id: 'workbench.scm.action.graph.viewChanges',
225
- title: ( localize(6342, "View Changes")),
225
+ title: ( localize(6345, "View Changes")),
226
226
  f1: false,
227
227
  menu: [
228
228
  {
@@ -255,7 +255,7 @@ registerAction2(class extends Action2 {
255
255
  const title = historyItems.length === 1 ?
256
256
  getHistoryItemEditorTitle(historyItem) :
257
257
  ( localize(
258
- 6343,
258
+ 6346,
259
259
  "All Changes ({0} ↔ {1})",
260
260
  historyItemLast.displayId ?? historyItemLast.id,
261
261
  historyItem.displayId ?? historyItem.id
@@ -329,39 +329,53 @@ let HistoryItemRenderer = class HistoryItemRenderer {
329
329
  _renderBadges(historyItem, templateData) {
330
330
  templateData.elementDisposables.add(autorun(reader => {
331
331
  const labelConfig = this._badgesConfig.read(reader);
332
- const firstColoredRef = historyItem.references?.find(ref => ref.color);
333
332
  templateData.labelContainer.textContent = '';
334
- const historyItemRefsByColor = groupBy((historyItem.references ?? []), ref => ref.color ? ref.color : '');
333
+ const references = historyItem.references ?
334
+ historyItem.references.slice(0) : [];
335
+ if (references.length > 0 && references[0].color) {
336
+ this._renderBadge([references[0]], true, templateData);
337
+ references.splice(0, 1);
338
+ }
339
+ const historyItemRefsByColor = groupBy(references, ref => ref.color ? ref.color : '');
335
340
  for (const [key, historyItemRefs] of Object.entries(historyItemRefsByColor)) {
336
341
  if (key === '' && labelConfig !== 'all') {
337
342
  continue;
338
343
  }
339
344
  const historyItemRefByIconId = groupBy(historyItemRefs, ref => ThemeIcon.isThemeIcon(ref.icon) ? ref.icon.id : '');
340
345
  for (const [key, historyItemRefs] of Object.entries(historyItemRefByIconId)) {
341
- if (key === '' || historyItemRefs.length === 0) {
346
+ if (key === '') {
342
347
  continue;
343
348
  }
344
- this._renderBadge(historyItemRefs[0], historyItemRefs[0] === firstColoredRef, templateData);
349
+ this._renderBadge(historyItemRefs, false, templateData);
345
350
  }
346
351
  }
347
352
  }));
348
353
  }
349
- _renderBadge(historyItemRef, showDescription, templateData) {
350
- if (!ThemeIcon.isThemeIcon(historyItemRef.icon)) {
354
+ _renderBadge(historyItemRefs, showDescription, templateData) {
355
+ if (historyItemRefs.length === 0 || !ThemeIcon.isThemeIcon(historyItemRefs[0].icon)) {
351
356
  return;
352
357
  }
353
358
  const elements = h('div.label', {
354
359
  style: {
355
- color: historyItemRef.color ? asCssVariable(historyItemHoverLabelForeground) : asCssVariable(foreground),
356
- backgroundColor: historyItemRef.color ? asCssVariable(historyItemRef.color) : asCssVariable(historyItemHoverDefaultLabelBackground)
360
+ color: historyItemRefs[0].color ? asCssVariable(historyItemHoverLabelForeground) : asCssVariable(foreground),
361
+ backgroundColor: historyItemRefs[0].color ? asCssVariable(historyItemRefs[0].color) : asCssVariable(historyItemHoverDefaultLabelBackground)
357
362
  }
358
363
  }, [
364
+ h('div.count@count', {
365
+ style: {
366
+ display: historyItemRefs.length > 1 ? '' : 'none'
367
+ }
368
+ }),
359
369
  h('div.icon@icon'),
360
- h('div.description@description')
370
+ h('div.description@description', {
371
+ style: {
372
+ display: showDescription ? '' : 'none'
373
+ }
374
+ })
361
375
  ]);
362
- elements.icon.classList.add(...ThemeIcon.asClassNameArray(historyItemRef.icon));
363
- elements.description.textContent = historyItemRef.name;
364
- elements.description.style.display = showDescription ? '' : 'none';
376
+ elements.count.textContent = historyItemRefs.length > 1 ? ( (historyItemRefs.length.toString())) : '';
377
+ elements.icon.classList.add(...ThemeIcon.asClassNameArray(historyItemRefs[0].icon));
378
+ elements.description.textContent = showDescription ? historyItemRefs[0].name : '';
365
379
  append(templateData.labelContainer, elements.root);
366
380
  }
367
381
  _getHoverActions(historyItem) {
@@ -375,7 +389,7 @@ let HistoryItemRenderer = class HistoryItemRenderer {
375
389
  {
376
390
  commandId: 'workbench.scm.action.graph.copyHistoryItemMessage',
377
391
  iconClass: 'codicon.codicon-copy',
378
- label: ( localize(6344, "Message")),
392
+ label: ( localize(6347, "Message")),
379
393
  run: () => this._clipboardService.writeText(historyItem.message)
380
394
  }
381
395
  ];
@@ -396,19 +410,19 @@ let HistoryItemRenderer = class HistoryItemRenderer {
396
410
  if (historyItem.statistics) {
397
411
  markdown.appendMarkdown(`---\n\n`);
398
412
  markdown.appendMarkdown(`<span>${historyItem.statistics.files === 1 ?
399
- ( localize(6345, "{0} file changed", historyItem.statistics.files)) :
400
- ( localize(6346, "{0} files changed", historyItem.statistics.files))}</span>`);
413
+ ( localize(6348, "{0} file changed", historyItem.statistics.files)) :
414
+ ( localize(6349, "{0} files changed", historyItem.statistics.files))}</span>`);
401
415
  if (historyItem.statistics.insertions) {
402
416
  const additionsForegroundColor = colorTheme.getColor(historyItemHoverAdditionsForeground);
403
417
  markdown.appendMarkdown(`,&nbsp;<span style="color:${additionsForegroundColor};">${historyItem.statistics.insertions === 1 ?
404
- ( localize(6347, "{0} insertion{1}", historyItem.statistics.insertions, '(+)')) :
405
- ( localize(6348, "{0} insertions{1}", historyItem.statistics.insertions, '(+)'))}</span>`);
418
+ ( localize(6350, "{0} insertion{1}", historyItem.statistics.insertions, '(+)')) :
419
+ ( localize(6351, "{0} insertions{1}", historyItem.statistics.insertions, '(+)'))}</span>`);
406
420
  }
407
421
  if (historyItem.statistics.deletions) {
408
422
  const deletionsForegroundColor = colorTheme.getColor(historyItemHoverDeletionsForeground);
409
423
  markdown.appendMarkdown(`,&nbsp;<span style="color:${deletionsForegroundColor};">${historyItem.statistics.deletions === 1 ?
410
- ( localize(6349, "{0} deletion{1}", historyItem.statistics.deletions, '(-)')) :
411
- ( localize(6350, "{0} deletions{1}", historyItem.statistics.deletions, '(-)'))}</span>`);
424
+ ( localize(6352, "{0} deletion{1}", historyItem.statistics.deletions, '(-)')) :
425
+ ( localize(6353, "{0} deletions{1}", historyItem.statistics.deletions, '(-)'))}</span>`);
412
426
  }
413
427
  }
414
428
  if ((historyItem.references ?? []).length > 0) {
@@ -475,7 +489,7 @@ let HistoryItemLoadMoreRenderer = class HistoryItemLoadMoreRenderer {
475
489
  templateData.elementDisposables.add(autorun(reader => {
476
490
  const isLoadingMore = this._isLoadingMore.read(reader);
477
491
  const icon = `$(${isLoadingMore ? 'loading~spin' : 'fold-down'})`;
478
- templateData.historyItemPlaceholderLabel.setLabel(( localize(6351, "{0} Load More...", icon)));
492
+ templateData.historyItemPlaceholderLabel.setLabel(( localize(6354, "{0} Load More...", icon)));
479
493
  }));
480
494
  }
481
495
  }
@@ -529,7 +543,7 @@ SCMHistoryViewPaneActionRunner = ( (__decorate([
529
543
  ], SCMHistoryViewPaneActionRunner)));
530
544
  class SCMHistoryTreeAccessibilityProvider {
531
545
  getWidgetAriaLabel() {
532
- return ( localize(6352, "Source Control History"));
546
+ return ( localize(6355, "Source Control History"));
533
547
  }
534
548
  getAriaLabel(element) {
535
549
  if (isSCMRepository(element)) {
@@ -835,8 +849,8 @@ let RepositoryPicker = class RepositoryPicker extends Disposable {
835
849
  this._quickInputService = _quickInputService;
836
850
  this._scmViewService = _scmViewService;
837
851
  this._autoQuickPickItem = {
838
- label: ( localize(6335, "Auto")),
839
- description: ( localize(6353, "Show the source control graph for the active repository")),
852
+ label: ( localize(6338, "Auto")),
853
+ description: ( localize(6356, "Show the source control graph for the active repository")),
840
854
  repository: 'auto'
841
855
  };
842
856
  }
@@ -852,7 +866,7 @@ let RepositoryPicker = class RepositoryPicker extends Disposable {
852
866
  repository: r
853
867
  })))));
854
868
  return this._quickInputService.pick(picks, {
855
- placeHolder: ( localize(6354, "Select the repository to view, type to filter all repositories"))
869
+ placeHolder: ( localize(6357, "Select the repository to view, type to filter all repositories"))
856
870
  });
857
871
  }
858
872
  };
@@ -868,21 +882,21 @@ let HistoryItemRefPicker = class HistoryItemRefPicker extends Disposable {
868
882
  this._quickInputService = _quickInputService;
869
883
  this._allQuickPickItem = {
870
884
  id: 'all',
871
- label: ( localize(6334, "All")),
872
- description: ( localize(6337, "All history item references")),
885
+ label: ( localize(6337, "All")),
886
+ description: ( localize(6340, "All history item references")),
873
887
  historyItemRef: 'all'
874
888
  };
875
889
  this._autoQuickPickItem = {
876
890
  id: 'auto',
877
- label: ( localize(6335, "Auto")),
878
- description: ( localize(6355, "Current history item reference(s)")),
891
+ label: ( localize(6338, "Auto")),
892
+ description: ( localize(6358, "Current history item reference(s)")),
879
893
  historyItemRef: 'auto'
880
894
  };
881
895
  }
882
896
  async pickHistoryItemRef() {
883
897
  const quickPick = this._quickInputService.createQuickPick({ useSeparators: true });
884
898
  this._store.add(quickPick);
885
- quickPick.placeholder = ( localize(6356, "Select one/more history item references to view, type to filter"));
899
+ quickPick.placeholder = ( localize(6359, "Select one/more history item references to view, type to filter"));
886
900
  quickPick.canSelectMany = true;
887
901
  quickPick.hideCheckAll = true;
888
902
  quickPick.busy = true;
@@ -1011,7 +1025,7 @@ let SCMHistoryViewPane = class SCMHistoryViewPane extends ViewPane {
1011
1025
  container.appendChild(element.root);
1012
1026
  this._register(this.hoverService.setupManagedHover(getDefaultHoverDelegate('mouse'), element.root, {
1013
1027
  markdown: {
1014
- value: ( localize(6357, "Please refresh the graph using the refresh action ($(refresh)).")),
1028
+ value: ( localize(6360, "Please refresh the graph using the refresh action ($(refresh)).")),
1015
1029
  supportThemeIcons: true
1016
1030
  },
1017
1031
  markdownNotSupportedFallback: undefined
@@ -1162,7 +1176,7 @@ let SCMHistoryViewPane = class SCMHistoryViewPane extends ViewPane {
1162
1176
  if (Array.isArray(historyItemFilter) &&
1163
1177
  !historyItemFilter.find(ref => ref.id === historyItemRef.id)) {
1164
1178
  this._notificationService.info(( localize(
1165
- 6358,
1179
+ 6361,
1166
1180
  "The current history item is not present in the source control graph. Please use the history item references picker to expand the set of history items in the graph."
1167
1181
  )));
1168
1182
  return;
@@ -58,7 +58,7 @@ let SCMRepositoriesViewPane = class SCMRepositoriesViewPane extends ViewPane {
58
58
  return r.provider.label;
59
59
  },
60
60
  getWidgetAriaLabel() {
61
- return ( localize(6314, "Source Control Repositories"));
61
+ return ( localize(6311, "Source Control Repositories"));
62
62
  }
63
63
  }
64
64
  });
@@ -4,7 +4,8 @@ import { Emitter, Event } from 'vscode/vscode/vs/base/common/event';
4
4
  import { basename, dirname } from 'vscode/vscode/vs/base/common/resources';
5
5
  import { Disposable, DisposableStore, toDisposable, combinedDisposable, MutableDisposable, dispose, DisposableMap } from 'vscode/vscode/vs/base/common/lifecycle';
6
6
  import { ViewAction, ViewPane } from 'vscode/vscode/vs/workbench/browser/parts/views/viewPane';
7
- import { append, $, asCSSUrl, Dimension, trackFocus, isPointerEvent, isActiveElement, clearNode } from 'vscode/vscode/vs/base/browser/dom';
7
+ import { append, $, Dimension, trackFocus, isPointerEvent, isActiveElement, clearNode } from 'vscode/vscode/vs/base/browser/dom';
8
+ import { asCSSUrl } from 'vscode/vscode/vs/base/browser/cssValue';
8
9
  import { VIEW_PANE_ID, SCMInputChangeReason } from 'vscode/vscode/vs/workbench/contrib/scm/common/scm';
9
10
  import { ISCMViewService, ISCMService } from 'vscode/vscode/vs/workbench/contrib/scm/common/scm.service';
10
11
  import { ResourceLabels } from 'vscode/vscode/vs/workbench/browser/labels';
@@ -714,7 +715,7 @@ let SCMAccessibilityProvider = class SCMAccessibilityProvider {
714
715
  this.labelService = labelService;
715
716
  }
716
717
  getWidgetAriaLabel() {
717
- return ( localize(6317, "Source Control Management"));
718
+ return ( localize(6294, "Source Control Management"));
718
719
  }
719
720
  getAriaLabel(element) {
720
721
  if (ResourceTree.isResourceNode(element)) {
@@ -724,7 +725,7 @@ let SCMAccessibilityProvider = class SCMAccessibilityProvider {
724
725
  return `${element.provider.name} ${element.provider.label}`;
725
726
  }
726
727
  else if (isSCMInput(element)) {
727
- return ( localize(6318, "Source Control Input"));
728
+ return ( localize(6295, "Source Control Input"));
728
729
  }
729
730
  else if (isSCMActionButton(element)) {
730
731
  return element.button?.command.title ?? '';
@@ -772,7 +773,7 @@ const ContextKeys = {
772
773
  }
773
774
  };
774
775
  MenuRegistry.appendMenuItem(MenuId.SCMTitle, {
775
- title: ( localize(6319, "View & Sort")),
776
+ title: ( localize(6296, "View & Sort")),
776
777
  submenu: Menus.ViewSort,
777
778
  when: ( (ContextKeyExpr.and(
778
779
  (ContextKeyExpr.equals('view', VIEW_PANE_ID)),
@@ -782,7 +783,7 @@ MenuRegistry.appendMenuItem(MenuId.SCMTitle, {
782
783
  order: 1
783
784
  });
784
785
  MenuRegistry.appendMenuItem(Menus.ViewSort, {
785
- title: ( localize(6320, "Repositories")),
786
+ title: ( localize(6297, "Repositories")),
786
787
  submenu: Menus.Repositories,
787
788
  when: ContextKeyExpr.greater(ContextKeys.RepositoryCount.key, 1),
788
789
  group: '0_repositories'
@@ -875,7 +876,7 @@ class SetListViewModeAction extends ViewAction {
875
876
  constructor(id = 'workbench.scm.action.setListViewMode', menu = {}) {
876
877
  super({
877
878
  id,
878
- title: ( localize(6321, "View as List")),
879
+ title: ( localize(6298, "View as List")),
879
880
  viewId: VIEW_PANE_ID,
880
881
  f1: false,
881
882
  icon: Codicon.listTree,
@@ -905,7 +906,7 @@ class SetTreeViewModeAction extends ViewAction {
905
906
  constructor(id = 'workbench.scm.action.setTreeViewMode', menu = {}) {
906
907
  super({
907
908
  id,
908
- title: ( localize(6322, "View as Tree")),
909
+ title: ( localize(6299, "View as Tree")),
909
910
  viewId: VIEW_PANE_ID,
910
911
  f1: false,
911
912
  icon: Codicon.listFlat,
@@ -962,17 +963,17 @@ class RepositorySortAction extends ViewAction {
962
963
  }
963
964
  class RepositorySortByDiscoveryTimeAction extends RepositorySortAction {
964
965
  constructor() {
965
- super("discoveryTime" , ( localize(6323, "Sort by Discovery Time")));
966
+ super("discoveryTime" , ( localize(6300, "Sort by Discovery Time")));
966
967
  }
967
968
  }
968
969
  class RepositorySortByNameAction extends RepositorySortAction {
969
970
  constructor() {
970
- super("name" , ( localize(6324, "Sort by Name")));
971
+ super("name" , ( localize(6301, "Sort by Name")));
971
972
  }
972
973
  }
973
974
  class RepositorySortByPathAction extends RepositorySortAction {
974
975
  constructor() {
975
- super("path" , ( localize(6325, "Sort by Path")));
976
+ super("path" , ( localize(6302, "Sort by Path")));
976
977
  }
977
978
  }
978
979
  registerAction2(RepositorySortByDiscoveryTimeAction);
@@ -997,17 +998,17 @@ class SetSortKeyAction extends ViewAction {
997
998
  }
998
999
  class SetSortByNameAction extends SetSortKeyAction {
999
1000
  constructor() {
1000
- super("name" , ( localize(6326, "Sort Changes by Name")));
1001
+ super("name" , ( localize(6303, "Sort Changes by Name")));
1001
1002
  }
1002
1003
  }
1003
1004
  class SetSortByPathAction extends SetSortKeyAction {
1004
1005
  constructor() {
1005
- super("path" , ( localize(6327, "Sort Changes by Path")));
1006
+ super("path" , ( localize(6304, "Sort Changes by Path")));
1006
1007
  }
1007
1008
  }
1008
1009
  class SetSortByStatusAction extends SetSortKeyAction {
1009
1010
  constructor() {
1010
- super("status" , ( localize(6328, "Sort Changes by Status")));
1011
+ super("status" , ( localize(6305, "Sort Changes by Status")));
1011
1012
  }
1012
1013
  }
1013
1014
  registerAction2(SetSortByNameAction);
@@ -1017,7 +1018,7 @@ class CollapseAllRepositoriesAction extends ViewAction {
1017
1018
  constructor() {
1018
1019
  super({
1019
1020
  id: `workbench.scm.action.collapseAllRepositories`,
1020
- title: ( localize(6329, "Collapse All Repositories")),
1021
+ title: ( localize(6306, "Collapse All Repositories")),
1021
1022
  viewId: VIEW_PANE_ID,
1022
1023
  f1: false,
1023
1024
  icon: Codicon.collapseAll,
@@ -1040,7 +1041,7 @@ class ExpandAllRepositoriesAction extends ViewAction {
1040
1041
  constructor() {
1041
1042
  super({
1042
1043
  id: `workbench.scm.action.expandAllRepositories`,
1043
- title: ( localize(6330, "Expand All Repositories")),
1044
+ title: ( localize(6307, "Expand All Repositories")),
1044
1045
  viewId: VIEW_PANE_ID,
1045
1046
  f1: false,
1046
1047
  icon: Codicon.expandAll,
@@ -1111,10 +1112,10 @@ let SCMInputWidgetToolbar = class SCMInputWidgetToolbar extends WorkbenchToolBar
1111
1112
  this._onDidChange = ( (new Emitter()));
1112
1113
  this.onDidChange = this._onDidChange.event;
1113
1114
  this._disposables = this._register(( (new MutableDisposable())));
1114
- this._dropdownAction = ( (new Action('scmInputMoreActions', ( localize(6331, "More Actions...")), 'codicon-chevron-down')));
1115
+ this._dropdownAction = ( (new Action('scmInputMoreActions', ( localize(6308, "More Actions...")), 'codicon-chevron-down')));
1115
1116
  this._cancelAction = ( (new MenuItemAction({
1116
1117
  id: "scm.input.cancelAction" ,
1117
- title: ( localize(6332, "Cancel")),
1118
+ title: ( localize(6309, "Cancel")),
1118
1119
  icon: Codicon.debugStop,
1119
1120
  }, undefined, undefined, undefined, undefined, contextKeyService, commandService)));
1120
1121
  }
@@ -1470,7 +1471,7 @@ let SCMInputWidget = class SCMInputWidget {
1470
1471
  this.disposables.add(this.toolbar);
1471
1472
  }
1472
1473
  getContentHeight() {
1473
- const lineHeight = this.inputEditor.getOption(69 );
1474
+ const lineHeight = this.inputEditor.getOption(68 );
1474
1475
  const { top, bottom } = this.inputEditor.getOption(86 );
1475
1476
  const inputMinLinesConfig = this.configurationService.getValue('scm.inputMinLineCount');
1476
1477
  const inputMinLines = typeof inputMinLinesConfig === 'number' ? clamp(inputMinLinesConfig, 1, 50) : 1;
@@ -1564,7 +1565,7 @@ let SCMInputWidget = class SCMInputWidget {
1564
1565
  }
1565
1566
  const actionsContainer = append(validationContainer, $('.scm-editor-validation-actions'));
1566
1567
  const actionbar = ( (new ActionBar(actionsContainer)));
1567
- const action = ( (new Action('scmInputWidget.validationMessage.close', ( localize(6333, "Close")), ThemeIcon.asClassName(Codicon.close), true, () => {
1568
+ const action = ( (new Action('scmInputWidget.validationMessage.close', ( localize(6310, "Close")), ThemeIcon.asClassName(Codicon.close), true, () => {
1568
1569
  this.contextViewService.hideContextView();
1569
1570
  this.element.style.borderBottomLeftRadius = '2px';
1570
1571
  this.element.style.borderBottomRightRadius = '2px';
@@ -1928,7 +1929,10 @@ let SCMViewPane = class SCMViewPane extends ViewPane {
1928
1929
  onDidChangeVisibleRepositories({ added, removed }) {
1929
1930
  for (const repository of added) {
1930
1931
  const repositoryDisposables = ( (new DisposableStore()));
1931
- repositoryDisposables.add(repository.provider.onDidChange(() => this.updateChildren(repository)));
1932
+ repositoryDisposables.add(autorun(reader => {
1933
+ repository.provider.actionButton.read(reader);
1934
+ this.updateChildren(repository);
1935
+ }));
1932
1936
  repositoryDisposables.add(repository.input.onDidChangeVisibility(() => this.updateChildren(repository)));
1933
1937
  repositoryDisposables.add(repository.provider.onDidChangeResourceGroups(() => this.updateChildren(repository)));
1934
1938
  const resourceGroupDisposables = repositoryDisposables.add(( (new DisposableMap())));
@@ -2266,7 +2270,7 @@ let SCMTreeDataSource = class SCMTreeDataSource extends Disposable {
2266
2270
  else if ((isSCMViewService(inputOrElement) && repositoryCount === 1 && !alwaysShowRepositories) || isSCMRepository(inputOrElement)) {
2267
2271
  const children = [];
2268
2272
  inputOrElement = isSCMRepository(inputOrElement) ? inputOrElement : this.scmViewService.visibleRepositories[0];
2269
- const actionButton = inputOrElement.provider.actionButton;
2273
+ const actionButton = inputOrElement.provider.actionButton.get();
2270
2274
  const resourceGroups = inputOrElement.provider.groups;
2271
2275
  if (inputOrElement.input.visible) {
2272
2276
  children.push(inputOrElement.input);
@@ -2422,13 +2426,13 @@ class SCMActionButton {
2422
2426
  else {
2423
2427
  this.button = ( (new Button(
2424
2428
  this.container,
2425
- { supportIcons: true, supportShortLabel: !!button.description, title: button.command.tooltip, ...defaultButtonStyles }
2429
+ { supportIcons: true, supportShortLabel: !!button.command.shortTitle, title: button.command.tooltip, ...defaultButtonStyles }
2426
2430
  )));
2427
2431
  }
2428
2432
  this.button.enabled = button.enabled;
2429
2433
  this.button.label = button.command.title;
2430
- if (this.button instanceof Button && button.description) {
2431
- this.button.labelShort = button.description;
2434
+ if (this.button instanceof Button && button.command.shortTitle) {
2435
+ this.button.labelShort = button.command.shortTitle;
2432
2436
  }
2433
2437
  this.button.onDidClick(async () => await this.executeCommand(button.command.id, ...(button.command.arguments || [])), null, this.disposables.value);
2434
2438
  this.disposables.value.add(this.button);
@@ -36,7 +36,7 @@ let SCMViewPaneContainer = class SCMViewPaneContainer extends ViewPaneContainer
36
36
  return super.getTitle();
37
37
  }
38
38
  }
39
- return ( localize(6313, "Source Control"));
39
+ return ( localize(6293, "Source Control"));
40
40
  }
41
41
  };
42
42
  SCMViewPaneContainer = ( (__decorate([
@@ -118,10 +118,17 @@ let SCMViewService = class SCMViewService {
118
118
  }, 0, undefined, undefined, undefined, this.disposables));
119
119
  this._onDidFocusRepository = ( new Emitter());
120
120
  this.onDidFocusRepository = this._onDidFocusRepository.event;
121
- this._focusedRepository = observableFromEventOpts({ owner: this, equalsFn: () => false }, this.onDidFocusRepository, () => this.focusedRepository);
122
- this._activeEditor = observableFromEventOpts({ owner: this, equalsFn: () => false }, this.editorService.onDidActiveEditorChange, () => this.editorService.activeEditor);
121
+ this._focusedRepository = observableFromEventOpts({
122
+ owner: this,
123
+ equalsFn: () => false
124
+ }, this.onDidFocusRepository, () => this.focusedRepository);
125
+ this._activeEditor = observableFromEventOpts({
126
+ owner: this,
127
+ equalsFn: () => false
128
+ }, this.editorService.onDidActiveEditorChange, () => this.editorService.activeEditor);
123
129
  this._activeEditorRepository = derivedObservableWithCache(this, (reader, lastValue) => {
124
- const activeResource = EditorResourceAccessor.getOriginalUri(this._activeEditor.read(reader));
130
+ const activeEditor = this._activeEditor.read(reader);
131
+ const activeResource = EditorResourceAccessor.getOriginalUri(activeEditor);
125
132
  if (!activeResource) {
126
133
  return lastValue;
127
134
  }