@codingame/monaco-vscode-api 11.0.1 → 11.0.2
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/api.js +1 -1
- package/missing-services.js +2 -2
- package/package.json +8 -8
- package/services.js +2 -2
- package/vscode/src/vs/base/browser/ui/dialog/dialog.js +6 -6
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +1 -1
- package/vscode/src/vs/base/browser/ui/splitview/paneview.js +1 -1
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +1 -1
- package/vscode/src/vs/editor/browser/coreCommands.js +3 -3
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +2 -2
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +5 -5
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +49 -49
- package/vscode/src/vs/platform/configuration/common/configurationModels.js +5 -20
- package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +1 -1
- package/vscode/src/vs/platform/languagePacks/common/localizedStrings.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +1 -1
- package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +42 -42
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +129 -129
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +25 -25
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +21 -21
- package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +18 -18
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +5 -5
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +61 -61
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +15 -15
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +18 -18
- package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarActions.js +13 -13
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +7 -7
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +1 -1
- package/vscode/src/vs/workbench/browser/window.js +16 -16
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +131 -131
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +9 -9
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +15 -15
- package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +10 -10
- package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +2 -2
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +173 -173
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +24 -24
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +4 -4
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +18 -18
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +14 -14
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +84 -84
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +33 -33
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +8 -8
- package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +6 -6
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +15 -15
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +17 -17
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +60 -60
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +2 -2
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +23 -23
- package/vscode/src/vs/workbench/contrib/scm/browser/scmHistory.js +13 -13
- package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +10 -10
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +10 -10
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTopBar.js +8 -8
- package/vscode/src/vs/workbench/contrib/search/browser/searchIcons.js +20 -20
- package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +2 -2
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/abstractSnippetsActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +5 -5
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +3 -3
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +16 -16
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +1 -1
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +7 -7
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +9 -9
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
- package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +8 -8
|
@@ -16,7 +16,7 @@ function registerQuickChatActions() {
|
|
|
16
16
|
constructor() {
|
|
17
17
|
super({
|
|
18
18
|
id: 'workbench.action.quickchat.openInChatView',
|
|
19
|
-
title: ( localize2(
|
|
19
|
+
title: ( localize2(4636, "Open in Chat View")),
|
|
20
20
|
f1: false,
|
|
21
21
|
category: CHAT_CATEGORY,
|
|
22
22
|
icon: Codicon.commentDiscussion,
|
|
@@ -36,7 +36,7 @@ function registerQuickChatActions() {
|
|
|
36
36
|
constructor() {
|
|
37
37
|
super({
|
|
38
38
|
id: 'workbench.action.quickchat.close',
|
|
39
|
-
title: ( localize2(
|
|
39
|
+
title: ( localize2(4637, "Close Quick Chat")),
|
|
40
40
|
f1: false,
|
|
41
41
|
category: CHAT_CATEGORY,
|
|
42
42
|
icon: Codicon.close,
|
|
@@ -56,7 +56,7 @@ function registerQuickChatActions() {
|
|
|
56
56
|
constructor() {
|
|
57
57
|
super({
|
|
58
58
|
id: 'workbench.action.quickchat.launchInlineChat',
|
|
59
|
-
title: ( localize2(
|
|
59
|
+
title: ( localize2(4638, "Launch Inline Chat")),
|
|
60
60
|
f1: false,
|
|
61
61
|
category: CHAT_CATEGORY
|
|
62
62
|
});
|
|
@@ -84,7 +84,7 @@ class QuickChatGlobalAction extends Action2 {
|
|
|
84
84
|
constructor() {
|
|
85
85
|
super({
|
|
86
86
|
id: ASK_QUICK_QUESTION_ACTION_ID,
|
|
87
|
-
title: ( localize2(
|
|
87
|
+
title: ( localize2(4639, 'Quick Chat')),
|
|
88
88
|
precondition: CONTEXT_CHAT_ENABLED,
|
|
89
89
|
icon: Codicon.commentDiscussion,
|
|
90
90
|
f1: false,
|
|
@@ -99,7 +99,7 @@ class QuickChatGlobalAction extends Action2 {
|
|
|
99
99
|
order: 5
|
|
100
100
|
},
|
|
101
101
|
metadata: {
|
|
102
|
-
description: ( localize(
|
|
102
|
+
description: ( localize(4640, 'Toggle the quick chat')),
|
|
103
103
|
args: [{
|
|
104
104
|
name: 'args',
|
|
105
105
|
schema: {
|
|
@@ -109,18 +109,18 @@ class QuickChatGlobalAction extends Action2 {
|
|
|
109
109
|
required: ['query'],
|
|
110
110
|
properties: {
|
|
111
111
|
query: {
|
|
112
|
-
description: ( localize(
|
|
112
|
+
description: ( localize(4641, "The query to open the quick chat with")),
|
|
113
113
|
type: 'string'
|
|
114
114
|
},
|
|
115
115
|
isPartialQuery: {
|
|
116
|
-
description: ( localize(
|
|
116
|
+
description: ( localize(4642, "Whether the query is partial; it will wait for more user input")),
|
|
117
117
|
type: 'boolean'
|
|
118
118
|
}
|
|
119
119
|
},
|
|
120
120
|
},
|
|
121
121
|
{
|
|
122
122
|
type: 'string',
|
|
123
|
-
description: ( localize(
|
|
123
|
+
description: ( localize(4641, "The query to open the quick chat with"))
|
|
124
124
|
}
|
|
125
125
|
]
|
|
126
126
|
}
|
|
@@ -150,7 +150,7 @@ class AskQuickChatAction extends Action2 {
|
|
|
150
150
|
super({
|
|
151
151
|
id: `workbench.action.openQuickChat`,
|
|
152
152
|
category: CHAT_CATEGORY,
|
|
153
|
-
title: ( localize2(
|
|
153
|
+
title: ( localize2(4643, "Open Quick Chat")),
|
|
154
154
|
f1: true
|
|
155
155
|
});
|
|
156
156
|
}
|
|
@@ -17,17 +17,17 @@ const createCodeActionsAutoSave = (description) => {
|
|
|
17
17
|
enum: ['always', 'explicit', 'never', true, false],
|
|
18
18
|
enumDescriptions: [
|
|
19
19
|
( localize(
|
|
20
|
-
|
|
20
|
+
4546,
|
|
21
21
|
'Triggers Code Actions on explicit saves and auto saves triggered by window or focus changes.'
|
|
22
22
|
)),
|
|
23
|
-
( localize(
|
|
24
|
-
( localize(
|
|
23
|
+
( localize(4547, 'Triggers Code Actions only when explicitly saved')),
|
|
24
|
+
( localize(4548, 'Never triggers Code Actions on save')),
|
|
25
25
|
( localize(
|
|
26
|
-
|
|
26
|
+
4549,
|
|
27
27
|
'Triggers Code Actions only when explicitly saved. This value will be deprecated in favor of "explicit".'
|
|
28
28
|
)),
|
|
29
29
|
( localize(
|
|
30
|
-
|
|
30
|
+
4550,
|
|
31
31
|
'Never triggers Code Actions on save. This value will be deprecated in favor of "never".'
|
|
32
32
|
))
|
|
33
33
|
],
|
|
@@ -40,14 +40,14 @@ const createNotebookCodeActionsAutoSave = (description) => {
|
|
|
40
40
|
type: ['string', 'boolean'],
|
|
41
41
|
enum: ['explicit', 'never', true, false],
|
|
42
42
|
enumDescriptions: [
|
|
43
|
-
( localize(
|
|
44
|
-
( localize(
|
|
43
|
+
( localize(4551, 'Triggers Code Actions only when explicitly saved.')),
|
|
44
|
+
( localize(4552, 'Never triggers Code Actions on save.')),
|
|
45
45
|
( localize(
|
|
46
|
-
|
|
46
|
+
4553,
|
|
47
47
|
'Triggers Code Actions only when explicitly saved. This value will be deprecated in favor of "explicit".'
|
|
48
48
|
)),
|
|
49
49
|
( localize(
|
|
50
|
-
|
|
50
|
+
4554,
|
|
51
51
|
'Triggers Code Actions only when explicitly saved. This value will be deprecated in favor of "never".'
|
|
52
52
|
))
|
|
53
53
|
],
|
|
@@ -69,7 +69,7 @@ const codeActionsOnSaveSchema = {
|
|
|
69
69
|
}
|
|
70
70
|
],
|
|
71
71
|
markdownDescription: ( localize(
|
|
72
|
-
|
|
72
|
+
4555,
|
|
73
73
|
'Run Code Actions for the editor on save. Code Actions must be specified and the editor must not be shutting down. When {0} is set to `afterDelay`, Code Actions will only be run when the file is saved explicitly. Example: `"source.organizeImports": "explicit" `',
|
|
74
74
|
'`#files.autoSave#`'
|
|
75
75
|
)),
|
|
@@ -101,7 +101,7 @@ const notebookCodeActionsOnSaveSchema = {
|
|
|
101
101
|
}
|
|
102
102
|
],
|
|
103
103
|
markdownDescription: ( localize(
|
|
104
|
-
|
|
104
|
+
4556,
|
|
105
105
|
'Run a series of Code Actions for a notebook on save. Code Actions must be specified and the editor must not be shutting down. When {0} is set to `afterDelay`, Code Actions will only be run when the file is saved explicitly. Example: `"notebook.source.organizeImports": "explicit"`',
|
|
106
106
|
'`#files.autoSave#`'
|
|
107
107
|
)),
|
|
@@ -157,12 +157,12 @@ let CodeActionsContribution = class CodeActionsContribution extends Disposable {
|
|
|
157
157
|
for (const [sourceAction, props] of this.getSourceActions(codeActionContributions)) {
|
|
158
158
|
this.settings.add(sourceAction);
|
|
159
159
|
newProperties[sourceAction] = createCodeActionsAutoSave(( localize(
|
|
160
|
-
|
|
160
|
+
4557,
|
|
161
161
|
"Controls whether '{0}' actions should be run on file save.",
|
|
162
162
|
props.title
|
|
163
163
|
)));
|
|
164
164
|
newNotebookProperties[sourceAction] = createNotebookCodeActionsAutoSave(( localize(
|
|
165
|
-
|
|
165
|
+
4557,
|
|
166
166
|
"Controls whether '{0}' actions should be run on file save.",
|
|
167
167
|
props.title
|
|
168
168
|
)));
|
|
@@ -178,12 +178,12 @@ let CodeActionsContribution = class CodeActionsContribution extends Disposable {
|
|
|
178
178
|
for (const codeActionKind of this.settings) {
|
|
179
179
|
if (!properties[codeActionKind]) {
|
|
180
180
|
properties[codeActionKind] = createCodeActionsAutoSave(( localize(
|
|
181
|
-
|
|
181
|
+
4557,
|
|
182
182
|
"Controls whether '{0}' actions should be run on file save.",
|
|
183
183
|
codeActionKind
|
|
184
184
|
)));
|
|
185
185
|
notebookProperties[codeActionKind] = createNotebookCodeActionsAutoSave(( localize(
|
|
186
|
-
|
|
186
|
+
4557,
|
|
187
187
|
"Controls whether '{0}' actions should be run on file save.",
|
|
188
188
|
codeActionKind
|
|
189
189
|
)));
|
|
@@ -16,14 +16,14 @@ var CodeActionExtensionPointFields;
|
|
|
16
16
|
})(CodeActionExtensionPointFields || (CodeActionExtensionPointFields = {}))));
|
|
17
17
|
const codeActionsExtensionPointSchema = ( (Object.freeze({
|
|
18
18
|
type: 'array',
|
|
19
|
-
markdownDescription: ( localize(
|
|
19
|
+
markdownDescription: ( localize(4530, "Configure which editor to use for a resource.")),
|
|
20
20
|
items: {
|
|
21
21
|
type: 'object',
|
|
22
22
|
required: [CodeActionExtensionPointFields.languages, CodeActionExtensionPointFields.actions],
|
|
23
23
|
properties: {
|
|
24
24
|
[CodeActionExtensionPointFields.languages]: {
|
|
25
25
|
type: 'array',
|
|
26
|
-
description: ( localize(
|
|
26
|
+
description: ( localize(4531, "Language modes that the code actions are enabled for.")),
|
|
27
27
|
items: { type: 'string' }
|
|
28
28
|
},
|
|
29
29
|
[CodeActionExtensionPointFields.actions]: {
|
|
@@ -32,15 +32,15 @@ const codeActionsExtensionPointSchema = ( (Object.freeze({
|
|
|
32
32
|
properties: {
|
|
33
33
|
[CodeActionExtensionPointFields.kind]: {
|
|
34
34
|
type: 'string',
|
|
35
|
-
markdownDescription: ( localize(
|
|
35
|
+
markdownDescription: ( localize(4532, "`CodeActionKind` of the contributed code action.")),
|
|
36
36
|
},
|
|
37
37
|
[CodeActionExtensionPointFields.title]: {
|
|
38
38
|
type: 'string',
|
|
39
|
-
description: ( localize(
|
|
39
|
+
description: ( localize(4533, "Label for the code action used in the UI.")),
|
|
40
40
|
},
|
|
41
41
|
[CodeActionExtensionPointFields.description]: {
|
|
42
42
|
type: 'string',
|
|
43
|
-
description: ( localize(
|
|
43
|
+
description: ( localize(4534, "Description of what the code action does.")),
|
|
44
44
|
},
|
|
45
45
|
}
|
|
46
46
|
}
|
|
@@ -69,10 +69,10 @@ class CodeActionsTableRenderer extends Disposable {
|
|
|
69
69
|
contribution => ( (contribution.actions.map(action => ({ ...action, languages: contribution.languages }))))
|
|
70
70
|
))).flat();
|
|
71
71
|
const headers = [
|
|
72
|
-
( localize(
|
|
73
|
-
( localize(
|
|
74
|
-
( localize(
|
|
75
|
-
( localize(
|
|
72
|
+
( localize(4535, "Title")),
|
|
73
|
+
( localize(4536, "Kind")),
|
|
74
|
+
( localize(4537, "Description")),
|
|
75
|
+
( localize(4538, "Languages"))
|
|
76
76
|
];
|
|
77
77
|
const rows = ( (flatActions.sort((a, b) => a.title.localeCompare(b.title))
|
|
78
78
|
.map(action => {
|
|
@@ -94,7 +94,7 @@ class CodeActionsTableRenderer extends Disposable {
|
|
|
94
94
|
}
|
|
95
95
|
( (Registry.as(Extensions.ExtensionFeaturesRegistry))).registerExtensionFeature({
|
|
96
96
|
id: 'codeActions',
|
|
97
|
-
label: ( localize(
|
|
97
|
+
label: ( localize(4539, "Code Actions")),
|
|
98
98
|
access: {
|
|
99
99
|
canToggle: false,
|
|
100
100
|
},
|
|
@@ -11,14 +11,14 @@ var DocumentationExtensionPointFields;
|
|
|
11
11
|
)));
|
|
12
12
|
const documentationExtensionPointSchema = ( (Object.freeze({
|
|
13
13
|
type: 'object',
|
|
14
|
-
description: ( localize(
|
|
14
|
+
description: ( localize(4540, "Contributed documentation.")),
|
|
15
15
|
properties: {
|
|
16
16
|
'refactoring': {
|
|
17
17
|
type: 'array',
|
|
18
|
-
description: ( localize(
|
|
18
|
+
description: ( localize(4541, "Contributed documentation for refactorings.")),
|
|
19
19
|
items: {
|
|
20
20
|
type: 'object',
|
|
21
|
-
description: ( localize(
|
|
21
|
+
description: ( localize(4542, "Contributed documentation for refactoring.")),
|
|
22
22
|
required: [
|
|
23
23
|
DocumentationExtensionPointFields.title,
|
|
24
24
|
DocumentationExtensionPointFields.when,
|
|
@@ -27,15 +27,15 @@ const documentationExtensionPointSchema = ( (Object.freeze({
|
|
|
27
27
|
properties: {
|
|
28
28
|
[DocumentationExtensionPointFields.title]: {
|
|
29
29
|
type: 'string',
|
|
30
|
-
description: ( localize(
|
|
30
|
+
description: ( localize(4543, "Label for the documentation used in the UI.")),
|
|
31
31
|
},
|
|
32
32
|
[DocumentationExtensionPointFields.when]: {
|
|
33
33
|
type: 'string',
|
|
34
|
-
description: ( localize(
|
|
34
|
+
description: ( localize(4544, "When clause.")),
|
|
35
35
|
},
|
|
36
36
|
[DocumentationExtensionPointFields.command]: {
|
|
37
37
|
type: 'string',
|
|
38
|
-
description: ( localize(
|
|
38
|
+
description: ( localize(4545, "Command executed.")),
|
|
39
39
|
},
|
|
40
40
|
},
|
|
41
41
|
}
|
|
@@ -24,12 +24,12 @@ import { isWindows } from '../../../../../base/common/platform.js';
|
|
|
24
24
|
|
|
25
25
|
var EditorDictation_1;
|
|
26
26
|
const EDITOR_DICTATION_IN_PROGRESS = ( (new RawContextKey('editorDictation.inProgress', false)));
|
|
27
|
-
const VOICE_CATEGORY = ( localize2(
|
|
27
|
+
const VOICE_CATEGORY = ( localize2(10729, "Voice"));
|
|
28
28
|
class EditorDictationStartAction extends EditorAction2 {
|
|
29
29
|
constructor() {
|
|
30
30
|
super({
|
|
31
31
|
id: 'workbench.action.editorDictation.start',
|
|
32
|
-
title: ( localize2(
|
|
32
|
+
title: ( localize2(10730, "Start Dictation in Editor")),
|
|
33
33
|
category: VOICE_CATEGORY,
|
|
34
34
|
precondition: ( (ContextKeyExpr.and(
|
|
35
35
|
HasSpeechProvider,
|
|
@@ -69,7 +69,7 @@ class EditorDictationStopAction extends EditorAction2 {
|
|
|
69
69
|
constructor() {
|
|
70
70
|
super({
|
|
71
71
|
id: EditorDictationStopAction.ID,
|
|
72
|
-
title: ( localize2(
|
|
72
|
+
title: ( localize2(10731, "Stop Dictation in Editor")),
|
|
73
73
|
category: VOICE_CATEGORY,
|
|
74
74
|
precondition: EDITOR_DICTATION_IN_PROGRESS,
|
|
75
75
|
f1: true,
|
|
@@ -94,7 +94,7 @@ class DictationWidget extends Disposable {
|
|
|
94
94
|
const stopActionKeybinding = keybindingService.lookupKeybinding(EditorDictationStopAction.ID)?.getLabel();
|
|
95
95
|
actionBar.push(toAction({
|
|
96
96
|
id: EditorDictationStopAction.ID,
|
|
97
|
-
label: stopActionKeybinding ? ( localize(
|
|
97
|
+
label: stopActionKeybinding ? ( localize(10732, "Stop Dictation ({0})", stopActionKeybinding)) : ( localize(10733, "Stop Dictation")),
|
|
98
98
|
class: ThemeIcon.asClassName(Codicon.micFilled),
|
|
99
99
|
run: () => EditorDictation.get(editor)?.stop()
|
|
100
100
|
}), { icon: true, label: false, keybinding: stopActionKeybinding });
|
|
@@ -97,7 +97,7 @@ class InspectEditorTokens extends EditorAction {
|
|
|
97
97
|
constructor() {
|
|
98
98
|
super({
|
|
99
99
|
id: 'editor.action.inspectTMScopes',
|
|
100
|
-
label: ( localize(
|
|
100
|
+
label: ( localize(3119, "Developer: Inspect Editor Tokens and Scopes")),
|
|
101
101
|
alias: 'Developer: Inspect Editor Tokens and Scopes',
|
|
102
102
|
precondition: undefined
|
|
103
103
|
});
|
|
@@ -165,7 +165,7 @@ class InspectEditorTokensWidget extends Disposable {
|
|
|
165
165
|
const semanticTokens = this._computeSemanticTokens(position);
|
|
166
166
|
const tree = this._treeSitterService.getParseResult(this._model);
|
|
167
167
|
clearNode(this._domNode);
|
|
168
|
-
this._domNode.appendChild(document.createTextNode(( localize(
|
|
168
|
+
this._domNode.appendChild(document.createTextNode(( localize(3120, "Loading..."))));
|
|
169
169
|
Promise.all([grammar, semanticTokens]).then(([grammar, semanticTokens]) => {
|
|
170
170
|
if (this._isDisposed) {
|
|
171
171
|
return;
|
|
@@ -305,12 +305,12 @@ let CustomEditorInput = class CustomEditorInput extends LazilyResolvedWebviewEdi
|
|
|
305
305
|
claim(claimant, targetWindow, scopedContextKeyService) {
|
|
306
306
|
if (this.doCanMove(targetWindow.vscodeWindowId) !== true) {
|
|
307
307
|
throw createEditorOpenError(localize(
|
|
308
|
-
|
|
308
|
+
9697,
|
|
309
309
|
"Unable to open the editor in this window, it contains modifications that can only be saved in the original window."
|
|
310
310
|
), [
|
|
311
311
|
toAction({
|
|
312
312
|
id: 'openInOriginalWindow',
|
|
313
|
-
label: localize(
|
|
313
|
+
label: localize(9698, "Open in Original Window"),
|
|
314
314
|
run: async () => {
|
|
315
315
|
const originalPart = this.editorGroupsService.getPart(this.layoutService.getContainer(getWindow(this.webview.container).window));
|
|
316
316
|
const currentPart = this.editorGroupsService.getPart(this.layoutService.getContainer(targetWindow.window));
|
|
@@ -336,7 +336,7 @@ let CustomEditorInput = class CustomEditorInput extends LazilyResolvedWebviewEdi
|
|
|
336
336
|
const sourceWindowId = getWindow(this.webview.container).vscodeWindowId;
|
|
337
337
|
if (sourceWindowId !== targetWindowId) {
|
|
338
338
|
return ( localize(
|
|
339
|
-
|
|
339
|
+
9699,
|
|
340
340
|
"Unable to move '{0}': The editor contains changes that can only be saved in its current window.",
|
|
341
341
|
this.getName()
|
|
342
342
|
));
|
|
@@ -25,11 +25,11 @@ import { IDebugService } from '../common/debug.service.js';
|
|
|
25
25
|
import './media/callStackEditorContribution.css.js';
|
|
26
26
|
|
|
27
27
|
const topStackFrameColor = registerColor('editor.stackFrameHighlightBackground', { dark: '#ffff0033', light: '#ffff6673', hcDark: '#ffff0033', hcLight: '#ffff6673' }, ( localize(
|
|
28
|
-
|
|
28
|
+
5896,
|
|
29
29
|
'Background color for the highlight of line at the top stack frame position.'
|
|
30
30
|
)));
|
|
31
31
|
const focusedStackFrameColor = registerColor('editor.focusedStackFrameHighlightBackground', { dark: '#7abd7a4d', light: '#cee7ce73', hcDark: '#7abd7a4d', hcLight: '#cee7ce73' }, ( localize(
|
|
32
|
-
|
|
32
|
+
5897,
|
|
33
33
|
'Background color for the highlight of line at focused stack frame position.'
|
|
34
34
|
)));
|
|
35
35
|
const stickiness = 1 ;
|