@codingame/monaco-vscode-api 11.0.1 → 11.1.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/api.js +1 -1
- package/extensions.d.ts +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/common/date.js +61 -61
- package/vscode/src/vs/base/common/errorMessage.js +15 -6
- package/vscode/src/vs/editor/browser/coreCommands.js +3 -3
- package/vscode/src/vs/editor/browser/editorExtensions.js +6 -6
- 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/config/editorOptions.js +364 -364
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
- package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +30 -30
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +5 -5
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +49 -49
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/configuration/common/configurationModels.js +5 -20
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/files/common/files.js +6 -6
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +1 -1
- package/vscode/src/vs/platform/log/common/log.js +6 -6
- package/vscode/src/vs/platform/markers/common/markers.js +3 -3
- package/vscode/src/vs/platform/request/common/request.js +14 -14
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +5 -5
- package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +42 -42
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -31
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +129 -129
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +21 -21
- package/vscode/src/vs/workbench/browser/editor.js +2 -2
- 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/editorQuickAccess.js +5 -5
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +61 -61
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +7 -7
- package/vscode/src/vs/workbench/browser/quickaccess.js +1 -1
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +217 -217
- package/vscode/src/vs/workbench/common/configuration.js +10 -10
- package/vscode/src/vs/workbench/common/contextkeys.js +70 -70
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
- 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/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
- 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/debug/browser/debugColors.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +63 -63
- 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/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/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +52 -52
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
- 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/folding/browser/folding.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- 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/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/symbolsQuickAccess.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +23 -23
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +6 -6
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +3 -3
- 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/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -5
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +15 -15
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +1 -1
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +6 -6
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +5 -5
- 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/search/common/queryBuilder.js +1 -1
- 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/colorExtensionPoint.js +22 -22
- package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +8 -8
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +7 -7
|
@@ -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(4700, "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(4701, "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(4702, "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(4703, '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(4704, '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(4705, "The query to open the quick chat with")),
|
|
113
113
|
type: 'string'
|
|
114
114
|
},
|
|
115
115
|
isPartialQuery: {
|
|
116
|
-
description: ( localize(
|
|
116
|
+
description: ( localize(4706, "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(4705, "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(4707, "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
|
+
4618,
|
|
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(4619, 'Triggers Code Actions only when explicitly saved')),
|
|
24
|
+
( localize(4620, 'Never triggers Code Actions on save')),
|
|
25
25
|
( localize(
|
|
26
|
-
|
|
26
|
+
4621,
|
|
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
|
+
4622,
|
|
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(4623, 'Triggers Code Actions only when explicitly saved.')),
|
|
44
|
+
( localize(4624, 'Never triggers Code Actions on save.')),
|
|
45
45
|
( localize(
|
|
46
|
-
|
|
46
|
+
4625,
|
|
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
|
+
4626,
|
|
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
|
+
4627,
|
|
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
|
+
4628,
|
|
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
|
+
4629,
|
|
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
|
+
4629,
|
|
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
|
+
4629,
|
|
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
|
+
4629,
|
|
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(4602, "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(4603, "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(4604, "`CodeActionKind` of the contributed code action.")),
|
|
36
36
|
},
|
|
37
37
|
[CodeActionExtensionPointFields.title]: {
|
|
38
38
|
type: 'string',
|
|
39
|
-
description: ( localize(
|
|
39
|
+
description: ( localize(4605, "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(4606, "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(4607, "Title")),
|
|
73
|
+
( localize(4608, "Kind")),
|
|
74
|
+
( localize(4609, "Description")),
|
|
75
|
+
( localize(4610, "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(4611, "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(4612, "Contributed documentation.")),
|
|
15
15
|
properties: {
|
|
16
16
|
'refactoring': {
|
|
17
17
|
type: 'array',
|
|
18
|
-
description: ( localize(
|
|
18
|
+
description: ( localize(4613, "Contributed documentation for refactorings.")),
|
|
19
19
|
items: {
|
|
20
20
|
type: 'object',
|
|
21
|
-
description: ( localize(
|
|
21
|
+
description: ( localize(4614, "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(4615, "Label for the documentation used in the UI.")),
|
|
31
31
|
},
|
|
32
32
|
[DocumentationExtensionPointFields.when]: {
|
|
33
33
|
type: 'string',
|
|
34
|
-
description: ( localize(
|
|
34
|
+
description: ( localize(4616, "When clause.")),
|
|
35
35
|
},
|
|
36
36
|
[DocumentationExtensionPointFields.command]: {
|
|
37
37
|
type: 'string',
|
|
38
|
-
description: ( localize(
|
|
38
|
+
description: ( localize(4617, "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(10632, "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(10633, "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(10634, "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(10635, "Stop Dictation ({0})", stopActionKeybinding)) : ( localize(10636, "Stop Dictation")),
|
|
98
98
|
class: ThemeIcon.asClassName(Codicon.micFilled),
|
|
99
99
|
run: () => EditorDictation.get(editor)?.stop()
|
|
100
100
|
}), { icon: true, label: false, keybinding: stopActionKeybinding });
|
|
@@ -29,19 +29,19 @@ class DiffEditorAccessibilityHelp {
|
|
|
29
29
|
return;
|
|
30
30
|
}
|
|
31
31
|
const switchSides = ( localize(
|
|
32
|
-
|
|
32
|
+
4570,
|
|
33
33
|
"Run the command Diff Editor: Switch Side{0} to toggle between the original and modified editors.",
|
|
34
34
|
'<keybinding:diffEditor.switchSide>'
|
|
35
35
|
));
|
|
36
36
|
const diffEditorActiveAnnouncement = ( localize(
|
|
37
|
-
|
|
37
|
+
4571,
|
|
38
38
|
"The setting, accessibility.verbosity.diffEditorActive, controls if a diff editor announcement is made when it becomes the active editor."
|
|
39
39
|
));
|
|
40
40
|
const keys = ['accessibility.signals.diffLineDeleted', 'accessibility.signals.diffLineInserted', 'accessibility.signals.diffLineModified'];
|
|
41
41
|
const content = [
|
|
42
|
-
( localize(
|
|
42
|
+
( localize(4572, "You are in a diff editor.")),
|
|
43
43
|
( localize(
|
|
44
|
-
|
|
44
|
+
4573,
|
|
45
45
|
"View the next{0} or previous{1} diff in diff review mode, which is optimized for screen readers.",
|
|
46
46
|
'<keybinding:' + AccessibleDiffViewerNext.id + '>',
|
|
47
47
|
'<keybinding:' + AccessibleDiffViewerPrev.id + '>'
|
|
@@ -49,7 +49,7 @@ class DiffEditorAccessibilityHelp {
|
|
|
49
49
|
switchSides,
|
|
50
50
|
diffEditorActiveAnnouncement,
|
|
51
51
|
( localize(
|
|
52
|
-
|
|
52
|
+
4574,
|
|
53
53
|
"To control which accessibility signals should be played, the following settings can be configured: {0}.",
|
|
54
54
|
keys.join(', ')
|
|
55
55
|
)),
|
|
@@ -34,7 +34,7 @@ let DiffEditorHelperContribution = class DiffEditorHelperContribution extends Di
|
|
|
34
34
|
const onlyWhiteSpaceChange = ( (computationResult.map(r => r && !r.identical && r.changes2.length === 0)));
|
|
35
35
|
this._register(autorunWithStore((reader, store) => {
|
|
36
36
|
if (onlyWhiteSpaceChange.read(reader)) {
|
|
37
|
-
const helperWidget = store.add(this._instantiationService.createInstance(FloatingEditorClickWidget, this._diffEditor.getModifiedEditor(), ( localize(
|
|
37
|
+
const helperWidget = store.add(this._instantiationService.createInstance(FloatingEditorClickWidget, this._diffEditor.getModifiedEditor(), ( localize(667, "Show Whitespace Differences")), null));
|
|
38
38
|
store.add(helperWidget.onClick(() => {
|
|
39
39
|
this._textResourceConfigurationService.updateValue(this._diffEditor.getModel().modified.uri, 'diffEditor.ignoreTrimWhitespace', false);
|
|
40
40
|
}));
|
|
@@ -45,11 +45,11 @@ let DiffEditorHelperContribution = class DiffEditorHelperContribution extends Di
|
|
|
45
45
|
const diffComputationResult = this._diffEditor.getDiffComputationResult();
|
|
46
46
|
if (diffComputationResult && diffComputationResult.quitEarly) {
|
|
47
47
|
this._notificationService.prompt(Severity$1.Warning, ( localize(
|
|
48
|
-
|
|
48
|
+
668,
|
|
49
49
|
"The diff algorithm was stopped early (after {0} ms.)",
|
|
50
50
|
this._diffEditor.maxComputationTime
|
|
51
51
|
)), [{
|
|
52
|
-
label: ( localize(
|
|
52
|
+
label: ( localize(669, "Remove Limit")),
|
|
53
53
|
run: () => {
|
|
54
54
|
this._textResourceConfigurationService.updateValue(this._diffEditor.getModel().modified.uri, 'diffEditor.maxComputationTime', 0);
|
|
55
55
|
}
|
|
@@ -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(3141, "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(3142, "Loading..."))));
|
|
169
169
|
Promise.all([grammar, semanticTokens]).then(([grammar, semanticTokens]) => {
|
|
170
170
|
if (this._isDisposed) {
|
|
171
171
|
return;
|
|
@@ -25,16 +25,16 @@ let LargeFileOptimizationsWarner = class LargeFileOptimizationsWarner extends Di
|
|
|
25
25
|
}
|
|
26
26
|
if (model.isTooLargeForTokenization()) {
|
|
27
27
|
const message = ( localize(
|
|
28
|
-
|
|
28
|
+
670,
|
|
29
29
|
"{0}: tokenization, wrapping, folding, codelens, word highlighting and sticky scroll have been turned off for this large file in order to reduce memory usage and avoid freezing or crashing.",
|
|
30
30
|
basename(model.uri.path)
|
|
31
31
|
));
|
|
32
32
|
this._notificationService.prompt(Severity$1.Info, message, [
|
|
33
33
|
{
|
|
34
|
-
label: ( localize(
|
|
34
|
+
label: ( localize(671, "Forcefully Enable Features")),
|
|
35
35
|
run: () => {
|
|
36
36
|
this._configurationService.updateValue(`editor.largeFileOptimizations`, false).then(() => {
|
|
37
|
-
this._notificationService.info(( localize(
|
|
37
|
+
this._notificationService.info(( localize(672, "Please reopen file in order for this setting to take effect.")));
|
|
38
38
|
}, (err) => {
|
|
39
39
|
this._notificationService.error(err);
|
|
40
40
|
});
|
package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js
CHANGED
|
@@ -144,7 +144,7 @@ let GotoSymbolQuickAccessProvider = class GotoSymbolQuickAccessProvider extends
|
|
|
144
144
|
return true;
|
|
145
145
|
});
|
|
146
146
|
if (filteredItems.length === 0) {
|
|
147
|
-
const label = ( localize(
|
|
147
|
+
const label = ( localize(924, 'No matching entries'));
|
|
148
148
|
picker.items = [{ label, index: -1, kind: 14 }];
|
|
149
149
|
picker.ariaLabel = label;
|
|
150
150
|
}
|
|
@@ -188,8 +188,8 @@ class GotoSymbolAction extends Action2 {
|
|
|
188
188
|
super({
|
|
189
189
|
id: GotoSymbolAction.ID,
|
|
190
190
|
title: {
|
|
191
|
-
...( localize2(
|
|
192
|
-
mnemonicTitle: ( localize(
|
|
191
|
+
...( localize2(925, "Go to Symbol in Editor...")),
|
|
192
|
+
mnemonicTitle: ( localize(926, "Go to &&Symbol in Editor...")),
|
|
193
193
|
},
|
|
194
194
|
f1: true,
|
|
195
195
|
keybinding: {
|
|
@@ -216,16 +216,16 @@ registerAction2(GotoSymbolAction);
|
|
|
216
216
|
ctor: GotoSymbolQuickAccessProvider,
|
|
217
217
|
prefix: AbstractGotoSymbolQuickAccessProvider.PREFIX,
|
|
218
218
|
contextKey: 'inFileSymbolsPicker',
|
|
219
|
-
placeholder: ( localize(
|
|
219
|
+
placeholder: ( localize(927, "Type the name of a symbol to go to.")),
|
|
220
220
|
helpEntries: [
|
|
221
221
|
{
|
|
222
|
-
description: ( localize(
|
|
222
|
+
description: ( localize(928, "Go to Symbol in Editor")),
|
|
223
223
|
prefix: AbstractGotoSymbolQuickAccessProvider.PREFIX,
|
|
224
224
|
commandId: GotoSymbolAction.ID,
|
|
225
225
|
commandCenterOrder: 40
|
|
226
226
|
},
|
|
227
227
|
{
|
|
228
|
-
description: ( localize(
|
|
228
|
+
description: ( localize(929, "Go to Symbol in Editor by Category")),
|
|
229
229
|
prefix: AbstractGotoSymbolQuickAccessProvider.PREFIX_BY_CATEGORY
|
|
230
230
|
}
|
|
231
231
|
]
|
|
@@ -190,7 +190,7 @@ let FormatOnSaveParticipant = class FormatOnSaveParticipant {
|
|
|
190
190
|
const nestedProgress = ( (new Progress(provider => {
|
|
191
191
|
progress.report({
|
|
192
192
|
message: ( localize(
|
|
193
|
-
|
|
193
|
+
673,
|
|
194
194
|
"Running '{0}' Formatter ([configure]({1})).",
|
|
195
195
|
provider.displayName || provider.extensionId && provider.extensionId.value || '???',
|
|
196
196
|
'command:workbench.action.openSettings?%5B%22editor.formatOnSave%22%5D'
|
|
@@ -300,7 +300,7 @@ let CodeActionOnSaveParticipant = class CodeActionOnSaveParticipant extends Disp
|
|
|
300
300
|
: ( (( (Object.keys(setting)))
|
|
301
301
|
.filter(x => setting[x] === 'never' || false)
|
|
302
302
|
.map(x => ( (new HierarchicalKind(x))))));
|
|
303
|
-
progress.report({ message: ( localize(
|
|
303
|
+
progress.report({ message: ( localize(674, "Quick Fixes")) });
|
|
304
304
|
const filteredSaveList = Array.isArray(setting) ? codeActionsOnSave : codeActionsOnSave.filter(x => setting[x.value] === 'always' || (((setting[x.value] === 'explicit' || setting[x.value] === true) && context.reason === 1) ));
|
|
305
305
|
await this.applyOnSaveActions(textEditorModel, filteredSaveList, excludedActions, progress, token);
|
|
306
306
|
}
|
|
@@ -318,7 +318,7 @@ let CodeActionOnSaveParticipant = class CodeActionOnSaveParticipant extends Disp
|
|
|
318
318
|
_report() {
|
|
319
319
|
progress.report({
|
|
320
320
|
message: ( localize(
|
|
321
|
-
|
|
321
|
+
675,
|
|
322
322
|
"Getting code actions from {0} ([configure]({1})).",
|
|
323
323
|
( ([...this._names].map(name => `'${name}'`))).join(', '),
|
|
324
324
|
'command:workbench.action.openSettings?%5B%22editor.codeActionsOnSave%22%5D'
|
|
@@ -345,7 +345,7 @@ let CodeActionOnSaveParticipant = class CodeActionOnSaveParticipant extends Disp
|
|
|
345
345
|
}
|
|
346
346
|
try {
|
|
347
347
|
for (const action of actionsToRun.validActions) {
|
|
348
|
-
progress.report({ message: ( localize(
|
|
348
|
+
progress.report({ message: ( localize(676, "Applying code action '{0}'.", action.action.title)) });
|
|
349
349
|
await this.instantiationService.invokeFunction(applyCodeAction, action, ApplyCodeActionReason.OnSave, {}, token);
|
|
350
350
|
if (token.isCancellationRequested) {
|
|
351
351
|
return;
|
|
@@ -10,8 +10,8 @@ class ToggleMinimapAction extends Action2 {
|
|
|
10
10
|
super({
|
|
11
11
|
id: ToggleMinimapAction.ID,
|
|
12
12
|
title: {
|
|
13
|
-
...( localize2(
|
|
14
|
-
mnemonicTitle: ( localize(
|
|
13
|
+
...( localize2(677, "Toggle Minimap")),
|
|
14
|
+
mnemonicTitle: ( localize(678, "&&Minimap")),
|
|
15
15
|
},
|
|
16
16
|
category: Categories.View,
|
|
17
17
|
f1: true,
|
|
@@ -15,7 +15,7 @@ class ToggleMultiCursorModifierAction extends Action2 {
|
|
|
15
15
|
constructor() {
|
|
16
16
|
super({
|
|
17
17
|
id: ToggleMultiCursorModifierAction.ID,
|
|
18
|
-
title: ( localize2(
|
|
18
|
+
title: ( localize2(679, 'Toggle Multi-Cursor Modifier')),
|
|
19
19
|
f1: true
|
|
20
20
|
});
|
|
21
21
|
}
|
|
@@ -55,7 +55,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSelectionMenu, {
|
|
|
55
55
|
group: '4_config',
|
|
56
56
|
command: {
|
|
57
57
|
id: ToggleMultiCursorModifierAction.ID,
|
|
58
|
-
title: ( localize(
|
|
58
|
+
title: ( localize(680, "Switch to Alt+Click for Multi-Cursor"))
|
|
59
59
|
},
|
|
60
60
|
when: ( (multiCursorModifier.isEqualTo('ctrlCmd'))),
|
|
61
61
|
order: 1
|
|
@@ -65,8 +65,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSelectionMenu, {
|
|
|
65
65
|
command: {
|
|
66
66
|
id: ToggleMultiCursorModifierAction.ID,
|
|
67
67
|
title: (isMacintosh
|
|
68
|
-
? ( localize(
|
|
69
|
-
: ( localize(
|
|
68
|
+
? ( localize(681, "Switch to Cmd+Click for Multi-Cursor"))
|
|
69
|
+
: ( localize(682, "Switch to Ctrl+Click for Multi-Cursor")))
|
|
70
70
|
},
|
|
71
71
|
when: ( (multiCursorModifier.isEqualTo('altKey'))),
|
|
72
72
|
order: 1
|
|
@@ -10,8 +10,8 @@ class ToggleRenderControlCharacterAction extends Action2 {
|
|
|
10
10
|
super({
|
|
11
11
|
id: ToggleRenderControlCharacterAction.ID,
|
|
12
12
|
title: {
|
|
13
|
-
...( localize2(
|
|
14
|
-
mnemonicTitle: ( localize(
|
|
13
|
+
...( localize2(683, "Toggle Control Characters")),
|
|
14
|
+
mnemonicTitle: ( localize(684, "Render &&Control Characters")),
|
|
15
15
|
},
|
|
16
16
|
category: Categories.View,
|
|
17
17
|
f1: true,
|
|
@@ -10,8 +10,8 @@ class ToggleRenderWhitespaceAction extends Action2 {
|
|
|
10
10
|
super({
|
|
11
11
|
id: ToggleRenderWhitespaceAction.ID,
|
|
12
12
|
title: {
|
|
13
|
-
...( localize2(
|
|
14
|
-
mnemonicTitle: ( localize(
|
|
13
|
+
...( localize2(690, "Toggle Render Whitespace")),
|
|
14
|
+
mnemonicTitle: ( localize(691, "&&Render Whitespace")),
|
|
15
15
|
},
|
|
16
16
|
category: Categories.View,
|
|
17
17
|
f1: true,
|
|
@@ -18,7 +18,7 @@ const transientWordWrapState = 'transientWordWrapState';
|
|
|
18
18
|
const isWordWrapMinifiedKey = 'isWordWrapMinified';
|
|
19
19
|
const isDominatedByLongLinesKey = 'isDominatedByLongLines';
|
|
20
20
|
const CAN_TOGGLE_WORD_WRAP = ( (new RawContextKey('canToggleWordWrap', false, true)));
|
|
21
|
-
const EDITOR_WORD_WRAP = ( (new RawContextKey('editorWordWrap', false, ( localize(
|
|
21
|
+
const EDITOR_WORD_WRAP = ( (new RawContextKey('editorWordWrap', false, ( localize(685, 'Whether the editor is currently using word wrapping.')))));
|
|
22
22
|
function writeTransientState(model, state, codeEditorService) {
|
|
23
23
|
codeEditorService.setTransientModelProperty(model, transientWordWrapState, state);
|
|
24
24
|
}
|
|
@@ -30,7 +30,7 @@ class ToggleWordWrapAction extends EditorAction {
|
|
|
30
30
|
constructor() {
|
|
31
31
|
super({
|
|
32
32
|
id: TOGGLE_WORD_WRAP_ID,
|
|
33
|
-
label: ( localize(
|
|
33
|
+
label: ( localize(686, "View: Toggle Word Wrap")),
|
|
34
34
|
alias: 'View: Toggle Word Wrap',
|
|
35
35
|
precondition: undefined,
|
|
36
36
|
kbOpts: {
|
|
@@ -249,7 +249,7 @@ registerEditorAction(ToggleWordWrapAction);
|
|
|
249
249
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
250
250
|
command: {
|
|
251
251
|
id: TOGGLE_WORD_WRAP_ID,
|
|
252
|
-
title: ( localize(
|
|
252
|
+
title: ( localize(687, "Disable wrapping for this file")),
|
|
253
253
|
icon: Codicon.wordWrap
|
|
254
254
|
},
|
|
255
255
|
group: 'navigation',
|
|
@@ -262,7 +262,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
262
262
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
263
263
|
command: {
|
|
264
264
|
id: TOGGLE_WORD_WRAP_ID,
|
|
265
|
-
title: ( localize(
|
|
265
|
+
title: ( localize(688, "Enable wrapping for this file")),
|
|
266
266
|
icon: Codicon.wordWrap
|
|
267
267
|
},
|
|
268
268
|
group: 'navigation',
|
|
@@ -276,7 +276,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
276
276
|
MenuRegistry.appendMenuItem(MenuId.MenubarViewMenu, {
|
|
277
277
|
command: {
|
|
278
278
|
id: TOGGLE_WORD_WRAP_ID,
|
|
279
|
-
title: ( localize(
|
|
279
|
+
title: ( localize(689, "&&Word Wrap")),
|
|
280
280
|
toggled: EDITOR_WORD_WRAP,
|
|
281
281
|
precondition: CAN_TOGGLE_WORD_WRAP
|
|
282
282
|
},
|
|
@@ -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
|
+
5931,
|
|
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
|
+
5932,
|
|
33
33
|
'Background color for the highlight of line at focused stack frame position.'
|
|
34
34
|
)));
|
|
35
35
|
const stickiness = 1 ;
|