@codingame/monaco-vscode-scm-service-override 1.85.6 → 2.0.0-v2.1
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 +4 -4
- package/scm.js +1 -1
- package/vscode/src/vs/workbench/contrib/scm/browser/activity.js +9 -9
- package/vscode/src/vs/workbench/contrib/scm/browser/menus.js +9 -9
- package/vscode/src/vs/workbench/contrib/scm/browser/scm.contribution.js +13 -13
- package/vscode/src/vs/workbench/contrib/scm/browser/scmRepositoriesViewPane.js +14 -14
- package/vscode/src/vs/workbench/contrib/scm/browser/scmRepositoryRenderer.js +7 -7
- package/vscode/src/vs/workbench/contrib/scm/browser/scmViewPane.js +67 -67
- package/vscode/src/vs/workbench/contrib/scm/browser/scmViewPaneContainer.js +8 -8
- package/vscode/src/vs/workbench/contrib/scm/browser/scmViewService.js +12 -12
- package/vscode/src/vs/workbench/contrib/scm/browser/util.js +9 -9
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiffService.js +5 -5
- package/vscode/src/vs/workbench/contrib/scm/common/scmService.js +10 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-scm-service-override",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-v2.1",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
12
|
-
"url": "git
|
|
12
|
+
"url": "git@github.com:CodinGame/monaco-vscode-api.git"
|
|
13
13
|
},
|
|
14
14
|
"type": "module",
|
|
15
15
|
"private": false,
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"module": "index.js",
|
|
19
19
|
"types": "index.d.ts",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"vscode": "npm:@codingame/monaco-vscode-api@
|
|
22
|
-
"
|
|
21
|
+
"vscode": "npm:@codingame/monaco-vscode-api@2.0.0-v2.1",
|
|
22
|
+
"vscode-marked": "npm:marked@=3.0.2"
|
|
23
23
|
}
|
|
24
24
|
}
|
package/scm.js
CHANGED
|
@@ -4,7 +4,7 @@ import { SCMViewService } from './vscode/src/vs/workbench/contrib/scm/browser/sc
|
|
|
4
4
|
import { IQuickDiffService } from 'vscode/vscode/vs/workbench/contrib/scm/common/quickDiff';
|
|
5
5
|
import { QuickDiffService } from './vscode/src/vs/workbench/contrib/scm/common/quickDiffService.js';
|
|
6
6
|
import './vscode/src/vs/workbench/contrib/scm/browser/scm.contribution.js';
|
|
7
|
-
import { SyncDescriptor } from '
|
|
7
|
+
import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
|
|
8
8
|
|
|
9
9
|
function getServiceOverride() {
|
|
10
10
|
return {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { localizeWithPath } from '
|
|
3
|
-
import { basename } from '
|
|
4
|
-
import { Disposable, MutableDisposable, DisposableStore, combinedDisposable, dispose } from '
|
|
5
|
-
import { Event } from '
|
|
2
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
3
|
+
import { basename } from 'vscode/vscode/vs/base/common/resources';
|
|
4
|
+
import { Disposable, MutableDisposable, DisposableStore, combinedDisposable, dispose } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
5
|
+
import { Event } from 'vscode/vscode/vs/base/common/event';
|
|
6
6
|
import { VIEW_PANE_ID, ISCMService, ISCMViewService } from 'vscode/vscode/vs/workbench/contrib/scm/common/scm';
|
|
7
7
|
import { NumberBadge, IActivityService } from 'vscode/vscode/vs/workbench/services/activity/common/activity';
|
|
8
|
-
import { IContextKeyService } from '
|
|
8
|
+
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
9
9
|
import { IStatusbarService } from 'vscode/vscode/vs/workbench/services/statusbar/browser/statusbar';
|
|
10
10
|
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
|
|
11
|
-
import { IConfigurationService } from '
|
|
11
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
12
12
|
import { EditorResourceAccessor } from 'vscode/vscode/vs/workbench/common/editor';
|
|
13
|
-
import { IUriIdentityService } from '
|
|
14
|
-
import { Schemas } from '
|
|
15
|
-
import { Iterable } from '
|
|
13
|
+
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity';
|
|
14
|
+
import { Schemas } from 'vscode/vscode/vs/base/common/network';
|
|
15
|
+
import { Iterable } from 'vscode/vscode/vs/base/common/iterator';
|
|
16
16
|
|
|
17
17
|
function getCount(repository) {
|
|
18
18
|
if (typeof repository.provider.count === 'number') {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
2
|
import './media/scm.css.js';
|
|
3
|
-
import { Emitter } from '
|
|
4
|
-
import { DisposableStore, dispose } from '
|
|
5
|
-
import { IContextKeyService } from '
|
|
6
|
-
import { MenuRegistry, MenuId, IMenuService } from '
|
|
7
|
-
import { createAndFillInActionBarActions } from '
|
|
3
|
+
import { Emitter } from 'vscode/vscode/vs/base/common/event';
|
|
4
|
+
import { DisposableStore, dispose } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
5
|
+
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
6
|
+
import { MenuRegistry, MenuId, IMenuService } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
7
|
+
import { createAndFillInActionBarActions } from 'vscode/vscode/vs/platform/actions/browser/menuEntryActionViewItem';
|
|
8
8
|
import { ISCMService } from 'vscode/vscode/vs/workbench/contrib/scm/common/scm';
|
|
9
|
-
import { equals } from '
|
|
10
|
-
import { IInstantiationService } from '
|
|
11
|
-
import { ServiceCollection } from '
|
|
12
|
-
import { localizeWithPath } from '
|
|
9
|
+
import { equals } from 'vscode/vscode/vs/base/common/arrays';
|
|
10
|
+
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
11
|
+
import { ServiceCollection } from 'vscode/vscode/vs/platform/instantiation/common/serviceCollection';
|
|
12
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
13
13
|
|
|
14
14
|
function actionEquals(a, b) {
|
|
15
15
|
return a.id === b.id;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { localizeWithPath, localize2WithPath } from '
|
|
2
|
-
import { Registry } from '
|
|
1
|
+
import { localizeWithPath, localize2WithPath } from 'vscode/vscode/vs/nls';
|
|
2
|
+
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
3
3
|
import { Extensions } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
4
4
|
import { DirtyDiffWorkbenchController } from 'vscode/vscode/vs/workbench/contrib/scm/browser/dirtydiffDecorator';
|
|
5
5
|
import { VIEWLET_ID, VIEW_PANE_ID, REPOSITORIES_VIEW_PANE_ID, ISCMService } from 'vscode/vscode/vs/workbench/contrib/scm/common/scm';
|
|
6
|
-
import { MenuRegistry, MenuId } from '
|
|
6
|
+
import { MenuRegistry, MenuId } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
7
7
|
import { SCMActiveResourceContextKeyController, SCMStatusController } from './activity.js';
|
|
8
|
-
import { Extensions as Extensions$2 } from '
|
|
9
|
-
import { ContextKeyExpr, IContextKeyService } from '
|
|
10
|
-
import { ICommandService, CommandsRegistry } from '
|
|
11
|
-
import { KeybindingsRegistry } from '
|
|
8
|
+
import { Extensions as Extensions$2 } from 'vscode/vscode/vs/platform/configuration/common/configurationRegistry';
|
|
9
|
+
import { ContextKeyExpr, IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
10
|
+
import { ICommandService, CommandsRegistry } from 'vscode/vscode/vs/platform/commands/common/commands';
|
|
11
|
+
import { KeybindingsRegistry } from 'vscode/vscode/vs/platform/keybinding/common/keybindingsRegistry';
|
|
12
12
|
import { Extensions as Extensions$1 } from 'vscode/vscode/vs/workbench/common/views';
|
|
13
13
|
import { SCMViewPaneContainer } from './scmViewPaneContainer.js';
|
|
14
|
-
import { SyncDescriptor } from '
|
|
15
|
-
import { ModesRegistry } from '
|
|
16
|
-
import { Codicon } from '
|
|
17
|
-
import { registerIcon } from '
|
|
14
|
+
import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
|
|
15
|
+
import { ModesRegistry } from 'vscode/vscode/vs/editor/common/languages/modesRegistry';
|
|
16
|
+
import { Codicon } from 'vscode/vscode/vs/base/common/codicons';
|
|
17
|
+
import { registerIcon } from 'vscode/vscode/vs/platform/theme/common/iconRegistry';
|
|
18
18
|
import { SCMViewPane } from './scmViewPane.js';
|
|
19
19
|
import { SCMRepositoriesViewPane } from './scmRepositoriesViewPane.js';
|
|
20
|
-
import { Context } from '
|
|
21
|
-
import { getActiveElement } from '
|
|
20
|
+
import { Context } from 'vscode/vscode/vs/editor/contrib/suggest/browser/suggest';
|
|
21
|
+
import { getActiveElement } from 'vscode/vscode/vs/base/browser/dom';
|
|
22
22
|
|
|
23
23
|
ModesRegistry.registerLanguage({
|
|
24
24
|
id: 'scminput',
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
2
|
import './media/scm.css.js';
|
|
3
|
-
import { localizeWithPath } from '
|
|
4
|
-
import { Event } from '
|
|
3
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
4
|
+
import { Event } from 'vscode/vscode/vs/base/common/event';
|
|
5
5
|
import { ViewPane } from 'vscode/vscode/vs/workbench/browser/parts/views/viewPane';
|
|
6
|
-
import { append, $ } from '
|
|
6
|
+
import { append, $ } from 'vscode/vscode/vs/base/browser/dom';
|
|
7
7
|
import { ISCMViewService } from 'vscode/vscode/vs/workbench/contrib/scm/common/scm';
|
|
8
|
-
import { IInstantiationService } from '
|
|
9
|
-
import { IContextMenuService } from '
|
|
10
|
-
import { IContextKeyService } from '
|
|
11
|
-
import { IKeybindingService } from '
|
|
12
|
-
import { IThemeService } from '
|
|
13
|
-
import { WorkbenchList } from '
|
|
14
|
-
import { IConfigurationService } from '
|
|
8
|
+
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
9
|
+
import { IContextMenuService } from 'vscode/vscode/vs/platform/contextview/browser/contextView';
|
|
10
|
+
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
11
|
+
import { IKeybindingService } from 'vscode/vscode/vs/platform/keybinding/common/keybinding';
|
|
12
|
+
import { IThemeService } from 'vscode/vscode/vs/platform/theme/common/themeService';
|
|
13
|
+
import { WorkbenchList } from 'vscode/vscode/vs/platform/list/browser/listService';
|
|
14
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
15
15
|
import { IViewDescriptorService } from 'vscode/vscode/vs/workbench/common/views';
|
|
16
16
|
import { SIDE_BAR_BACKGROUND } from 'vscode/vscode/vs/workbench/common/theme';
|
|
17
|
-
import { IOpenerService } from '
|
|
18
|
-
import { ITelemetryService } from '
|
|
17
|
+
import { IOpenerService } from 'vscode/vscode/vs/platform/opener/common/opener';
|
|
18
|
+
import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry';
|
|
19
19
|
import { RepositoryRenderer } from './scmRepositoryRenderer.js';
|
|
20
20
|
import { getActionViewItemProvider, collectContextMenuActions } from './util.js';
|
|
21
|
-
import { Iterable } from '
|
|
22
|
-
import { DisposableStore } from '
|
|
21
|
+
import { Iterable } from 'vscode/vscode/vs/base/common/iterator';
|
|
22
|
+
import { DisposableStore } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
23
23
|
|
|
24
24
|
class ListDelegate {
|
|
25
25
|
getHeight() {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
2
|
import './media/scm.css.js';
|
|
3
|
-
import { combinedDisposable, DisposableStore, toDisposable } from '
|
|
4
|
-
import { append, $ } from '
|
|
3
|
+
import { combinedDisposable, DisposableStore, toDisposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
4
|
+
import { append, $ } from 'vscode/vscode/vs/base/browser/dom';
|
|
5
5
|
import { ISCMViewService } from 'vscode/vscode/vs/workbench/contrib/scm/common/scm';
|
|
6
|
-
import { CountBadge } from '
|
|
7
|
-
import { IContextMenuService } from '
|
|
8
|
-
import { ICommandService } from '
|
|
6
|
+
import { CountBadge } from 'vscode/vscode/vs/base/browser/ui/countBadge/countBadge';
|
|
7
|
+
import { IContextMenuService } from 'vscode/vscode/vs/platform/contextview/browser/contextView';
|
|
8
|
+
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands';
|
|
9
9
|
import { isSCMRepository, connectPrimaryMenu, StatusBarAction } from './util.js';
|
|
10
|
-
import { ToolBar } from '
|
|
11
|
-
import { defaultCountBadgeStyles } from '
|
|
10
|
+
import { ToolBar } from 'vscode/vscode/vs/base/browser/ui/toolbar/toolbar';
|
|
11
|
+
import { defaultCountBadgeStyles } from 'vscode/vscode/vs/platform/theme/browser/defaultStyles';
|
|
12
12
|
|
|
13
13
|
var RepositoryRenderer_1;
|
|
14
14
|
let RepositoryRenderer = class RepositoryRenderer {
|
|
@@ -1,89 +1,89 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
2
|
import './media/scm.css.js';
|
|
3
|
-
import { Event, Emitter } from '
|
|
4
|
-
import { basename, dirname } from '
|
|
5
|
-
import { Disposable, DisposableStore, toDisposable, combinedDisposable, MutableDisposable, DisposableMap, dispose } from '
|
|
3
|
+
import { Event, Emitter } from 'vscode/vscode/vs/base/common/event';
|
|
4
|
+
import { basename, dirname } from 'vscode/vscode/vs/base/common/resources';
|
|
5
|
+
import { Disposable, DisposableStore, toDisposable, combinedDisposable, MutableDisposable, DisposableMap, dispose } 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, prepend, Dimension, trackFocus, clearNode } from '
|
|
7
|
+
import { append, $, asCSSUrl, prepend, Dimension, trackFocus, clearNode } from 'vscode/vscode/vs/base/browser/dom';
|
|
8
8
|
import { VIEW_PANE_ID, SCMInputChangeReason, ISCMViewService, ISCMService, REPOSITORIES_VIEW_PANE_ID } from 'vscode/vscode/vs/workbench/contrib/scm/common/scm';
|
|
9
9
|
import { ResourceLabels } from 'vscode/vscode/vs/workbench/browser/labels';
|
|
10
|
-
import { CountBadge } from '
|
|
10
|
+
import { CountBadge } from 'vscode/vscode/vs/base/browser/ui/countBadge/countBadge';
|
|
11
11
|
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
|
|
12
|
-
import { IInstantiationService } from '
|
|
13
|
-
import { IContextMenuService, IContextViewService } from '
|
|
14
|
-
import { RawContextKey, ContextKeyExpr, IContextKeyService } from '
|
|
15
|
-
import { ICommandService } from '
|
|
16
|
-
import { IKeybindingService } from '
|
|
17
|
-
import { MenuId, MenuRegistry, registerAction2, MenuItemAction, Action2, IMenuService } from '
|
|
18
|
-
import { Action, Separator, ActionRunner } from '
|
|
19
|
-
import { ActionBar } from '
|
|
20
|
-
import { IThemeService } from '
|
|
12
|
+
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
13
|
+
import { IContextMenuService, IContextViewService } from 'vscode/vscode/vs/platform/contextview/browser/contextView';
|
|
14
|
+
import { RawContextKey, ContextKeyExpr, IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
15
|
+
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands';
|
|
16
|
+
import { IKeybindingService } from 'vscode/vscode/vs/platform/keybinding/common/keybinding';
|
|
17
|
+
import { MenuId, MenuRegistry, registerAction2, MenuItemAction, Action2, IMenuService } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
18
|
+
import { Action, Separator, ActionRunner } from 'vscode/vscode/vs/base/common/actions';
|
|
19
|
+
import { ActionBar } from 'vscode/vscode/vs/base/browser/ui/actionbar/actionbar';
|
|
20
|
+
import { IThemeService } from 'vscode/vscode/vs/platform/theme/common/themeService';
|
|
21
21
|
import { connectPrimaryMenuToInlineActionBar, getActionViewItemProvider, isSCMRepository, isSCMResourceGroup, isSCMResourceNode, isSCMHistoryItemChangeNode, isSCMInput, isSCMActionButton, isSCMResource, isSCMHistoryItemGroupTreeElement, isSCMHistoryItemTreeElement, isSCMHistoryItemChangeTreeElement, toDiffEditorArguments, collectContextMenuActions, isSCMViewService, isSCMViewSeparator } from './util.js';
|
|
22
|
-
import { WorkbenchCompressibleAsyncDataTree } from '
|
|
23
|
-
import { IConfigurationService } from '
|
|
24
|
-
import { disposableTimeout, ThrottledDelayer, Sequencer, Throttler } from '
|
|
22
|
+
import { WorkbenchCompressibleAsyncDataTree } from 'vscode/vscode/vs/platform/list/browser/listService';
|
|
23
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
24
|
+
import { disposableTimeout, ThrottledDelayer, Sequencer, Throttler } from 'vscode/vscode/vs/base/common/async';
|
|
25
25
|
import { ResourceTree } from 'vscode/vscode/vs/base/common/resourceTree';
|
|
26
|
-
import { Iterable } from '
|
|
27
|
-
import { URI } from '
|
|
28
|
-
import { FileKind } from '
|
|
29
|
-
import { comparePaths, compareFileNames } from '
|
|
30
|
-
import { createMatches } from '
|
|
26
|
+
import { Iterable } from 'vscode/vscode/vs/base/common/iterator';
|
|
27
|
+
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
28
|
+
import { FileKind } from 'vscode/vscode/vs/platform/files/common/files';
|
|
29
|
+
import { comparePaths, compareFileNames } from 'vscode/vscode/vs/base/common/comparers';
|
|
30
|
+
import { createMatches } from 'vscode/vscode/vs/base/common/filters';
|
|
31
31
|
import { IViewDescriptorService } from 'vscode/vscode/vs/workbench/common/views';
|
|
32
|
-
import { localizeWithPath } from '
|
|
33
|
-
import { flatten } from '
|
|
34
|
-
import { IStorageService } from '
|
|
32
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
33
|
+
import { flatten } from 'vscode/vscode/vs/base/common/arrays';
|
|
34
|
+
import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage';
|
|
35
35
|
import { EditorResourceAccessor, SideBySideEditor } from 'vscode/vscode/vs/workbench/common/editor';
|
|
36
36
|
import { PANEL_BACKGROUND, SIDE_BAR_BACKGROUND } from 'vscode/vscode/vs/workbench/common/theme';
|
|
37
|
-
import { CodeEditorWidget } from '
|
|
37
|
+
import { CodeEditorWidget } from 'vscode/vscode/vs/editor/browser/widget/codeEditorWidget';
|
|
38
38
|
import { getSimpleEditorOptions } from 'vscode/vscode/vs/workbench/contrib/codeEditor/browser/simpleEditorOptions';
|
|
39
|
-
import { IModelService } from '
|
|
40
|
-
import { EditorExtensionsRegistry } from '
|
|
39
|
+
import { IModelService } from 'vscode/vscode/vs/editor/common/services/model';
|
|
40
|
+
import { EditorExtensionsRegistry } from 'vscode/vscode/vs/editor/browser/editorExtensions';
|
|
41
41
|
import { MenuPreventer } from 'vscode/vscode/vs/workbench/contrib/codeEditor/browser/menuPreventer';
|
|
42
42
|
import { SelectionClipboardContributionID } from 'vscode/vscode/vs/workbench/contrib/codeEditor/browser/selectionClipboard';
|
|
43
|
-
import { ContextMenuController } from '
|
|
44
|
-
import
|
|
45
|
-
import { format, compare } from '
|
|
46
|
-
import { SuggestController } from '
|
|
47
|
-
import { SnippetController2 } from '
|
|
48
|
-
import { ServiceCollection } from '
|
|
49
|
-
import { ModesHoverController } from '
|
|
50
|
-
import { ColorDetector } from '
|
|
51
|
-
import { LinkDetector } from '
|
|
52
|
-
import { IOpenerService } from '
|
|
53
|
-
import { ITelemetryService } from '
|
|
54
|
-
import { ILanguageService } from '
|
|
55
|
-
import { ILabelService } from '
|
|
43
|
+
import { ContextMenuController } from 'vscode/vscode/vs/editor/contrib/contextmenu/browser/contextmenu';
|
|
44
|
+
import { isMacintosh } from 'vscode/vscode/vs/base/common/platform';
|
|
45
|
+
import { format, compare } from 'vscode/vscode/vs/base/common/strings';
|
|
46
|
+
import { SuggestController } from 'vscode/vscode/vs/editor/contrib/suggest/browser/suggestController';
|
|
47
|
+
import { SnippetController2 } from 'vscode/vscode/vs/editor/contrib/snippet/browser/snippetController2';
|
|
48
|
+
import { ServiceCollection } from 'vscode/vscode/vs/platform/instantiation/common/serviceCollection';
|
|
49
|
+
import { ModesHoverController } from 'vscode/vscode/vs/editor/contrib/hover/browser/hover';
|
|
50
|
+
import { ColorDetector } from 'vscode/vscode/vs/editor/contrib/colorPicker/browser/colorDetector';
|
|
51
|
+
import { LinkDetector } from 'vscode/vscode/vs/editor/contrib/links/browser/links';
|
|
52
|
+
import { IOpenerService } from 'vscode/vscode/vs/platform/opener/common/opener';
|
|
53
|
+
import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry';
|
|
54
|
+
import { ILanguageService } from 'vscode/vscode/vs/editor/common/languages/language';
|
|
55
|
+
import { ILabelService } from 'vscode/vscode/vs/platform/label/common/label';
|
|
56
56
|
import { DEFAULT_FONT_FAMILY } from 'vscode/vscode/vs/workbench/browser/style';
|
|
57
|
-
import { Codicon } from '
|
|
58
|
-
import { ThemeIcon } from '
|
|
57
|
+
import { Codicon } from 'vscode/vscode/vs/base/common/codicons';
|
|
58
|
+
import { ThemeIcon } from 'vscode/vscode/vs/base/common/themables';
|
|
59
59
|
import { RepositoryRenderer } from './scmRepositoryRenderer.js';
|
|
60
|
-
import { ColorScheme } from '
|
|
60
|
+
import { ColorScheme } from 'vscode/vscode/vs/platform/theme/common/theme';
|
|
61
61
|
import { API_OPEN_EDITOR_COMMAND_ID, API_OPEN_DIFF_EDITOR_COMMAND_ID } from 'vscode/vscode/vs/workbench/browser/parts/editor/editorCommands';
|
|
62
|
-
import { createActionViewItem, createAndFillInContextMenuActions, createAndFillInActionBarActions } from '
|
|
63
|
-
import { MarkdownRenderer, openLinkFromMarkdown } from '
|
|
64
|
-
import { ButtonWithDropdown, Button } from '
|
|
65
|
-
import { INotificationService } from '
|
|
62
|
+
import { createActionViewItem, createAndFillInContextMenuActions, createAndFillInActionBarActions } from 'vscode/vscode/vs/platform/actions/browser/menuEntryActionViewItem';
|
|
63
|
+
import { MarkdownRenderer, openLinkFromMarkdown } from 'vscode/vscode/vs/editor/contrib/markdownRenderer/browser/markdownRenderer';
|
|
64
|
+
import { ButtonWithDropdown, Button } from 'vscode/vscode/vs/base/browser/ui/button/button';
|
|
65
|
+
import { INotificationService } from 'vscode/vscode/vs/platform/notification/common/notification';
|
|
66
66
|
import { RepositoryContextKeys } from './scmViewService.js';
|
|
67
|
-
import { DragAndDropController } from '
|
|
68
|
-
import { DropIntoEditorController } from '
|
|
69
|
-
import { MessageController } from '
|
|
70
|
-
import { defaultCountBadgeStyles, defaultButtonStyles } from '
|
|
71
|
-
import { InlineCompletionsController } from '
|
|
72
|
-
import { CodeActionController } from '
|
|
73
|
-
import { ITextModelService } from '
|
|
74
|
-
import { Schemas } from '
|
|
67
|
+
import { DragAndDropController } from 'vscode/vscode/vs/editor/contrib/dnd/browser/dnd';
|
|
68
|
+
import { DropIntoEditorController } from 'vscode/vscode/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController';
|
|
69
|
+
import { MessageController } from 'vscode/vscode/vs/editor/contrib/message/browser/messageController';
|
|
70
|
+
import { defaultCountBadgeStyles, defaultButtonStyles } from 'vscode/vscode/vs/platform/theme/browser/defaultStyles';
|
|
71
|
+
import { InlineCompletionsController } from 'vscode/vscode/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController';
|
|
72
|
+
import { CodeActionController } from 'vscode/vscode/vs/editor/contrib/codeAction/browser/codeActionController';
|
|
73
|
+
import { ITextModelService } from 'vscode/vscode/vs/editor/common/services/resolverService';
|
|
74
|
+
import { Schemas } from 'vscode/vscode/vs/base/common/network';
|
|
75
75
|
import { fillEditorsDragData } from 'vscode/vscode/vs/workbench/browser/dnd';
|
|
76
|
-
import { CodeDataTransfers } from '
|
|
77
|
-
import { FormatOnType } from '
|
|
78
|
-
import { IUriIdentityService } from '
|
|
79
|
-
import { EditOperation } from '
|
|
80
|
-
import { stripIcons } from '
|
|
81
|
-
import { IconLabel } from '
|
|
82
|
-
import { registerColor, transparent, foreground, listActiveSelectionForeground } from '
|
|
83
|
-
import { WorkbenchToolBar } from '
|
|
84
|
-
import { CancellationTokenSource } from '
|
|
76
|
+
import { CodeDataTransfers } from 'vscode/vscode/vs/platform/dnd/browser/dnd';
|
|
77
|
+
import { FormatOnType } from 'vscode/vscode/vs/editor/contrib/format/browser/formatActions';
|
|
78
|
+
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity';
|
|
79
|
+
import { EditOperation } from 'vscode/vscode/vs/editor/common/core/editOperation';
|
|
80
|
+
import { stripIcons } from 'vscode/vscode/vs/base/common/iconLabels';
|
|
81
|
+
import { IconLabel } from 'vscode/vscode/vs/base/browser/ui/iconLabel/iconLabel';
|
|
82
|
+
import { registerColor, transparent, foreground, listActiveSelectionForeground } from 'vscode/vscode/vs/platform/theme/common/colorRegistry';
|
|
83
|
+
import { WorkbenchToolBar } from 'vscode/vscode/vs/platform/actions/browser/toolbar';
|
|
84
|
+
import { CancellationTokenSource } from 'vscode/vscode/vs/base/common/cancellation';
|
|
85
85
|
import { DropdownWithPrimaryActionViewItem } from 'vscode/vscode/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem';
|
|
86
|
-
import { clamp } from '
|
|
86
|
+
import { clamp } from 'vscode/vscode/vs/base/common/numbers';
|
|
87
87
|
|
|
88
88
|
var ActionButtonRenderer_1, InputRenderer_1, ResourceGroupRenderer_1, ResourceRenderer_1, HistoryItemRenderer_1, HistoryItemChangeRenderer_1, SCMInputWidget_1;
|
|
89
89
|
registerColor('scm.historyItemAdditionsForeground', {
|
|
@@ -1703,7 +1703,7 @@ let SCMInputWidget = class SCMInputWidget {
|
|
|
1703
1703
|
updatePlaceholderVisibility();
|
|
1704
1704
|
const updatePlaceholderText = () => {
|
|
1705
1705
|
const binding = this.keybindingService.lookupKeybinding('scm.acceptInput');
|
|
1706
|
-
const label = binding ? binding.getLabel() : (
|
|
1706
|
+
const label = binding ? binding.getLabel() : (isMacintosh ? 'Cmd+Enter' : 'Ctrl+Enter');
|
|
1707
1707
|
const placeholderText = format(input.placeholder, label);
|
|
1708
1708
|
this.inputEditor.updateOptions({ ariaLabel: placeholderText });
|
|
1709
1709
|
this.placeholderTextContainer.textContent = placeholderText;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
2
|
import './media/scm.css.js';
|
|
3
|
-
import { localizeWithPath } from '
|
|
4
|
-
import { ITelemetryService } from '
|
|
3
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
4
|
+
import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry';
|
|
5
5
|
import { VIEWLET_ID, ISCMViewService } from 'vscode/vscode/vs/workbench/contrib/scm/common/scm';
|
|
6
|
-
import { IInstantiationService } from '
|
|
7
|
-
import { IContextMenuService } from '
|
|
8
|
-
import { IThemeService } from '
|
|
9
|
-
import { IStorageService } from '
|
|
10
|
-
import { IConfigurationService } from '
|
|
6
|
+
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
7
|
+
import { IContextMenuService } from 'vscode/vscode/vs/platform/contextview/browser/contextView';
|
|
8
|
+
import { IThemeService } from 'vscode/vscode/vs/platform/theme/common/themeService';
|
|
9
|
+
import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage';
|
|
10
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
11
11
|
import { IWorkbenchLayoutService } from 'vscode/vscode/vs/workbench/services/layout/browser/layoutService';
|
|
12
12
|
import { IExtensionService } from 'vscode/vscode/vs/workbench/services/extensions/common/extensions';
|
|
13
|
-
import { IWorkspaceContextService } from '
|
|
13
|
+
import { IWorkspaceContextService } from 'vscode/vscode/vs/platform/workspace/common/workspace';
|
|
14
14
|
import { IViewDescriptorService } from 'vscode/vscode/vs/workbench/common/views';
|
|
15
15
|
import { ViewPaneContainer } from 'vscode/vscode/vs/workbench/browser/parts/views/viewPaneContainer';
|
|
16
16
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { DisposableStore } from '
|
|
3
|
-
import { Emitter, Event } from '
|
|
2
|
+
import { DisposableStore } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
3
|
+
import { Emitter, Event } from 'vscode/vscode/vs/base/common/event';
|
|
4
4
|
import { ISCMService } from 'vscode/vscode/vs/workbench/contrib/scm/common/scm';
|
|
5
|
-
import { Iterable } from '
|
|
6
|
-
import { IInstantiationService } from '
|
|
5
|
+
import { Iterable } from 'vscode/vscode/vs/base/common/iterator';
|
|
6
|
+
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
7
7
|
import { SCMMenus } from './menus.js';
|
|
8
|
-
import { IStorageService } from '
|
|
9
|
-
import { debounce } from '
|
|
10
|
-
import { IWorkspaceContextService } from '
|
|
11
|
-
import { comparePaths, compareFileNames } from '
|
|
12
|
-
import { basename } from '
|
|
13
|
-
import { binarySearch } from '
|
|
14
|
-
import { IConfigurationService } from '
|
|
15
|
-
import { RawContextKey, IContextKeyService } from '
|
|
8
|
+
import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage';
|
|
9
|
+
import { debounce } from 'vscode/vscode/vs/base/common/decorators';
|
|
10
|
+
import { IWorkspaceContextService } from 'vscode/vscode/vs/platform/workspace/common/workspace';
|
|
11
|
+
import { comparePaths, compareFileNames } from 'vscode/vscode/vs/base/common/comparers';
|
|
12
|
+
import { basename } from 'vscode/vscode/vs/base/common/resources';
|
|
13
|
+
import { binarySearch } from 'vscode/vscode/vs/base/common/arrays';
|
|
14
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
15
|
+
import { RawContextKey, IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
16
16
|
|
|
17
17
|
function getProviderStorageKey(provider) {
|
|
18
18
|
return `${provider.contextValue}:${provider.label}${provider.rootUri ? `:${( provider.rootUri.toString())}` : ''}`;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Action } from '
|
|
3
|
-
import { createAndFillInActionBarActions, createAndFillInContextMenuActions, createActionViewItem } from '
|
|
4
|
-
import { equals } from '
|
|
5
|
-
import { ActionViewItem } from '
|
|
6
|
-
import { renderLabelWithIcons } from '
|
|
7
|
-
import { reset } from '
|
|
1
|
+
import { basename } from 'vscode/vscode/vs/base/common/path';
|
|
2
|
+
import { Action } from 'vscode/vscode/vs/base/common/actions';
|
|
3
|
+
import { createAndFillInActionBarActions, createAndFillInContextMenuActions, createActionViewItem } from 'vscode/vscode/vs/platform/actions/browser/menuEntryActionViewItem';
|
|
4
|
+
import { equals } from 'vscode/vscode/vs/base/common/arrays';
|
|
5
|
+
import { ActionViewItem } from 'vscode/vscode/vs/base/browser/ui/actionbar/actionViewItems';
|
|
6
|
+
import { renderLabelWithIcons } from 'vscode/vscode/vs/base/browser/ui/iconLabel/iconLabels';
|
|
7
|
+
import { reset } from 'vscode/vscode/vs/base/browser/dom';
|
|
8
8
|
import { ResourceTree } from 'vscode/vscode/vs/base/common/resourceTree';
|
|
9
9
|
|
|
10
10
|
function isSCMViewService(element) {
|
|
@@ -44,12 +44,12 @@ function isSCMViewSeparator(element) {
|
|
|
44
44
|
return element.type === 'separator';
|
|
45
45
|
}
|
|
46
46
|
function toDiffEditorArguments(uri, originalUri, modifiedUri) {
|
|
47
|
-
const basename =
|
|
47
|
+
const basename$1 = basename(uri.fsPath);
|
|
48
48
|
const originalQuery = JSON.parse(originalUri.query);
|
|
49
49
|
const modifiedQuery = JSON.parse(modifiedUri.query);
|
|
50
50
|
const originalShortRef = originalQuery.ref.substring(0, 8).concat(originalQuery.ref.endsWith('^') ? '^' : '');
|
|
51
51
|
const modifiedShortRef = modifiedQuery.ref.substring(0, 8).concat(modifiedQuery.ref.endsWith('^') ? '^' : '');
|
|
52
|
-
return [originalUri, modifiedUri, `${basename} (${originalShortRef}) ↔ ${basename} (${modifiedShortRef})`, null];
|
|
52
|
+
return [originalUri, modifiedUri, `${basename$1} (${originalShortRef}) ↔ ${basename$1} (${modifiedShortRef})`, null];
|
|
53
53
|
}
|
|
54
54
|
const compareActions = (a, b) => a.id === b.id && a.enabled === b.enabled;
|
|
55
55
|
function connectPrimaryMenu(menu, callback, primaryGroup) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { Disposable } from '
|
|
3
|
-
import { isEqualOrParent } from '
|
|
4
|
-
import { score } from '
|
|
5
|
-
import { Emitter } from '
|
|
6
|
-
import { IUriIdentityService } from '
|
|
2
|
+
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
3
|
+
import { isEqualOrParent } from 'vscode/vscode/vs/base/common/resources';
|
|
4
|
+
import { score } from 'vscode/vscode/vs/editor/common/languageSelector';
|
|
5
|
+
import { Emitter } from 'vscode/vscode/vs/base/common/event';
|
|
6
|
+
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity';
|
|
7
7
|
|
|
8
8
|
function createProviderComparer(uri) {
|
|
9
9
|
return (a, b) => {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { DisposableStore, toDisposable } from '
|
|
3
|
-
import { Emitter } from '
|
|
2
|
+
import { DisposableStore, toDisposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
3
|
+
import { Emitter } from 'vscode/vscode/vs/base/common/event';
|
|
4
4
|
import { SCMInputChangeReason } from 'vscode/vscode/vs/workbench/contrib/scm/common/scm';
|
|
5
|
-
import { ILogService } from '
|
|
6
|
-
import { IContextKeyService } from '
|
|
7
|
-
import { IStorageService } from '
|
|
8
|
-
import { HistoryNavigator2 } from '
|
|
9
|
-
import { ResourceMap } from '
|
|
10
|
-
import { URI } from '
|
|
11
|
-
import { Iterable } from '
|
|
12
|
-
import { IWorkspaceContextService } from '
|
|
5
|
+
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log';
|
|
6
|
+
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
7
|
+
import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage';
|
|
8
|
+
import { HistoryNavigator2 } from 'vscode/vscode/vs/base/common/history';
|
|
9
|
+
import { ResourceMap } from 'vscode/vscode/vs/base/common/map';
|
|
10
|
+
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
11
|
+
import { Iterable } from 'vscode/vscode/vs/base/common/iterator';
|
|
12
|
+
import { IWorkspaceContextService } from 'vscode/vscode/vs/platform/workspace/common/workspace';
|
|
13
13
|
|
|
14
14
|
class SCMInput {
|
|
15
15
|
get value() {
|