@codingame/monaco-vscode-view-common-service-override 18.4.0 → 19.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/index.js +5 -5
- package/package.json +42 -42
- package/vscode/src/vs/workbench/api/browser/viewsExtensionPoint.js +59 -59
- package/vscode/src/vs/workbench/browser/actions/listCommands.js +3 -3
- package/vscode/src/vs/workbench/browser/actions/navigationActions.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +168 -168
- package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +8 -8
- package/vscode/src/vs/workbench/browser/parts/paneCompositePartService.js +2 -2
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchy.contribution.js +12 -12
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyPeek.js +5 -5
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyTree.js +3 -3
- 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 +4 -4
- package/vscode/src/vs/workbench/contrib/customEditor/common/contributedCustomEditors.js +1 -1
- package/vscode/src/vs/workbench/contrib/customEditor/common/customEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/customEditor/common/customEditorModelManager.d.ts +0 -3
- package/vscode/src/vs/workbench/contrib/customEditor/common/customEditorModelManager.js +1 -3
- package/vscode/src/vs/workbench/contrib/customEditor/common/extensionPoint.js +12 -12
- package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.js +7 -7
- package/vscode/src/vs/workbench/contrib/limitIndicator/browser/limitIndicator.contribution.js +8 -8
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/commands.js +29 -29
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/devCommands.js +14 -14
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditor.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/colors.js +13 -13
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/baseCodeEditorView.js +3 -3
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/inputCodeEditorView.js +11 -11
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/resultCodeEditorView.js +5 -5
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/mergeEditor.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/mergeEditor.js +2 -2
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/viewModel.js +1 -1
- 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 +10 -10
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyPeek.js +5 -5
- 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 +1 -1
- package/vscode/src/vs/workbench/contrib/webview/browser/themeing.js +4 -2
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.js +2 -2
- 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 +2 -2
- package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewPane.js +2 -2
- package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/editor/browser/editorResolverService.js +9 -9
- package/vscode/src/vs/workbench/services/history/browser/historyService.js +10 -10
- package/vscode/src/vs/workbench/services/progress/browser/progressService.js +8 -8
- 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 +5 -5
package/index.js
CHANGED
|
@@ -7,12 +7,12 @@ 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-33de3d75-8b1a-53f0-9e27-0c71c327e1a1-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
14
|
import { ICodeEditorService } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/services/codeEditorService.service';
|
|
15
|
-
import { TextEditorService } from '@codingame/monaco-vscode-
|
|
15
|
+
import { TextEditorService } from '@codingame/monaco-vscode-ddbd4d51-94af-51e5-96b5-f2166ed67ad0-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
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';
|
|
@@ -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-271a23cd-c7d7-5761-ae35-a923a42987b8-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
|
-
import '@codingame/monaco-vscode-
|
|
63
|
+
import '@codingame/monaco-vscode-ddbd4d51-94af-51e5-96b5-f2166ed67ad0-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-72a1b7d3-3f58-5545-9b7e-f579bd003081-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-9c84f943-bcb5-5bcf-92a6-91f66a732f26-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": "19.0.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - view-common service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,47 +15,47 @@
|
|
|
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-158b9837-fc78-5d9c-86f5-9134e4358643-common": "
|
|
21
|
-
"@codingame/monaco-vscode-1b4486de-4fe4-59c4-9e6d-34f265ff6625-common": "
|
|
22
|
-
"@codingame/monaco-vscode-210e86a9-a91b-5273-b05d-390c776dde1f-common": "
|
|
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-
|
|
32
|
-
"@codingame/monaco-vscode-
|
|
33
|
-
"@codingame/monaco-vscode-
|
|
34
|
-
"@codingame/monaco-vscode-
|
|
35
|
-
"@codingame/monaco-vscode-
|
|
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-a8d3bd74-e63e-5327-96e8-4f931661e329-common": "
|
|
46
|
-
"@codingame/monaco-vscode-api": "
|
|
47
|
-
"@codingame/monaco-vscode-
|
|
48
|
-
"@codingame/monaco-vscode-bulk-edit-service-override": "
|
|
49
|
-
"@codingame/monaco-vscode-
|
|
50
|
-
"@codingame/monaco-vscode-d26a96d3-122c-5a3d-a04d-deb5ff0f19c0-common": "
|
|
51
|
-
"@codingame/monaco-vscode-d481a59e-259c-524e-bee1-76483d75d3a1-common": "
|
|
52
|
-
"@codingame/monaco-vscode-
|
|
53
|
-
"@codingame/monaco-vscode-
|
|
54
|
-
"@codingame/monaco-vscode-
|
|
55
|
-
"@codingame/monaco-vscode-
|
|
56
|
-
"@codingame/monaco-vscode-
|
|
57
|
-
"@codingame/monaco-vscode-
|
|
58
|
-
"@codingame/monaco-vscode-ff9fa663-eae3-5274-8573-c2b918871e4b-common": "
|
|
18
|
+
"@codingame/monaco-vscode-0c06bfba-d24d-5c4d-90cd-b40cefb7f811-common": "19.0.0",
|
|
19
|
+
"@codingame/monaco-vscode-0cc5da60-f921-59b9-bd8c-a018e93c0a6f-common": "19.0.0",
|
|
20
|
+
"@codingame/monaco-vscode-158b9837-fc78-5d9c-86f5-9134e4358643-common": "19.0.0",
|
|
21
|
+
"@codingame/monaco-vscode-1b4486de-4fe4-59c4-9e6d-34f265ff6625-common": "19.0.0",
|
|
22
|
+
"@codingame/monaco-vscode-210e86a9-a91b-5273-b05d-390c776dde1f-common": "19.0.0",
|
|
23
|
+
"@codingame/monaco-vscode-271a23cd-c7d7-5761-ae35-a923a42987b8-common": "19.0.0",
|
|
24
|
+
"@codingame/monaco-vscode-2726569c-a06b-5f25-b851-14311bef12fa-common": "19.0.0",
|
|
25
|
+
"@codingame/monaco-vscode-2a94c04a-b85b-5669-b06b-89c1bfa11cb9-common": "19.0.0",
|
|
26
|
+
"@codingame/monaco-vscode-3109a756-1f83-5d09-945b-9f0fcad928f0-common": "19.0.0",
|
|
27
|
+
"@codingame/monaco-vscode-33de3d75-8b1a-53f0-9e27-0c71c327e1a1-common": "19.0.0",
|
|
28
|
+
"@codingame/monaco-vscode-40cada32-7e9c-528a-81fc-766e4da54147-common": "19.0.0",
|
|
29
|
+
"@codingame/monaco-vscode-4a316137-39d1-5d77-8b53-112db3547c1e-common": "19.0.0",
|
|
30
|
+
"@codingame/monaco-vscode-501b06ab-3f58-516b-8a1a-c29d375d3da4-common": "19.0.0",
|
|
31
|
+
"@codingame/monaco-vscode-523730aa-81e6-55d7-9916-87ad537fe087-common": "19.0.0",
|
|
32
|
+
"@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common": "19.0.0",
|
|
33
|
+
"@codingame/monaco-vscode-6980eeab-47bb-5a48-8e15-32caf0785565-common": "19.0.0",
|
|
34
|
+
"@codingame/monaco-vscode-72a1b7d3-3f58-5545-9b7e-f579bd003081-common": "19.0.0",
|
|
35
|
+
"@codingame/monaco-vscode-7869cfe8-f42c-5721-9f2b-7d04a6a41f16-common": "19.0.0",
|
|
36
|
+
"@codingame/monaco-vscode-7f39b6f1-3542-5430-8760-0f404d7a7cee-common": "19.0.0",
|
|
37
|
+
"@codingame/monaco-vscode-86d65fc6-30f9-5dca-9501-e249de688591-common": "19.0.0",
|
|
38
|
+
"@codingame/monaco-vscode-897bebad-39df-57cb-8a57-36a271d038be-common": "19.0.0",
|
|
39
|
+
"@codingame/monaco-vscode-89a82baf-8ded-5b2f-b8af-e5fbd72dc5ad-common": "19.0.0",
|
|
40
|
+
"@codingame/monaco-vscode-8ccb7637-50ea-5359-97bf-00015d7fe567-common": "19.0.0",
|
|
41
|
+
"@codingame/monaco-vscode-937ecbdf-94c7-5b16-aefa-ad78ae557a93-common": "19.0.0",
|
|
42
|
+
"@codingame/monaco-vscode-9c72783f-914c-50be-b9ef-da16356d81a8-common": "19.0.0",
|
|
43
|
+
"@codingame/monaco-vscode-9c84f943-bcb5-5bcf-92a6-91f66a732f26-common": "19.0.0",
|
|
44
|
+
"@codingame/monaco-vscode-9efc1f50-c7de-55d6-8b28-bcc88bd49b5a-common": "19.0.0",
|
|
45
|
+
"@codingame/monaco-vscode-a8d3bd74-e63e-5327-96e8-4f931661e329-common": "19.0.0",
|
|
46
|
+
"@codingame/monaco-vscode-api": "19.0.0",
|
|
47
|
+
"@codingame/monaco-vscode-bc6d9a89-1625-5010-b57e-ff44151144fe-common": "19.0.0",
|
|
48
|
+
"@codingame/monaco-vscode-bulk-edit-service-override": "19.0.0",
|
|
49
|
+
"@codingame/monaco-vscode-caf773dd-ab1d-5936-941d-a2fe9e896ffc-common": "19.0.0",
|
|
50
|
+
"@codingame/monaco-vscode-d26a96d3-122c-5a3d-a04d-deb5ff0f19c0-common": "19.0.0",
|
|
51
|
+
"@codingame/monaco-vscode-d481a59e-259c-524e-bee1-76483d75d3a1-common": "19.0.0",
|
|
52
|
+
"@codingame/monaco-vscode-dbfe5f85-b426-55ed-a79b-5f811b395762-common": "19.0.0",
|
|
53
|
+
"@codingame/monaco-vscode-ddbd4d51-94af-51e5-96b5-f2166ed67ad0-common": "19.0.0",
|
|
54
|
+
"@codingame/monaco-vscode-e59ecb8c-db32-5324-8fe4-cf9921fd92b8-common": "19.0.0",
|
|
55
|
+
"@codingame/monaco-vscode-e72c94ca-257a-5b75-8b68-5a5fa3c18255-common": "19.0.0",
|
|
56
|
+
"@codingame/monaco-vscode-f1bbc6d3-6129-583c-a2ba-c80b832993d2-common": "19.0.0",
|
|
57
|
+
"@codingame/monaco-vscode-f24e325c-2ce0-5bba-8236-bfc4f53180ab-common": "19.0.0",
|
|
58
|
+
"@codingame/monaco-vscode-ff9fa663-eae3-5274-8573-c2b918871e4b-common": "19.0.0"
|
|
59
59
|
},
|
|
60
60
|
"main": "index.js",
|
|
61
61
|
"module": "index.js",
|
|
@@ -15,7 +15,7 @@ import { ViewPaneContainer } from '@codingame/monaco-vscode-a8d3bd74-e63e-5327-9
|
|
|
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-f24e325c-2ce0-5bba-8236-bfc4f53180ab-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
|
+
2494,
|
|
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(2495, 'Human readable string used to render the container')),
|
|
42
42
|
type: 'string'
|
|
43
43
|
},
|
|
44
44
|
icon: {
|
|
45
45
|
description: ( localize(
|
|
46
|
-
|
|
46
|
+
2496,
|
|
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,16 +52,16 @@ const viewsContainerSchema = {
|
|
|
52
52
|
required: ['id', 'title', 'icon']
|
|
53
53
|
};
|
|
54
54
|
const viewsContainersContribution = {
|
|
55
|
-
description: ( localize(
|
|
55
|
+
description: ( localize(2497, 'Contributes views containers to the editor')),
|
|
56
56
|
type: 'object',
|
|
57
57
|
properties: {
|
|
58
58
|
'activitybar': {
|
|
59
|
-
description: ( localize(
|
|
59
|
+
description: ( localize(2498, "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(2499, "Contribute views containers to Panel")),
|
|
65
65
|
type: 'array',
|
|
66
66
|
items: viewsContainerSchema
|
|
67
67
|
}
|
|
@@ -86,7 +86,7 @@ const viewDescriptor = {
|
|
|
86
86
|
properties: {
|
|
87
87
|
type: {
|
|
88
88
|
markdownDescription: ( localize(
|
|
89
|
-
|
|
89
|
+
2500,
|
|
90
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`."
|
|
91
91
|
)),
|
|
92
92
|
type: 'string',
|
|
@@ -95,45 +95,45 @@ const viewDescriptor = {
|
|
|
95
95
|
'webview',
|
|
96
96
|
],
|
|
97
97
|
markdownEnumDescriptions: [
|
|
98
|
-
( localize(
|
|
98
|
+
( localize(2501, "The view is backed by a `TreeView` created by `createTreeView`.")),
|
|
99
99
|
( localize(
|
|
100
|
-
|
|
100
|
+
2502,
|
|
101
101
|
"The view is backed by a `WebviewView` registered by `registerWebviewViewProvider`."
|
|
102
102
|
)),
|
|
103
103
|
]
|
|
104
104
|
},
|
|
105
105
|
id: {
|
|
106
106
|
markdownDescription: ( localize(
|
|
107
|
-
|
|
107
|
+
2503,
|
|
108
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`.'
|
|
109
109
|
)),
|
|
110
110
|
type: 'string'
|
|
111
111
|
},
|
|
112
112
|
name: {
|
|
113
|
-
description: ( localize(
|
|
113
|
+
description: ( localize(2504, 'The human-readable name of the view. Will be shown')),
|
|
114
114
|
type: 'string'
|
|
115
115
|
},
|
|
116
116
|
when: {
|
|
117
|
-
description: ( localize(
|
|
117
|
+
description: ( localize(2505, 'Condition which must be true to show this view')),
|
|
118
118
|
type: 'string'
|
|
119
119
|
},
|
|
120
120
|
icon: {
|
|
121
121
|
description: ( localize(
|
|
122
|
-
|
|
122
|
+
2506,
|
|
123
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."
|
|
124
124
|
)),
|
|
125
125
|
type: 'string'
|
|
126
126
|
},
|
|
127
127
|
contextualTitle: {
|
|
128
128
|
description: ( localize(
|
|
129
|
-
|
|
129
|
+
2507,
|
|
130
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."
|
|
131
131
|
)),
|
|
132
132
|
type: 'string'
|
|
133
133
|
},
|
|
134
134
|
visibility: {
|
|
135
135
|
description: ( localize(
|
|
136
|
-
|
|
136
|
+
2508,
|
|
137
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."
|
|
138
138
|
)),
|
|
139
139
|
type: 'string',
|
|
@@ -145,27 +145,27 @@ const viewDescriptor = {
|
|
|
145
145
|
default: 'visible',
|
|
146
146
|
enumDescriptions: [
|
|
147
147
|
( localize(
|
|
148
|
-
|
|
148
|
+
2509,
|
|
149
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`."
|
|
150
150
|
)),
|
|
151
151
|
( localize(
|
|
152
|
-
|
|
152
|
+
2510,
|
|
153
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."
|
|
154
154
|
)),
|
|
155
|
-
( localize(
|
|
155
|
+
( localize(2511, "The view will show in the view container, but will be collapsed."))
|
|
156
156
|
]
|
|
157
157
|
},
|
|
158
158
|
initialSize: {
|
|
159
159
|
type: 'number',
|
|
160
160
|
description: ( localize(
|
|
161
|
-
|
|
161
|
+
2512,
|
|
162
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."
|
|
163
163
|
)),
|
|
164
164
|
},
|
|
165
165
|
accessibilityHelpContent: {
|
|
166
166
|
type: 'string',
|
|
167
167
|
markdownDescription: ( localize(
|
|
168
|
-
|
|
168
|
+
2513,
|
|
169
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."
|
|
170
170
|
))
|
|
171
171
|
}
|
|
@@ -177,25 +177,25 @@ const remoteViewDescriptor = {
|
|
|
177
177
|
properties: {
|
|
178
178
|
id: {
|
|
179
179
|
description: ( localize(
|
|
180
|
-
|
|
180
|
+
2503,
|
|
181
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`.'
|
|
182
182
|
)),
|
|
183
183
|
type: 'string'
|
|
184
184
|
},
|
|
185
185
|
name: {
|
|
186
|
-
description: ( localize(
|
|
186
|
+
description: ( localize(2504, 'The human-readable name of the view. Will be shown')),
|
|
187
187
|
type: 'string'
|
|
188
188
|
},
|
|
189
189
|
when: {
|
|
190
|
-
description: ( localize(
|
|
190
|
+
description: ( localize(2505, 'Condition which must be true to show this view')),
|
|
191
191
|
type: 'string'
|
|
192
192
|
},
|
|
193
193
|
group: {
|
|
194
|
-
description: ( localize(
|
|
194
|
+
description: ( localize(2514, 'Nested group in the viewlet')),
|
|
195
195
|
type: 'string'
|
|
196
196
|
},
|
|
197
197
|
remoteName: {
|
|
198
|
-
description: ( localize(
|
|
198
|
+
description: ( localize(2515, 'The name of the remote type associated with this view')),
|
|
199
199
|
type: ['string', 'array'],
|
|
200
200
|
items: {
|
|
201
201
|
type: 'string'
|
|
@@ -204,36 +204,36 @@ const remoteViewDescriptor = {
|
|
|
204
204
|
}
|
|
205
205
|
};
|
|
206
206
|
const viewsContribution = {
|
|
207
|
-
description: ( localize(
|
|
207
|
+
description: ( localize(2516, "Contributes views to the editor")),
|
|
208
208
|
type: 'object',
|
|
209
209
|
properties: {
|
|
210
210
|
'explorer': {
|
|
211
|
-
description: ( localize(
|
|
211
|
+
description: ( localize(2517, "Contributes views to Explorer container in the Activity bar")),
|
|
212
212
|
type: 'array',
|
|
213
213
|
items: viewDescriptor,
|
|
214
214
|
default: []
|
|
215
215
|
},
|
|
216
216
|
'debug': {
|
|
217
|
-
description: ( localize(
|
|
217
|
+
description: ( localize(2518, "Contributes views to Debug container in the Activity bar")),
|
|
218
218
|
type: 'array',
|
|
219
219
|
items: viewDescriptor,
|
|
220
220
|
default: []
|
|
221
221
|
},
|
|
222
222
|
'scm': {
|
|
223
|
-
description: ( localize(
|
|
223
|
+
description: ( localize(2519, "Contributes views to SCM container in the Activity bar")),
|
|
224
224
|
type: 'array',
|
|
225
225
|
items: viewDescriptor,
|
|
226
226
|
default: []
|
|
227
227
|
},
|
|
228
228
|
'test': {
|
|
229
|
-
description: ( localize(
|
|
229
|
+
description: ( localize(2520, "Contributes views to Test container in the Activity bar")),
|
|
230
230
|
type: 'array',
|
|
231
231
|
items: viewDescriptor,
|
|
232
232
|
default: []
|
|
233
233
|
},
|
|
234
234
|
'remote': {
|
|
235
235
|
description: ( localize(
|
|
236
|
-
|
|
236
|
+
2521,
|
|
237
237
|
"Contributes views to Remote container in the Activity bar. To contribute to this container, enableProposedApi needs to be turned on"
|
|
238
238
|
)),
|
|
239
239
|
type: 'array',
|
|
@@ -242,7 +242,7 @@ const viewsContribution = {
|
|
|
242
242
|
}
|
|
243
243
|
},
|
|
244
244
|
additionalProperties: {
|
|
245
|
-
description: ( localize(
|
|
245
|
+
description: ( localize(2522, "Contributes views to contributed views container")),
|
|
246
246
|
type: 'array',
|
|
247
247
|
items: viewDescriptor,
|
|
248
248
|
default: []
|
|
@@ -324,13 +324,13 @@ let ViewsExtensionHandler = class ViewsExtensionHandler {
|
|
|
324
324
|
}
|
|
325
325
|
isValidViewsContainer(viewsContainersDescriptors, collector) {
|
|
326
326
|
if (!Array.isArray(viewsContainersDescriptors)) {
|
|
327
|
-
collector.error(( localize(
|
|
327
|
+
collector.error(( localize(2523, "views containers must be an array")));
|
|
328
328
|
return false;
|
|
329
329
|
}
|
|
330
330
|
for (const descriptor of viewsContainersDescriptors) {
|
|
331
331
|
if (typeof descriptor.id !== 'string' && isFalsyOrWhitespace(descriptor.id)) {
|
|
332
332
|
collector.error(( localize(
|
|
333
|
-
|
|
333
|
+
2524,
|
|
334
334
|
"property `{0}` is mandatory and must be of type `string` with non-empty value. Only alphanumeric characters, '_', and '-' are allowed.",
|
|
335
335
|
'id'
|
|
336
336
|
)));
|
|
@@ -338,23 +338,23 @@ let ViewsExtensionHandler = class ViewsExtensionHandler {
|
|
|
338
338
|
}
|
|
339
339
|
if (!(/^[a-z0-9_-]+$/i.test(descriptor.id))) {
|
|
340
340
|
collector.error(( localize(
|
|
341
|
-
|
|
341
|
+
2524,
|
|
342
342
|
"property `{0}` is mandatory and must be of type `string` with non-empty value. Only alphanumeric characters, '_', and '-' are allowed.",
|
|
343
343
|
'id'
|
|
344
344
|
)));
|
|
345
345
|
return false;
|
|
346
346
|
}
|
|
347
347
|
if (typeof descriptor.title !== 'string') {
|
|
348
|
-
collector.error(( localize(
|
|
348
|
+
collector.error(( localize(2525, "property `{0}` is mandatory and must be of type `string`", 'title')));
|
|
349
349
|
return false;
|
|
350
350
|
}
|
|
351
351
|
if (typeof descriptor.icon !== 'string') {
|
|
352
|
-
collector.error(( localize(
|
|
352
|
+
collector.error(( localize(2525, "property `{0}` is mandatory and must be of type `string`", 'icon')));
|
|
353
353
|
return false;
|
|
354
354
|
}
|
|
355
355
|
if (isFalsyOrWhitespace(descriptor.title)) {
|
|
356
356
|
collector.warn(( localize(
|
|
357
|
-
|
|
357
|
+
2526,
|
|
358
358
|
"property `{0}` is mandatory and must be of type `string` with non-empty value",
|
|
359
359
|
'title'
|
|
360
360
|
)));
|
|
@@ -424,7 +424,7 @@ let ViewsExtensionHandler = class ViewsExtensionHandler {
|
|
|
424
424
|
}
|
|
425
425
|
if (key === 'remote' && !isProposedApiEnabled(extension.description, 'contribViewsRemote')) {
|
|
426
426
|
collector.warn(( localize(
|
|
427
|
-
|
|
427
|
+
2527,
|
|
428
428
|
"View container '{0}' requires 'enabledApiProposals: [\"contribViewsRemote\"]' to be added to 'Remote'.",
|
|
429
429
|
key
|
|
430
430
|
)));
|
|
@@ -433,7 +433,7 @@ let ViewsExtensionHandler = class ViewsExtensionHandler {
|
|
|
433
433
|
const viewContainer = this.getViewContainer(key);
|
|
434
434
|
if (!viewContainer) {
|
|
435
435
|
collector.warn(( localize(
|
|
436
|
-
|
|
436
|
+
2528,
|
|
437
437
|
"View container '{0}' does not exist and all views registered to it will be added to 'Explorer'.",
|
|
438
438
|
key
|
|
439
439
|
)));
|
|
@@ -443,11 +443,11 @@ let ViewsExtensionHandler = class ViewsExtensionHandler {
|
|
|
443
443
|
for (let index = 0; index < value.length; index++) {
|
|
444
444
|
const item = value[index];
|
|
445
445
|
if (( viewIds.has(item.id))) {
|
|
446
|
-
collector.error(( localize(
|
|
446
|
+
collector.error(( localize(2529, "Cannot register multiple views with same id `{0}`", item.id)));
|
|
447
447
|
continue;
|
|
448
448
|
}
|
|
449
449
|
if (this.viewsRegistry.getView(item.id) !== null) {
|
|
450
|
-
collector.error(( localize(
|
|
450
|
+
collector.error(( localize(2530, "A view with id `{0}` is already registered.", item.id)));
|
|
451
451
|
continue;
|
|
452
452
|
}
|
|
453
453
|
const order = ExtensionIdentifier.equals(extension.description.identifier, container.extensionId)
|
|
@@ -462,7 +462,7 @@ let ViewsExtensionHandler = class ViewsExtensionHandler {
|
|
|
462
462
|
const initialVisibility = this.convertInitialVisibility(item.visibility);
|
|
463
463
|
const type = this.getViewType(item.type);
|
|
464
464
|
if (!type) {
|
|
465
|
-
collector.error(( localize(
|
|
465
|
+
collector.error(( localize(2531, "Unknown view type `{0}`.", item.type)));
|
|
466
466
|
continue;
|
|
467
467
|
}
|
|
468
468
|
let weight = undefined;
|
|
@@ -544,29 +544,29 @@ let ViewsExtensionHandler = class ViewsExtensionHandler {
|
|
|
544
544
|
}
|
|
545
545
|
isValidViewDescriptors(viewDescriptors, collector) {
|
|
546
546
|
if (!Array.isArray(viewDescriptors)) {
|
|
547
|
-
collector.error(( localize(
|
|
547
|
+
collector.error(( localize(2532, "views must be an array")));
|
|
548
548
|
return false;
|
|
549
549
|
}
|
|
550
550
|
for (const descriptor of viewDescriptors) {
|
|
551
551
|
if (typeof descriptor.id !== 'string') {
|
|
552
|
-
collector.error(( localize(
|
|
552
|
+
collector.error(( localize(2525, "property `{0}` is mandatory and must be of type `string`", 'id')));
|
|
553
553
|
return false;
|
|
554
554
|
}
|
|
555
555
|
if (typeof descriptor.name !== 'string') {
|
|
556
|
-
collector.error(( localize(
|
|
556
|
+
collector.error(( localize(2525, "property `{0}` is mandatory and must be of type `string`", 'name')));
|
|
557
557
|
return false;
|
|
558
558
|
}
|
|
559
559
|
if (descriptor.when && typeof descriptor.when !== 'string') {
|
|
560
|
-
collector.error(( localize(
|
|
560
|
+
collector.error(( localize(2533, "property `{0}` can be omitted or must be of type `string`", 'when')));
|
|
561
561
|
return false;
|
|
562
562
|
}
|
|
563
563
|
if (descriptor.icon && typeof descriptor.icon !== 'string') {
|
|
564
|
-
collector.error(( localize(
|
|
564
|
+
collector.error(( localize(2533, "property `{0}` can be omitted or must be of type `string`", 'icon')));
|
|
565
565
|
return false;
|
|
566
566
|
}
|
|
567
567
|
if (descriptor.contextualTitle && typeof descriptor.contextualTitle !== 'string') {
|
|
568
568
|
collector.error(( localize(
|
|
569
|
-
|
|
569
|
+
2533,
|
|
570
570
|
"property `{0}` can be omitted or must be of type `string`",
|
|
571
571
|
'contextualTitle'
|
|
572
572
|
)));
|
|
@@ -574,7 +574,7 @@ let ViewsExtensionHandler = class ViewsExtensionHandler {
|
|
|
574
574
|
}
|
|
575
575
|
if (descriptor.visibility && !this.convertInitialVisibility(descriptor.visibility)) {
|
|
576
576
|
collector.error(( localize(
|
|
577
|
-
|
|
577
|
+
2534,
|
|
578
578
|
"property `{0}` can be omitted or must be one of {1}",
|
|
579
579
|
'visibility',
|
|
580
580
|
( Object.values(InitialVisibility)).join(', ')
|
|
@@ -626,9 +626,9 @@ class ViewContainersDataRenderer extends Disposable {
|
|
|
626
626
|
return { data: { headers: [], rows: [] }, dispose: () => { } };
|
|
627
627
|
}
|
|
628
628
|
const headers = [
|
|
629
|
-
( localize(
|
|
630
|
-
( localize(
|
|
631
|
-
( localize(
|
|
629
|
+
( localize(2535, "ID")),
|
|
630
|
+
( localize(2536, "Title")),
|
|
631
|
+
( localize(2537, "Where")),
|
|
632
632
|
];
|
|
633
633
|
const rows = ( viewContainers
|
|
634
634
|
.sort((a, b) => a.id.localeCompare(b.id))
|
|
@@ -667,9 +667,9 @@ class ViewsDataRenderer extends Disposable {
|
|
|
667
667
|
return { data: { headers: [], rows: [] }, dispose: () => { } };
|
|
668
668
|
}
|
|
669
669
|
const headers = [
|
|
670
|
-
( localize(
|
|
671
|
-
( localize(
|
|
672
|
-
( localize(
|
|
670
|
+
( localize(2538, "ID")),
|
|
671
|
+
( localize(2539, "Name")),
|
|
672
|
+
( localize(2537, "Where")),
|
|
673
673
|
];
|
|
674
674
|
const rows = ( views
|
|
675
675
|
.sort((a, b) => a.id.localeCompare(b.id))
|
|
@@ -691,7 +691,7 @@ class ViewsDataRenderer extends Disposable {
|
|
|
691
691
|
}
|
|
692
692
|
( Registry.as(Extensions$2.ExtensionFeaturesRegistry)).registerExtensionFeature({
|
|
693
693
|
id: 'viewsContainers',
|
|
694
|
-
label: ( localize(
|
|
694
|
+
label: ( localize(2540, "View Containers")),
|
|
695
695
|
access: {
|
|
696
696
|
canToggle: false
|
|
697
697
|
},
|
|
@@ -699,7 +699,7 @@ class ViewsDataRenderer extends Disposable {
|
|
|
699
699
|
});
|
|
700
700
|
( Registry.as(Extensions$2.ExtensionFeaturesRegistry)).registerExtensionFeature({
|
|
701
701
|
id: 'views',
|
|
702
|
-
label: ( localize(
|
|
702
|
+
label: ( localize(2541, "Views")),
|
|
703
703
|
access: {
|
|
704
704
|
canToggle: false
|
|
705
705
|
},
|
|
@@ -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(2787, "Toggle Tree Sticky Scroll")),
|
|
786
|
+
mnemonicTitle: ( localize(2788, "&&Toggle Tree Sticky Scroll")),
|
|
787
787
|
},
|
|
788
788
|
category: 'View',
|
|
789
789
|
metadata: { description: ( localize(
|
|
790
|
-
|
|
790
|
+
2789,
|
|
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
|
|
@@ -149,7 +149,7 @@ registerAction2(class extends BaseNavigationAction {
|
|
|
149
149
|
constructor() {
|
|
150
150
|
super({
|
|
151
151
|
id: 'workbench.action.navigateLeft',
|
|
152
|
-
title: ( localize2(
|
|
152
|
+
title: ( localize2(2790, 'Navigate to the View on the Left')),
|
|
153
153
|
category: Categories.View,
|
|
154
154
|
f1: true
|
|
155
155
|
}, Direction.Left);
|
|
@@ -159,7 +159,7 @@ registerAction2(class extends BaseNavigationAction {
|
|
|
159
159
|
constructor() {
|
|
160
160
|
super({
|
|
161
161
|
id: 'workbench.action.navigateRight',
|
|
162
|
-
title: ( localize2(
|
|
162
|
+
title: ( localize2(2791, 'Navigate to the View on the Right')),
|
|
163
163
|
category: Categories.View,
|
|
164
164
|
f1: true
|
|
165
165
|
}, Direction.Right);
|
|
@@ -169,7 +169,7 @@ registerAction2(class extends BaseNavigationAction {
|
|
|
169
169
|
constructor() {
|
|
170
170
|
super({
|
|
171
171
|
id: 'workbench.action.navigateUp',
|
|
172
|
-
title: ( localize2(
|
|
172
|
+
title: ( localize2(2792, 'Navigate to the View Above')),
|
|
173
173
|
category: Categories.View,
|
|
174
174
|
f1: true
|
|
175
175
|
}, Direction.Up);
|
|
@@ -179,7 +179,7 @@ registerAction2(class extends BaseNavigationAction {
|
|
|
179
179
|
constructor() {
|
|
180
180
|
super({
|
|
181
181
|
id: 'workbench.action.navigateDown',
|
|
182
|
-
title: ( localize2(
|
|
182
|
+
title: ( localize2(2793, 'Navigate to the View Below')),
|
|
183
183
|
category: Categories.View,
|
|
184
184
|
f1: true
|
|
185
185
|
}, Direction.Down);
|
|
@@ -264,7 +264,7 @@ registerAction2(class extends BaseFocusAction {
|
|
|
264
264
|
constructor() {
|
|
265
265
|
super({
|
|
266
266
|
id: 'workbench.action.focusNextPart',
|
|
267
|
-
title: ( localize2(
|
|
267
|
+
title: ( localize2(2794, 'Focus Next Part')),
|
|
268
268
|
category: Categories.View,
|
|
269
269
|
f1: true,
|
|
270
270
|
keybinding: {
|
|
@@ -278,7 +278,7 @@ registerAction2(class extends BaseFocusAction {
|
|
|
278
278
|
constructor() {
|
|
279
279
|
super({
|
|
280
280
|
id: 'workbench.action.focusPreviousPart',
|
|
281
|
-
title: ( localize2(
|
|
281
|
+
title: ( localize2(2795, 'Focus Previous Part')),
|
|
282
282
|
category: Categories.View,
|
|
283
283
|
f1: true,
|
|
284
284
|
keybinding: {
|