@codingame/monaco-vscode-view-common-service-override 14.0.6 → 15.0.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/index.js +5 -5
- package/package.json +40 -39
- package/vscode/src/vs/workbench/api/browser/viewsExtensionPoint.js +64 -63
- package/vscode/src/vs/workbench/browser/actions/listCommands.js +4 -4
- package/vscode/src/vs/workbench/browser/actions/navigationActions.js +7 -7
- package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +171 -172
- package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +8 -8
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchy.contribution.js +13 -13
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyPeek.d.ts +7 -6
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyPeek.js +14 -13
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyTree.js +3 -3
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditor.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInputFactory.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInputFactory.js +2 -2
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditors.js +1 -1
- package/vscode/src/vs/workbench/contrib/customEditor/common/contributedCustomEditors.js +2 -2
- package/vscode/src/vs/workbench/contrib/customEditor/common/customEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/customEditor/common/extensionPoint.js +12 -12
- package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.js +9 -9
- package/vscode/src/vs/workbench/contrib/limitIndicator/browser/limitIndicator.contribution.js +8 -8
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/commands.js +27 -27
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/devCommands.js +15 -15
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditor.contribution.js +4 -4
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/colors.js +13 -13
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editorGutter.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editorGutter.js +4 -7
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/baseCodeEditorView.js +7 -11
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/codeEditorView.js +5 -6
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/inputCodeEditorView.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/inputCodeEditorView.js +17 -20
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/resultCodeEditorView.js +10 -12
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/lineAlignment.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/lineAlignment.js +2 -2
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/mergeEditor.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/mergeEditor.js +9 -12
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/scrollSynchronizer.js +3 -7
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/viewModel.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/viewModel.js +6 -9
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/viewZones.js +3 -3
- package/vscode/src/vs/workbench/contrib/preferences/browser/keyboardLayoutPicker.js +12 -12
- package/vscode/src/vs/workbench/contrib/sash/browser/sash.contribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchy.contribution.js +11 -11
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyPeek.d.ts +5 -4
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyPeek.js +9 -8
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyTree.js +3 -3
- package/vscode/src/vs/workbench/contrib/webview/browser/overlayWebview.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/webview/browser/overlayWebview.js +1 -1
- package/vscode/src/vs/workbench/contrib/webview/browser/themeing.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/webview/browser/themeing.js +1 -1
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.d.ts +4 -6
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.js +9 -16
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewFindWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewCommands.js +7 -7
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditorInputSerializer.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditorInputSerializer.js +1 -1
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewPanel.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewPane.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewPane.js +15 -17
- package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/editor/browser/editorPaneService.js +1 -1
- package/vscode/src/vs/workbench/services/editor/browser/editorResolverService.js +10 -10
- package/vscode/src/vs/workbench/services/history/browser/historyService.js +10 -10
- package/vscode/src/vs/workbench/services/progress/browser/progressService.js +9 -9
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorHandler.d.ts +2 -2
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorHandler.js +2 -2
- package/vscode/src/vs/workbench/services/views/browser/viewDescriptorService.js +6 -6
package/index.js
CHANGED
|
@@ -7,14 +7,14 @@ import { ActivityService } from '@codingame/monaco-vscode-9efc1f50-c7de-55d6-8b2
|
|
|
7
7
|
import { IPaneCompositePartService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/panecomposite/browser/panecomposite.service';
|
|
8
8
|
import { IEditorResolverService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorResolverService.service';
|
|
9
9
|
import { EditorResolverService } from './vscode/src/vs/workbench/services/editor/browser/editorResolverService.js';
|
|
10
|
-
import { BreadcrumbsService } from '@codingame/monaco-vscode-
|
|
10
|
+
import { BreadcrumbsService } from '@codingame/monaco-vscode-ad89fae6-94f0-5ac2-a185-22dea4b68ee0-common/vscode/vs/workbench/browser/parts/editor/breadcrumbs';
|
|
11
11
|
import { IBreadcrumbsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/browser/parts/editor/breadcrumbs.service';
|
|
12
12
|
import { IContextViewService } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextview/browser/contextView.service';
|
|
13
13
|
import { ContextViewService } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextview/browser/contextViewService';
|
|
14
|
-
import { ICodeEditorService } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/services/codeEditorService';
|
|
14
|
+
import { ICodeEditorService } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/services/codeEditorService.service';
|
|
15
15
|
import { TextEditorService } from '@codingame/monaco-vscode-b1e8558d-1726-5299-bc75-e43ee6d1a124-common/vscode/vs/workbench/services/textfile/common/textEditorService';
|
|
16
16
|
import { ITextEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/textfile/common/textEditorService.service';
|
|
17
|
-
import { CodeEditorService } from '@codingame/monaco-vscode-
|
|
17
|
+
import { CodeEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/browser/codeEditorService';
|
|
18
18
|
import { UntitledTextEditorService } from './vscode/src/vs/workbench/services/untitled/common/untitledTextEditorService.js';
|
|
19
19
|
import { IUntitledTextEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/untitled/common/untitledTextEditorService.service';
|
|
20
20
|
import { IHistoryService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/history/common/history.service';
|
|
@@ -56,13 +56,13 @@ import './vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewPanel.cont
|
|
|
56
56
|
import './vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpener.contribution.js';
|
|
57
57
|
import './vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.contribution.js';
|
|
58
58
|
import './vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditor.contribution.js';
|
|
59
|
-
import '@codingame/monaco-vscode-
|
|
59
|
+
import '@codingame/monaco-vscode-9b5a5e82-d649-5455-b4bf-ef90d6afd294-common/vscode/vs/workbench/contrib/webview/browser/webview.contribution';
|
|
60
60
|
import './vscode/src/vs/workbench/contrib/limitIndicator/browser/limitIndicator.contribution.js';
|
|
61
61
|
import './vscode/src/vs/workbench/contrib/sash/browser/sash.contribution.js';
|
|
62
62
|
import './vscode/src/vs/workbench/contrib/preferences/browser/keyboardLayoutPicker.js';
|
|
63
63
|
import '@codingame/monaco-vscode-b1e8558d-1726-5299-bc75-e43ee6d1a124-common/vscode/vs/workbench/browser/parts/editor/editor.contribution._autosave';
|
|
64
64
|
import '@codingame/monaco-vscode-d481a59e-259c-524e-bee1-76483d75d3a1-common/vscode/vs/workbench/contrib/files/browser/files.contribution._editorPane';
|
|
65
|
-
import '@codingame/monaco-vscode-
|
|
65
|
+
import '@codingame/monaco-vscode-c4e2825a-b5b1-5f0e-b547-068c32e06d50-common/vscode/vs/workbench/contrib/files/browser/fileCommands._save';
|
|
66
66
|
import './vscode/src/vs/workbench/browser/actions/navigationActions.js';
|
|
67
67
|
import '@codingame/monaco-vscode-9efc1f50-c7de-55d6-8b28-bcc88bd49b5a-common/vscode/vs/workbench/browser/style';
|
|
68
68
|
import './service-override/tools/editorAssets.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-view-common-service-override",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "15.0.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - view-common service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,44 +15,45 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-0c06bfba-d24d-5c4d-90cd-b40cefb7f811-common": "
|
|
19
|
-
"@codingame/monaco-vscode-0cc5da60-f921-59b9-bd8c-a018e93c0a6f-common": "
|
|
20
|
-
"@codingame/monaco-vscode-0f5ced28-abde-558b-8652-db8e7d4d64aa-common": "
|
|
21
|
-
"@codingame/monaco-vscode-
|
|
22
|
-
"@codingame/monaco-vscode-
|
|
23
|
-
"@codingame/monaco-vscode-
|
|
24
|
-
"@codingame/monaco-vscode-
|
|
25
|
-
"@codingame/monaco-vscode-
|
|
26
|
-
"@codingame/monaco-vscode-
|
|
27
|
-
"@codingame/monaco-vscode-
|
|
28
|
-
"@codingame/monaco-vscode-
|
|
29
|
-
"@codingame/monaco-vscode-
|
|
30
|
-
"@codingame/monaco-vscode-
|
|
31
|
-
"@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common": "
|
|
32
|
-
"@codingame/monaco-vscode-6980eeab-47bb-5a48-8e15-32caf0785565-common": "
|
|
33
|
-
"@codingame/monaco-vscode-
|
|
34
|
-
"@codingame/monaco-vscode-
|
|
35
|
-
"@codingame/monaco-vscode-7f39b6f1-3542-5430-8760-0f404d7a7cee-common": "
|
|
36
|
-
"@codingame/monaco-vscode-
|
|
37
|
-
"@codingame/monaco-vscode-
|
|
38
|
-
"@codingame/monaco-vscode-
|
|
39
|
-
"@codingame/monaco-vscode-
|
|
40
|
-
"@codingame/monaco-vscode-
|
|
41
|
-
"@codingame/monaco-vscode-
|
|
42
|
-
"@codingame/monaco-vscode-
|
|
43
|
-
"@codingame/monaco-vscode-
|
|
44
|
-
"@codingame/monaco-vscode-
|
|
45
|
-
"@codingame/monaco-vscode-
|
|
46
|
-
"@codingame/monaco-vscode-
|
|
47
|
-
"@codingame/monaco-vscode-
|
|
48
|
-
"@codingame/monaco-vscode-
|
|
49
|
-
"@codingame/monaco-vscode-
|
|
50
|
-
"@codingame/monaco-vscode-
|
|
51
|
-
"@codingame/monaco-vscode-
|
|
52
|
-
"@codingame/monaco-vscode-
|
|
53
|
-
"@codingame/monaco-vscode-
|
|
54
|
-
"@codingame/monaco-vscode-
|
|
55
|
-
"@codingame/monaco-vscode-
|
|
18
|
+
"@codingame/monaco-vscode-0c06bfba-d24d-5c4d-90cd-b40cefb7f811-common": "15.0.1",
|
|
19
|
+
"@codingame/monaco-vscode-0cc5da60-f921-59b9-bd8c-a018e93c0a6f-common": "15.0.1",
|
|
20
|
+
"@codingame/monaco-vscode-0f5ced28-abde-558b-8652-db8e7d4d64aa-common": "15.0.1",
|
|
21
|
+
"@codingame/monaco-vscode-12c5f9eb-72d3-57ca-babd-5bef7aa9de3b-common": "15.0.1",
|
|
22
|
+
"@codingame/monaco-vscode-1b4486de-4fe4-59c4-9e6d-34f265ff6625-common": "15.0.1",
|
|
23
|
+
"@codingame/monaco-vscode-210e86a9-a91b-5273-b05d-390c776dde1f-common": "15.0.1",
|
|
24
|
+
"@codingame/monaco-vscode-29bc1406-2925-5b8f-b25e-d04a7772d896-common": "15.0.1",
|
|
25
|
+
"@codingame/monaco-vscode-38f25ab8-ea30-5ba9-8a08-ae3308c297c0-common": "15.0.1",
|
|
26
|
+
"@codingame/monaco-vscode-40cada32-7e9c-528a-81fc-766e4da54147-common": "15.0.1",
|
|
27
|
+
"@codingame/monaco-vscode-44b92f80-48ea-5562-a8d0-18a015f8d845-common": "15.0.1",
|
|
28
|
+
"@codingame/monaco-vscode-4a316137-39d1-5d77-8b53-112db3547c1e-common": "15.0.1",
|
|
29
|
+
"@codingame/monaco-vscode-523730aa-81e6-55d7-9916-87ad537fe087-common": "15.0.1",
|
|
30
|
+
"@codingame/monaco-vscode-55ed5668-e8ca-5335-a587-790bcf1200c0-common": "15.0.1",
|
|
31
|
+
"@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common": "15.0.1",
|
|
32
|
+
"@codingame/monaco-vscode-6980eeab-47bb-5a48-8e15-32caf0785565-common": "15.0.1",
|
|
33
|
+
"@codingame/monaco-vscode-7559b0be-bfa5-5fe6-b731-1973fe9fffa1-common": "15.0.1",
|
|
34
|
+
"@codingame/monaco-vscode-7ba0af96-90c2-5e11-ad7f-befdbbf246c8-common": "15.0.1",
|
|
35
|
+
"@codingame/monaco-vscode-7f39b6f1-3542-5430-8760-0f404d7a7cee-common": "15.0.1",
|
|
36
|
+
"@codingame/monaco-vscode-81f603ca-d6ea-5402-90dd-3014dffc63b4-common": "15.0.1",
|
|
37
|
+
"@codingame/monaco-vscode-86d65fc6-30f9-5dca-9501-e249de688591-common": "15.0.1",
|
|
38
|
+
"@codingame/monaco-vscode-897bebad-39df-57cb-8a57-36a271d038be-common": "15.0.1",
|
|
39
|
+
"@codingame/monaco-vscode-89a82baf-8ded-5b2f-b8af-e5fbd72dc5ad-common": "15.0.1",
|
|
40
|
+
"@codingame/monaco-vscode-8ccb7637-50ea-5359-97bf-00015d7fe567-common": "15.0.1",
|
|
41
|
+
"@codingame/monaco-vscode-9b5a5e82-d649-5455-b4bf-ef90d6afd294-common": "15.0.1",
|
|
42
|
+
"@codingame/monaco-vscode-9efc1f50-c7de-55d6-8b28-bcc88bd49b5a-common": "15.0.1",
|
|
43
|
+
"@codingame/monaco-vscode-a4c2011e-8775-52bd-abf0-4a3c07a9696b-common": "15.0.1",
|
|
44
|
+
"@codingame/monaco-vscode-a7c9ae3c-16d2-5d17-86b2-981be7094566-common": "15.0.1",
|
|
45
|
+
"@codingame/monaco-vscode-ad89fae6-94f0-5ac2-a185-22dea4b68ee0-common": "15.0.1",
|
|
46
|
+
"@codingame/monaco-vscode-aff8bc9b-c6f8-578f-9c8a-f70d14f9c13c-common": "15.0.1",
|
|
47
|
+
"@codingame/monaco-vscode-api": "15.0.1",
|
|
48
|
+
"@codingame/monaco-vscode-b1e8558d-1726-5299-bc75-e43ee6d1a124-common": "15.0.1",
|
|
49
|
+
"@codingame/monaco-vscode-bd6ad8b7-9db3-51a8-9895-0046508c029d-common": "15.0.1",
|
|
50
|
+
"@codingame/monaco-vscode-bulk-edit-service-override": "15.0.1",
|
|
51
|
+
"@codingame/monaco-vscode-c4e2825a-b5b1-5f0e-b547-068c32e06d50-common": "15.0.1",
|
|
52
|
+
"@codingame/monaco-vscode-d481a59e-259c-524e-bee1-76483d75d3a1-common": "15.0.1",
|
|
53
|
+
"@codingame/monaco-vscode-e59ecb8c-db32-5324-8fe4-cf9921fd92b8-common": "15.0.1",
|
|
54
|
+
"@codingame/monaco-vscode-e72c94ca-257a-5b75-8b68-5a5fa3c18255-common": "15.0.1",
|
|
55
|
+
"@codingame/monaco-vscode-fdf643f9-94dd-5510-b97a-408abf26ad92-common": "15.0.1",
|
|
56
|
+
"@codingame/monaco-vscode-ff9fa663-eae3-5274-8573-c2b918871e4b-common": "15.0.1"
|
|
56
57
|
},
|
|
57
58
|
"main": "index.js",
|
|
58
59
|
"module": "index.js",
|
|
@@ -11,11 +11,11 @@ import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/regist
|
|
|
11
11
|
import { ThemeIcon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/themables';
|
|
12
12
|
import { Extensions as Extensions$1 } from '@codingame/monaco-vscode-9efc1f50-c7de-55d6-8b28-bcc88bd49b5a-common/vscode/vs/workbench/browser/panecomposite';
|
|
13
13
|
import { CustomTreeView, TreeViewPane } from '@codingame/monaco-vscode-4a316137-39d1-5d77-8b53-112db3547c1e-common/vscode/vs/workbench/browser/parts/views/treeView';
|
|
14
|
-
import { ViewPaneContainer } from '@codingame/monaco-vscode-
|
|
14
|
+
import { ViewPaneContainer } from '@codingame/monaco-vscode-12c5f9eb-72d3-57ca-babd-5bef7aa9de3b-common/vscode/vs/workbench/browser/parts/views/viewPaneContainer';
|
|
15
15
|
import { registerWorkbenchContribution2, WorkbenchPhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
|
|
16
16
|
import { Extensions, ViewContainerLocation } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/views';
|
|
17
17
|
import { VIEWLET_ID as VIEWLET_ID$3 } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug';
|
|
18
|
-
import { VIEWLET_ID as VIEWLET_ID$1 } from '@codingame/monaco-vscode-
|
|
18
|
+
import { VIEWLET_ID as VIEWLET_ID$1 } from '@codingame/monaco-vscode-a4c2011e-8775-52bd-abf0-4a3c07a9696b-common/vscode/vs/workbench/contrib/files/common/files';
|
|
19
19
|
import { VIEWLET_ID } from '@codingame/monaco-vscode-1b4486de-4fe4-59c4-9e6d-34f265ff6625-common/vscode/vs/workbench/contrib/remote/browser/remoteExplorer';
|
|
20
20
|
import { VIEWLET_ID as VIEWLET_ID$2 } from '@codingame/monaco-vscode-ff9fa663-eae3-5274-8573-c2b918871e4b-common/vscode/vs/workbench/contrib/scm/common/scm';
|
|
21
21
|
import { WebviewViewPane } from '../../contrib/webviewView/browser/webviewViewPane.js';
|
|
@@ -31,19 +31,19 @@ const viewsContainerSchema = {
|
|
|
31
31
|
properties: {
|
|
32
32
|
id: {
|
|
33
33
|
description: ( localize(
|
|
34
|
-
|
|
34
|
+
2402,
|
|
35
35
|
"Unique id used to identify the container in which views can be contributed using 'views' contribution point"
|
|
36
36
|
)),
|
|
37
37
|
type: 'string',
|
|
38
38
|
pattern: '^[a-zA-Z0-9_-]+$'
|
|
39
39
|
},
|
|
40
40
|
title: {
|
|
41
|
-
description: ( localize(
|
|
41
|
+
description: ( localize(2403, 'Human readable string used to render the container')),
|
|
42
42
|
type: 'string'
|
|
43
43
|
},
|
|
44
44
|
icon: {
|
|
45
45
|
description: ( localize(
|
|
46
|
-
|
|
46
|
+
2404,
|
|
47
47
|
"Path to the container icon. Icons are 24x24 centered on a 50x40 block and have a fill color of 'rgb(215, 218, 224)' or '#d7dae0'. It is recommended that icons be in SVG, though any image file type is accepted."
|
|
48
48
|
)),
|
|
49
49
|
type: 'string'
|
|
@@ -52,20 +52,21 @@ const viewsContainerSchema = {
|
|
|
52
52
|
required: ['id', 'title', 'icon']
|
|
53
53
|
};
|
|
54
54
|
const viewsContainersContribution = {
|
|
55
|
-
description: ( localize(
|
|
55
|
+
description: ( localize(2405, 'Contributes views containers to the editor')),
|
|
56
56
|
type: 'object',
|
|
57
57
|
properties: {
|
|
58
58
|
'activitybar': {
|
|
59
|
-
description: ( localize(
|
|
59
|
+
description: ( localize(2406, "Contribute views containers to Activity Bar")),
|
|
60
60
|
type: 'array',
|
|
61
61
|
items: viewsContainerSchema
|
|
62
62
|
},
|
|
63
63
|
'panel': {
|
|
64
|
-
description: ( localize(
|
|
64
|
+
description: ( localize(2407, "Contribute views containers to Panel")),
|
|
65
65
|
type: 'array',
|
|
66
66
|
items: viewsContainerSchema
|
|
67
67
|
}
|
|
68
|
-
}
|
|
68
|
+
},
|
|
69
|
+
additionalProperties: false
|
|
69
70
|
};
|
|
70
71
|
var ViewType;
|
|
71
72
|
(function (ViewType) {
|
|
@@ -80,12 +81,12 @@ var InitialVisibility;
|
|
|
80
81
|
})(InitialVisibility || (InitialVisibility = {}));
|
|
81
82
|
const viewDescriptor = {
|
|
82
83
|
type: 'object',
|
|
83
|
-
required: ['id', 'name'],
|
|
84
|
-
defaultSnippets: [{ body: { id: '${1:id}', name: '${2:name}' } }],
|
|
84
|
+
required: ['id', 'name', 'icon'],
|
|
85
|
+
defaultSnippets: [{ body: { id: '${1:id}', name: '${2:name}', icon: '${3:icon}' } }],
|
|
85
86
|
properties: {
|
|
86
87
|
type: {
|
|
87
88
|
markdownDescription: ( localize(
|
|
88
|
-
|
|
89
|
+
2408,
|
|
89
90
|
"Type of the view. This can either be `tree` for a tree view based view or `webview` for a webview based view. The default is `tree`."
|
|
90
91
|
)),
|
|
91
92
|
type: 'string',
|
|
@@ -94,45 +95,45 @@ const viewDescriptor = {
|
|
|
94
95
|
'webview',
|
|
95
96
|
],
|
|
96
97
|
markdownEnumDescriptions: [
|
|
97
|
-
( localize(
|
|
98
|
+
( localize(2409, "The view is backed by a `TreeView` created by `createTreeView`.")),
|
|
98
99
|
( localize(
|
|
99
|
-
|
|
100
|
+
2410,
|
|
100
101
|
"The view is backed by a `WebviewView` registered by `registerWebviewViewProvider`."
|
|
101
102
|
)),
|
|
102
103
|
]
|
|
103
104
|
},
|
|
104
105
|
id: {
|
|
105
106
|
markdownDescription: ( localize(
|
|
106
|
-
|
|
107
|
+
2411,
|
|
107
108
|
'Identifier of the view. This should be unique across all views. It is recommended to include your extension id as part of the view id. Use this to register a data provider through `vscode.window.registerTreeDataProviderForView` API. Also to trigger activating your extension by registering `onView:${id}` event to `activationEvents`.'
|
|
108
109
|
)),
|
|
109
110
|
type: 'string'
|
|
110
111
|
},
|
|
111
112
|
name: {
|
|
112
|
-
description: ( localize(
|
|
113
|
+
description: ( localize(2412, 'The human-readable name of the view. Will be shown')),
|
|
113
114
|
type: 'string'
|
|
114
115
|
},
|
|
115
116
|
when: {
|
|
116
|
-
description: ( localize(
|
|
117
|
+
description: ( localize(2413, 'Condition which must be true to show this view')),
|
|
117
118
|
type: 'string'
|
|
118
119
|
},
|
|
119
120
|
icon: {
|
|
120
121
|
description: ( localize(
|
|
121
|
-
|
|
122
|
+
2414,
|
|
122
123
|
"Path to the view icon. View icons are displayed when the name of the view cannot be shown. It is recommended that icons be in SVG, though any image file type is accepted."
|
|
123
124
|
)),
|
|
124
125
|
type: 'string'
|
|
125
126
|
},
|
|
126
127
|
contextualTitle: {
|
|
127
128
|
description: ( localize(
|
|
128
|
-
|
|
129
|
+
2415,
|
|
129
130
|
"Human-readable context for when the view is moved out of its original location. By default, the view's container name will be used."
|
|
130
131
|
)),
|
|
131
132
|
type: 'string'
|
|
132
133
|
},
|
|
133
134
|
visibility: {
|
|
134
135
|
description: ( localize(
|
|
135
|
-
|
|
136
|
+
2416,
|
|
136
137
|
"Initial state of the view when the extension is first installed. Once the user has changed the view state by collapsing, moving, or hiding the view, the initial state will not be used again."
|
|
137
138
|
)),
|
|
138
139
|
type: 'string',
|
|
@@ -144,27 +145,27 @@ const viewDescriptor = {
|
|
|
144
145
|
default: 'visible',
|
|
145
146
|
enumDescriptions: [
|
|
146
147
|
( localize(
|
|
147
|
-
|
|
148
|
+
2417,
|
|
148
149
|
"The default initial state for the view. In most containers the view will be expanded, however; some built-in containers (explorer, scm, and debug) show all contributed views collapsed regardless of the `visibility`."
|
|
149
150
|
)),
|
|
150
151
|
( localize(
|
|
151
|
-
|
|
152
|
+
2418,
|
|
152
153
|
"The view will not be shown in the view container, but will be discoverable through the views menu and other view entry points and can be un-hidden by the user."
|
|
153
154
|
)),
|
|
154
|
-
( localize(
|
|
155
|
+
( localize(2419, "The view will show in the view container, but will be collapsed."))
|
|
155
156
|
]
|
|
156
157
|
},
|
|
157
158
|
initialSize: {
|
|
158
159
|
type: 'number',
|
|
159
160
|
description: ( localize(
|
|
160
|
-
|
|
161
|
+
2420,
|
|
161
162
|
"The initial size of the view. The size will behave like the css 'flex' property, and will set the initial size when the view is first shown. In the side bar, this is the height of the view. This value is only respected when the same extension owns both the view and the view container."
|
|
162
163
|
)),
|
|
163
164
|
},
|
|
164
165
|
accessibilityHelpContent: {
|
|
165
166
|
type: 'string',
|
|
166
167
|
markdownDescription: ( localize(
|
|
167
|
-
|
|
168
|
+
2421,
|
|
168
169
|
"When the accessibility help dialog is invoked in this view, this content will be presented to the user as a markdown string. Keybindings will be resolved when provided in the format of <keybinding:commandId>. If there is no keybinding, that will be indicated and this command will be included in a quickpick for easy configuration."
|
|
169
170
|
))
|
|
170
171
|
}
|
|
@@ -176,25 +177,25 @@ const remoteViewDescriptor = {
|
|
|
176
177
|
properties: {
|
|
177
178
|
id: {
|
|
178
179
|
description: ( localize(
|
|
179
|
-
|
|
180
|
+
2411,
|
|
180
181
|
'Identifier of the view. This should be unique across all views. It is recommended to include your extension id as part of the view id. Use this to register a data provider through `vscode.window.registerTreeDataProviderForView` API. Also to trigger activating your extension by registering `onView:${id}` event to `activationEvents`.'
|
|
181
182
|
)),
|
|
182
183
|
type: 'string'
|
|
183
184
|
},
|
|
184
185
|
name: {
|
|
185
|
-
description: ( localize(
|
|
186
|
+
description: ( localize(2412, 'The human-readable name of the view. Will be shown')),
|
|
186
187
|
type: 'string'
|
|
187
188
|
},
|
|
188
189
|
when: {
|
|
189
|
-
description: ( localize(
|
|
190
|
+
description: ( localize(2413, 'Condition which must be true to show this view')),
|
|
190
191
|
type: 'string'
|
|
191
192
|
},
|
|
192
193
|
group: {
|
|
193
|
-
description: ( localize(
|
|
194
|
+
description: ( localize(2422, 'Nested group in the viewlet')),
|
|
194
195
|
type: 'string'
|
|
195
196
|
},
|
|
196
197
|
remoteName: {
|
|
197
|
-
description: ( localize(
|
|
198
|
+
description: ( localize(2423, 'The name of the remote type associated with this view')),
|
|
198
199
|
type: ['string', 'array'],
|
|
199
200
|
items: {
|
|
200
201
|
type: 'string'
|
|
@@ -203,36 +204,36 @@ const remoteViewDescriptor = {
|
|
|
203
204
|
}
|
|
204
205
|
};
|
|
205
206
|
const viewsContribution = {
|
|
206
|
-
description: ( localize(
|
|
207
|
+
description: ( localize(2424, "Contributes views to the editor")),
|
|
207
208
|
type: 'object',
|
|
208
209
|
properties: {
|
|
209
210
|
'explorer': {
|
|
210
|
-
description: ( localize(
|
|
211
|
+
description: ( localize(2425, "Contributes views to Explorer container in the Activity bar")),
|
|
211
212
|
type: 'array',
|
|
212
213
|
items: viewDescriptor,
|
|
213
214
|
default: []
|
|
214
215
|
},
|
|
215
216
|
'debug': {
|
|
216
|
-
description: ( localize(
|
|
217
|
+
description: ( localize(2426, "Contributes views to Debug container in the Activity bar")),
|
|
217
218
|
type: 'array',
|
|
218
219
|
items: viewDescriptor,
|
|
219
220
|
default: []
|
|
220
221
|
},
|
|
221
222
|
'scm': {
|
|
222
|
-
description: ( localize(
|
|
223
|
+
description: ( localize(2427, "Contributes views to SCM container in the Activity bar")),
|
|
223
224
|
type: 'array',
|
|
224
225
|
items: viewDescriptor,
|
|
225
226
|
default: []
|
|
226
227
|
},
|
|
227
228
|
'test': {
|
|
228
|
-
description: ( localize(
|
|
229
|
+
description: ( localize(2428, "Contributes views to Test container in the Activity bar")),
|
|
229
230
|
type: 'array',
|
|
230
231
|
items: viewDescriptor,
|
|
231
232
|
default: []
|
|
232
233
|
},
|
|
233
234
|
'remote': {
|
|
234
235
|
description: ( localize(
|
|
235
|
-
|
|
236
|
+
2429,
|
|
236
237
|
"Contributes views to Remote container in the Activity bar. To contribute to this container, enableProposedApi needs to be turned on"
|
|
237
238
|
)),
|
|
238
239
|
type: 'array',
|
|
@@ -241,7 +242,7 @@ const viewsContribution = {
|
|
|
241
242
|
}
|
|
242
243
|
},
|
|
243
244
|
additionalProperties: {
|
|
244
|
-
description: ( localize(
|
|
245
|
+
description: ( localize(2430, "Contributes views to contributed views container")),
|
|
245
246
|
type: 'array',
|
|
246
247
|
items: viewDescriptor,
|
|
247
248
|
default: []
|
|
@@ -323,13 +324,13 @@ let ViewsExtensionHandler = class ViewsExtensionHandler {
|
|
|
323
324
|
}
|
|
324
325
|
isValidViewsContainer(viewsContainersDescriptors, collector) {
|
|
325
326
|
if (!Array.isArray(viewsContainersDescriptors)) {
|
|
326
|
-
collector.error(( localize(
|
|
327
|
+
collector.error(( localize(2431, "views containers must be an array")));
|
|
327
328
|
return false;
|
|
328
329
|
}
|
|
329
330
|
for (const descriptor of viewsContainersDescriptors) {
|
|
330
331
|
if (typeof descriptor.id !== 'string' && isFalsyOrWhitespace(descriptor.id)) {
|
|
331
332
|
collector.error(( localize(
|
|
332
|
-
|
|
333
|
+
2432,
|
|
333
334
|
"property `{0}` is mandatory and must be of type `string` with non-empty value. Only alphanumeric characters, '_', and '-' are allowed.",
|
|
334
335
|
'id'
|
|
335
336
|
)));
|
|
@@ -337,23 +338,23 @@ let ViewsExtensionHandler = class ViewsExtensionHandler {
|
|
|
337
338
|
}
|
|
338
339
|
if (!(/^[a-z0-9_-]+$/i.test(descriptor.id))) {
|
|
339
340
|
collector.error(( localize(
|
|
340
|
-
|
|
341
|
+
2432,
|
|
341
342
|
"property `{0}` is mandatory and must be of type `string` with non-empty value. Only alphanumeric characters, '_', and '-' are allowed.",
|
|
342
343
|
'id'
|
|
343
344
|
)));
|
|
344
345
|
return false;
|
|
345
346
|
}
|
|
346
347
|
if (typeof descriptor.title !== 'string') {
|
|
347
|
-
collector.error(( localize(
|
|
348
|
+
collector.error(( localize(2433, "property `{0}` is mandatory and must be of type `string`", 'title')));
|
|
348
349
|
return false;
|
|
349
350
|
}
|
|
350
351
|
if (typeof descriptor.icon !== 'string') {
|
|
351
|
-
collector.error(( localize(
|
|
352
|
+
collector.error(( localize(2433, "property `{0}` is mandatory and must be of type `string`", 'icon')));
|
|
352
353
|
return false;
|
|
353
354
|
}
|
|
354
355
|
if (isFalsyOrWhitespace(descriptor.title)) {
|
|
355
356
|
collector.warn(( localize(
|
|
356
|
-
|
|
357
|
+
2434,
|
|
357
358
|
"property `{0}` is mandatory and must be of type `string` with non-empty value",
|
|
358
359
|
'title'
|
|
359
360
|
)));
|
|
@@ -423,7 +424,7 @@ let ViewsExtensionHandler = class ViewsExtensionHandler {
|
|
|
423
424
|
}
|
|
424
425
|
if (key === 'remote' && !isProposedApiEnabled(extension.description, 'contribViewsRemote')) {
|
|
425
426
|
collector.warn(( localize(
|
|
426
|
-
|
|
427
|
+
2435,
|
|
427
428
|
"View container '{0}' requires 'enabledApiProposals: [\"contribViewsRemote\"]' to be added to 'Remote'.",
|
|
428
429
|
key
|
|
429
430
|
)));
|
|
@@ -432,7 +433,7 @@ let ViewsExtensionHandler = class ViewsExtensionHandler {
|
|
|
432
433
|
const viewContainer = this.getViewContainer(key);
|
|
433
434
|
if (!viewContainer) {
|
|
434
435
|
collector.warn(( localize(
|
|
435
|
-
|
|
436
|
+
2436,
|
|
436
437
|
"View container '{0}' does not exist and all views registered to it will be added to 'Explorer'.",
|
|
437
438
|
key
|
|
438
439
|
)));
|
|
@@ -442,11 +443,11 @@ let ViewsExtensionHandler = class ViewsExtensionHandler {
|
|
|
442
443
|
for (let index = 0; index < value.length; index++) {
|
|
443
444
|
const item = value[index];
|
|
444
445
|
if (( viewIds.has(item.id))) {
|
|
445
|
-
collector.error(( localize(
|
|
446
|
+
collector.error(( localize(2437, "Cannot register multiple views with same id `{0}`", item.id)));
|
|
446
447
|
continue;
|
|
447
448
|
}
|
|
448
449
|
if (this.viewsRegistry.getView(item.id) !== null) {
|
|
449
|
-
collector.error(( localize(
|
|
450
|
+
collector.error(( localize(2438, "A view with id `{0}` is already registered.", item.id)));
|
|
450
451
|
continue;
|
|
451
452
|
}
|
|
452
453
|
const order = ExtensionIdentifier.equals(extension.description.identifier, container.extensionId)
|
|
@@ -461,7 +462,7 @@ let ViewsExtensionHandler = class ViewsExtensionHandler {
|
|
|
461
462
|
const initialVisibility = this.convertInitialVisibility(item.visibility);
|
|
462
463
|
const type = this.getViewType(item.type);
|
|
463
464
|
if (!type) {
|
|
464
|
-
collector.error(( localize(
|
|
465
|
+
collector.error(( localize(2439, "Unknown view type `{0}`.", item.type)));
|
|
465
466
|
continue;
|
|
466
467
|
}
|
|
467
468
|
let weight = undefined;
|
|
@@ -543,29 +544,29 @@ let ViewsExtensionHandler = class ViewsExtensionHandler {
|
|
|
543
544
|
}
|
|
544
545
|
isValidViewDescriptors(viewDescriptors, collector) {
|
|
545
546
|
if (!Array.isArray(viewDescriptors)) {
|
|
546
|
-
collector.error(( localize(
|
|
547
|
+
collector.error(( localize(2440, "views must be an array")));
|
|
547
548
|
return false;
|
|
548
549
|
}
|
|
549
550
|
for (const descriptor of viewDescriptors) {
|
|
550
551
|
if (typeof descriptor.id !== 'string') {
|
|
551
|
-
collector.error(( localize(
|
|
552
|
+
collector.error(( localize(2433, "property `{0}` is mandatory and must be of type `string`", 'id')));
|
|
552
553
|
return false;
|
|
553
554
|
}
|
|
554
555
|
if (typeof descriptor.name !== 'string') {
|
|
555
|
-
collector.error(( localize(
|
|
556
|
+
collector.error(( localize(2433, "property `{0}` is mandatory and must be of type `string`", 'name')));
|
|
556
557
|
return false;
|
|
557
558
|
}
|
|
558
559
|
if (descriptor.when && typeof descriptor.when !== 'string') {
|
|
559
|
-
collector.error(( localize(
|
|
560
|
+
collector.error(( localize(2441, "property `{0}` can be omitted or must be of type `string`", 'when')));
|
|
560
561
|
return false;
|
|
561
562
|
}
|
|
562
563
|
if (descriptor.icon && typeof descriptor.icon !== 'string') {
|
|
563
|
-
collector.error(( localize(
|
|
564
|
+
collector.error(( localize(2441, "property `{0}` can be omitted or must be of type `string`", 'icon')));
|
|
564
565
|
return false;
|
|
565
566
|
}
|
|
566
567
|
if (descriptor.contextualTitle && typeof descriptor.contextualTitle !== 'string') {
|
|
567
568
|
collector.error(( localize(
|
|
568
|
-
|
|
569
|
+
2441,
|
|
569
570
|
"property `{0}` can be omitted or must be of type `string`",
|
|
570
571
|
'contextualTitle'
|
|
571
572
|
)));
|
|
@@ -573,7 +574,7 @@ let ViewsExtensionHandler = class ViewsExtensionHandler {
|
|
|
573
574
|
}
|
|
574
575
|
if (descriptor.visibility && !this.convertInitialVisibility(descriptor.visibility)) {
|
|
575
576
|
collector.error(( localize(
|
|
576
|
-
|
|
577
|
+
2442,
|
|
577
578
|
"property `{0}` can be omitted or must be one of {1}",
|
|
578
579
|
'visibility',
|
|
579
580
|
( Object.values(InitialVisibility)).join(', ')
|
|
@@ -625,9 +626,9 @@ class ViewContainersDataRenderer extends Disposable {
|
|
|
625
626
|
return { data: { headers: [], rows: [] }, dispose: () => { } };
|
|
626
627
|
}
|
|
627
628
|
const headers = [
|
|
628
|
-
( localize(
|
|
629
|
-
( localize(
|
|
630
|
-
( localize(
|
|
629
|
+
( localize(2443, "ID")),
|
|
630
|
+
( localize(2444, "Title")),
|
|
631
|
+
( localize(2445, "Where")),
|
|
631
632
|
];
|
|
632
633
|
const rows = ( viewContainers
|
|
633
634
|
.sort((a, b) => a.id.localeCompare(b.id))
|
|
@@ -666,9 +667,9 @@ class ViewsDataRenderer extends Disposable {
|
|
|
666
667
|
return { data: { headers: [], rows: [] }, dispose: () => { } };
|
|
667
668
|
}
|
|
668
669
|
const headers = [
|
|
669
|
-
( localize(
|
|
670
|
-
( localize(
|
|
671
|
-
( localize(
|
|
670
|
+
( localize(2446, "ID")),
|
|
671
|
+
( localize(2447, "Name")),
|
|
672
|
+
( localize(2445, "Where")),
|
|
672
673
|
];
|
|
673
674
|
const rows = ( views
|
|
674
675
|
.sort((a, b) => a.id.localeCompare(b.id))
|
|
@@ -690,7 +691,7 @@ class ViewsDataRenderer extends Disposable {
|
|
|
690
691
|
}
|
|
691
692
|
( Registry.as(Extensions$2.ExtensionFeaturesRegistry)).registerExtensionFeature({
|
|
692
693
|
id: 'viewsContainers',
|
|
693
|
-
label: ( localize(
|
|
694
|
+
label: ( localize(2448, "View Containers")),
|
|
694
695
|
access: {
|
|
695
696
|
canToggle: false
|
|
696
697
|
},
|
|
@@ -698,7 +699,7 @@ class ViewsDataRenderer extends Disposable {
|
|
|
698
699
|
});
|
|
699
700
|
( Registry.as(Extensions$2.ExtensionFeaturesRegistry)).registerExtensionFeature({
|
|
700
701
|
id: 'views',
|
|
701
|
-
label: ( localize(
|
|
702
|
+
label: ( localize(2449, "Views")),
|
|
702
703
|
access: {
|
|
703
704
|
canToggle: false
|
|
704
705
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { KeyMod, KeyCode, KeyChord } from '@codingame/monaco-vscode-api/vscode/vs/base/common/keyCodes';
|
|
3
3
|
import { KeybindingsRegistry, KeybindingWeight } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybindingsRegistry';
|
|
4
4
|
import { List } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/list/listWidget';
|
|
5
5
|
import { WorkbenchListSelectionNavigation, WorkbenchListFocusContextKey, WorkbenchListSupportsMultiSelectContextKey, WorkbenchTreeElementCanCollapse, WorkbenchTreeElementHasParent, WorkbenchTreeStickyScrollFocused, getSelectionKeyboardEvent, WorkbenchTreeElementCanExpand, WorkbenchTreeElementHasChild, WorkbenchListHasSelectionOrFocus, RawWorkbenchListFocusContextKey, WorkbenchListSupportsFind, WorkbenchTreeFindOpen, WorkbenchListScrollAtTopContextKey, WorkbenchListScrollAtBottomContextKey } from '@codingame/monaco-vscode-api/vscode/vs/platform/list/browser/listService';
|
|
@@ -782,12 +782,12 @@ registerAction2(class ToggleStickyScroll extends Action2 {
|
|
|
782
782
|
super({
|
|
783
783
|
id: 'tree.toggleStickyScroll',
|
|
784
784
|
title: {
|
|
785
|
-
...( localize2(
|
|
786
|
-
mnemonicTitle: ( localize(
|
|
785
|
+
...( localize2(2689, "Toggle Tree Sticky Scroll")),
|
|
786
|
+
mnemonicTitle: ( localize(2690, "&&Toggle Tree Sticky Scroll")),
|
|
787
787
|
},
|
|
788
788
|
category: 'View',
|
|
789
789
|
metadata: { description: ( localize(
|
|
790
|
-
|
|
790
|
+
2691,
|
|
791
791
|
"Toggles Sticky Scroll widget at the top of tree structures such as the File Explorer and Debug variables View."
|
|
792
792
|
)) },
|
|
793
793
|
f1: true
|