monaco-editor-core 0.51.0-rc2 → 0.51.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/dev/bundleInfo.json +3084 -3084
- package/dev/nls.messages.de.js +2 -2
- package/dev/nls.messages.es.js +2 -2
- package/dev/nls.messages.fr.js +2 -2
- package/dev/nls.messages.it.js +2 -2
- package/dev/nls.messages.ja.js +2 -2
- package/dev/nls.messages.ko.js +2 -2
- package/dev/nls.messages.ru.js +2 -2
- package/dev/nls.messages.zh-cn.js +2 -2
- package/dev/nls.messages.zh-tw.js +2 -2
- package/dev/vs/base/worker/workerMain.js +28 -28
- package/dev/vs/editor/editor.main.css +1 -1
- package/dev/vs/editor/editor.main.js +122 -122
- package/dev/vs/loader.js +1 -1
- package/min/nls.messages.de.js +2 -2
- package/min/nls.messages.es.js +2 -2
- package/min/nls.messages.fr.js +2 -2
- package/min/nls.messages.it.js +2 -2
- package/min/nls.messages.ja.js +2 -2
- package/min/nls.messages.ko.js +2 -2
- package/min/nls.messages.ru.js +2 -2
- package/min/nls.messages.zh-cn.js +2 -2
- package/min/nls.messages.zh-tw.js +2 -2
- package/min/vs/base/worker/workerMain.js +2 -2
- package/min/vs/editor/editor.main.css +1 -1
- package/min/vs/editor/editor.main.js +7 -7
- package/min/vs/loader.js +1 -1
- package/min-maps/nls.messages.de.js.map +1 -1
- package/min-maps/nls.messages.es.js.map +1 -1
- package/min-maps/nls.messages.fr.js.map +1 -1
- package/min-maps/nls.messages.it.js.map +1 -1
- package/min-maps/nls.messages.ja.js.map +1 -1
- package/min-maps/nls.messages.ko.js.map +1 -1
- package/min-maps/nls.messages.ru.js.map +1 -1
- package/min-maps/nls.messages.zh-cn.js.map +1 -1
- package/min-maps/nls.messages.zh-tw.js.map +1 -1
- package/min-maps/vs/loader.js.map +1 -1
- package/package.json +1 -1
- package/version.txt +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!-----------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.51.0
|
|
3
|
+
* Version: 0.51.0(67d664a32968e19e2eb08b696a92463804182ae4)
|
|
4
4
|
* Released under the MIT license
|
|
5
5
|
* https://github.com/microsoft/vscode/blob/main/LICENSE.txt
|
|
6
6
|
*-----------------------------------------------------------*/
|
|
@@ -51544,7 +51544,7 @@ define(__m[41/*vs/base/common/actions*/], __M([1/*require*/,0/*exports*/,6/*vs/b
|
|
|
51544
51544
|
class EmptySubmenuAction extends Action {
|
|
51545
51545
|
static { this.ID = 'vs.actions.empty'; }
|
|
51546
51546
|
constructor() {
|
|
51547
|
-
super(EmptySubmenuAction.ID, nls.localize(
|
|
51547
|
+
super(EmptySubmenuAction.ID, nls.localize(1857, '(empty)'), undefined, false);
|
|
51548
51548
|
}
|
|
51549
51549
|
}
|
|
51550
51550
|
exports.EmptySubmenuAction = EmptySubmenuAction;
|
|
@@ -51571,7 +51571,7 @@ define(__m[344/*vs/base/common/errorMessage*/], __M([1/*require*/,0/*exports*/,1
|
|
|
51571
51571
|
exports.toErrorMessage = toErrorMessage;
|
|
51572
51572
|
function exceptionToErrorMessage(exception, verbose) {
|
|
51573
51573
|
if (verbose && (exception.stack || exception.stacktrace)) {
|
|
51574
|
-
return nls.localize(
|
|
51574
|
+
return nls.localize(1851, "{0}: {1}", detectSystemErrorMessage(exception), stackToString(exception.stack) || stackToString(exception.stacktrace));
|
|
51575
51575
|
}
|
|
51576
51576
|
return detectSystemErrorMessage(exception);
|
|
51577
51577
|
}
|
|
@@ -51588,9 +51588,9 @@ define(__m[344/*vs/base/common/errorMessage*/], __M([1/*require*/,0/*exports*/,1
|
|
|
51588
51588
|
}
|
|
51589
51589
|
// See https://nodejs.org/api/errors.html#errors_class_system_error
|
|
51590
51590
|
if (typeof exception.code === 'string' && typeof exception.errno === 'number' && typeof exception.syscall === 'string') {
|
|
51591
|
-
return nls.localize(
|
|
51591
|
+
return nls.localize(1852, "A system error occurred ({0})", exception.message);
|
|
51592
51592
|
}
|
|
51593
|
-
return exception.message || nls.localize(
|
|
51593
|
+
return exception.message || nls.localize(1853, "An unknown error occurred. Please consult the log for more details.");
|
|
51594
51594
|
}
|
|
51595
51595
|
/**
|
|
51596
51596
|
* Tries to generate a human readable error message out of the error. If the verbose parameter
|
|
@@ -51600,13 +51600,13 @@ define(__m[344/*vs/base/common/errorMessage*/], __M([1/*require*/,0/*exports*/,1
|
|
|
51600
51600
|
*/
|
|
51601
51601
|
function toErrorMessage(error = null, verbose = false) {
|
|
51602
51602
|
if (!error) {
|
|
51603
|
-
return nls.localize(
|
|
51603
|
+
return nls.localize(1854, "An unknown error occurred. Please consult the log for more details.");
|
|
51604
51604
|
}
|
|
51605
51605
|
if (Array.isArray(error)) {
|
|
51606
51606
|
const errors = arrays.coalesce(error);
|
|
51607
51607
|
const msg = toErrorMessage(errors[0], verbose);
|
|
51608
51608
|
if (errors.length > 1) {
|
|
51609
|
-
return nls.localize(
|
|
51609
|
+
return nls.localize(1855, "{0} ({1} errors in total)", msg, errors.length);
|
|
51610
51610
|
}
|
|
51611
51611
|
return msg;
|
|
51612
51612
|
}
|
|
@@ -51628,7 +51628,7 @@ define(__m[344/*vs/base/common/errorMessage*/], __M([1/*require*/,0/*exports*/,1
|
|
|
51628
51628
|
if (error.message) {
|
|
51629
51629
|
return error.message;
|
|
51630
51630
|
}
|
|
51631
|
-
return nls.localize(
|
|
51631
|
+
return nls.localize(1856, "An unknown error occurred. Please consult the log for more details.");
|
|
51632
51632
|
}
|
|
51633
51633
|
});
|
|
51634
51634
|
|
|
@@ -51675,38 +51675,38 @@ define(__m[246/*vs/base/common/keybindingLabels*/], __M([1/*require*/,0/*exports
|
|
|
51675
51675
|
metaKey: '⌘',
|
|
51676
51676
|
separator: '',
|
|
51677
51677
|
}, {
|
|
51678
|
-
ctrlKey: nls.localize(
|
|
51679
|
-
shiftKey: nls.localize(
|
|
51680
|
-
altKey: nls.localize(
|
|
51681
|
-
metaKey: nls.localize(
|
|
51678
|
+
ctrlKey: nls.localize(1831, "Ctrl"),
|
|
51679
|
+
shiftKey: nls.localize(1832, "Shift"),
|
|
51680
|
+
altKey: nls.localize(1833, "Alt"),
|
|
51681
|
+
metaKey: nls.localize(1834, "Windows"),
|
|
51682
51682
|
separator: '+',
|
|
51683
51683
|
}, {
|
|
51684
|
-
ctrlKey: nls.localize(
|
|
51685
|
-
shiftKey: nls.localize(
|
|
51686
|
-
altKey: nls.localize(
|
|
51687
|
-
metaKey: nls.localize(
|
|
51684
|
+
ctrlKey: nls.localize(1835, "Ctrl"),
|
|
51685
|
+
shiftKey: nls.localize(1836, "Shift"),
|
|
51686
|
+
altKey: nls.localize(1837, "Alt"),
|
|
51687
|
+
metaKey: nls.localize(1838, "Super"),
|
|
51688
51688
|
separator: '+',
|
|
51689
51689
|
});
|
|
51690
51690
|
/**
|
|
51691
51691
|
* A label provider that prints modifiers in a suitable format for ARIA.
|
|
51692
51692
|
*/
|
|
51693
51693
|
exports.AriaLabelProvider = new ModifierLabelProvider({
|
|
51694
|
-
ctrlKey: nls.localize(
|
|
51695
|
-
shiftKey: nls.localize(
|
|
51696
|
-
altKey: nls.localize(
|
|
51697
|
-
metaKey: nls.localize(
|
|
51694
|
+
ctrlKey: nls.localize(1839, "Control"),
|
|
51695
|
+
shiftKey: nls.localize(1840, "Shift"),
|
|
51696
|
+
altKey: nls.localize(1841, "Option"),
|
|
51697
|
+
metaKey: nls.localize(1842, "Command"),
|
|
51698
51698
|
separator: '+',
|
|
51699
51699
|
}, {
|
|
51700
|
-
ctrlKey: nls.localize(
|
|
51701
|
-
shiftKey: nls.localize(
|
|
51702
|
-
altKey: nls.localize(
|
|
51703
|
-
metaKey: nls.localize(
|
|
51700
|
+
ctrlKey: nls.localize(1843, "Control"),
|
|
51701
|
+
shiftKey: nls.localize(1844, "Shift"),
|
|
51702
|
+
altKey: nls.localize(1845, "Alt"),
|
|
51703
|
+
metaKey: nls.localize(1846, "Windows"),
|
|
51704
51704
|
separator: '+',
|
|
51705
51705
|
}, {
|
|
51706
|
-
ctrlKey: nls.localize(
|
|
51707
|
-
shiftKey: nls.localize(
|
|
51708
|
-
altKey: nls.localize(
|
|
51709
|
-
metaKey: nls.localize(
|
|
51706
|
+
ctrlKey: nls.localize(1847, "Control"),
|
|
51707
|
+
shiftKey: nls.localize(1848, "Shift"),
|
|
51708
|
+
altKey: nls.localize(1849, "Alt"),
|
|
51709
|
+
metaKey: nls.localize(1850, "Super"),
|
|
51710
51710
|
separator: '+',
|
|
51711
51711
|
});
|
|
51712
51712
|
/**
|
|
@@ -84099,38 +84099,38 @@ define(__m[28/*vs/editor/common/languages*/], __M([1/*require*/,0/*exports*/,26/
|
|
|
84099
84099
|
* @internal
|
|
84100
84100
|
*/
|
|
84101
84101
|
exports.symbolKindNames = {
|
|
84102
|
-
[17 /* SymbolKind.Array */]: (0, nls_1.localize)(
|
|
84103
|
-
[16 /* SymbolKind.Boolean */]: (0, nls_1.localize)(
|
|
84104
|
-
[4 /* SymbolKind.Class */]: (0, nls_1.localize)(
|
|
84105
|
-
[13 /* SymbolKind.Constant */]: (0, nls_1.localize)(
|
|
84106
|
-
[8 /* SymbolKind.Constructor */]: (0, nls_1.localize)(
|
|
84107
|
-
[9 /* SymbolKind.Enum */]: (0, nls_1.localize)(
|
|
84108
|
-
[21 /* SymbolKind.EnumMember */]: (0, nls_1.localize)(
|
|
84109
|
-
[23 /* SymbolKind.Event */]: (0, nls_1.localize)(
|
|
84110
|
-
[7 /* SymbolKind.Field */]: (0, nls_1.localize)(
|
|
84111
|
-
[0 /* SymbolKind.File */]: (0, nls_1.localize)(
|
|
84112
|
-
[11 /* SymbolKind.Function */]: (0, nls_1.localize)(
|
|
84113
|
-
[10 /* SymbolKind.Interface */]: (0, nls_1.localize)(
|
|
84114
|
-
[19 /* SymbolKind.Key */]: (0, nls_1.localize)(
|
|
84115
|
-
[5 /* SymbolKind.Method */]: (0, nls_1.localize)(
|
|
84116
|
-
[1 /* SymbolKind.Module */]: (0, nls_1.localize)(
|
|
84117
|
-
[2 /* SymbolKind.Namespace */]: (0, nls_1.localize)(
|
|
84118
|
-
[20 /* SymbolKind.Null */]: (0, nls_1.localize)(
|
|
84119
|
-
[15 /* SymbolKind.Number */]: (0, nls_1.localize)(
|
|
84120
|
-
[18 /* SymbolKind.Object */]: (0, nls_1.localize)(
|
|
84121
|
-
[24 /* SymbolKind.Operator */]: (0, nls_1.localize)(
|
|
84122
|
-
[3 /* SymbolKind.Package */]: (0, nls_1.localize)(
|
|
84123
|
-
[6 /* SymbolKind.Property */]: (0, nls_1.localize)(
|
|
84124
|
-
[14 /* SymbolKind.String */]: (0, nls_1.localize)(
|
|
84125
|
-
[22 /* SymbolKind.Struct */]: (0, nls_1.localize)(
|
|
84126
|
-
[25 /* SymbolKind.TypeParameter */]: (0, nls_1.localize)(
|
|
84127
|
-
[12 /* SymbolKind.Variable */]: (0, nls_1.localize)(
|
|
84102
|
+
[17 /* SymbolKind.Array */]: (0, nls_1.localize)(1748, "array"),
|
|
84103
|
+
[16 /* SymbolKind.Boolean */]: (0, nls_1.localize)(1749, "boolean"),
|
|
84104
|
+
[4 /* SymbolKind.Class */]: (0, nls_1.localize)(1750, "class"),
|
|
84105
|
+
[13 /* SymbolKind.Constant */]: (0, nls_1.localize)(1751, "constant"),
|
|
84106
|
+
[8 /* SymbolKind.Constructor */]: (0, nls_1.localize)(1752, "constructor"),
|
|
84107
|
+
[9 /* SymbolKind.Enum */]: (0, nls_1.localize)(1753, "enumeration"),
|
|
84108
|
+
[21 /* SymbolKind.EnumMember */]: (0, nls_1.localize)(1754, "enumeration member"),
|
|
84109
|
+
[23 /* SymbolKind.Event */]: (0, nls_1.localize)(1755, "event"),
|
|
84110
|
+
[7 /* SymbolKind.Field */]: (0, nls_1.localize)(1756, "field"),
|
|
84111
|
+
[0 /* SymbolKind.File */]: (0, nls_1.localize)(1757, "file"),
|
|
84112
|
+
[11 /* SymbolKind.Function */]: (0, nls_1.localize)(1758, "function"),
|
|
84113
|
+
[10 /* SymbolKind.Interface */]: (0, nls_1.localize)(1759, "interface"),
|
|
84114
|
+
[19 /* SymbolKind.Key */]: (0, nls_1.localize)(1760, "key"),
|
|
84115
|
+
[5 /* SymbolKind.Method */]: (0, nls_1.localize)(1761, "method"),
|
|
84116
|
+
[1 /* SymbolKind.Module */]: (0, nls_1.localize)(1762, "module"),
|
|
84117
|
+
[2 /* SymbolKind.Namespace */]: (0, nls_1.localize)(1763, "namespace"),
|
|
84118
|
+
[20 /* SymbolKind.Null */]: (0, nls_1.localize)(1764, "null"),
|
|
84119
|
+
[15 /* SymbolKind.Number */]: (0, nls_1.localize)(1765, "number"),
|
|
84120
|
+
[18 /* SymbolKind.Object */]: (0, nls_1.localize)(1766, "object"),
|
|
84121
|
+
[24 /* SymbolKind.Operator */]: (0, nls_1.localize)(1767, "operator"),
|
|
84122
|
+
[3 /* SymbolKind.Package */]: (0, nls_1.localize)(1768, "package"),
|
|
84123
|
+
[6 /* SymbolKind.Property */]: (0, nls_1.localize)(1769, "property"),
|
|
84124
|
+
[14 /* SymbolKind.String */]: (0, nls_1.localize)(1770, "string"),
|
|
84125
|
+
[22 /* SymbolKind.Struct */]: (0, nls_1.localize)(1771, "struct"),
|
|
84126
|
+
[25 /* SymbolKind.TypeParameter */]: (0, nls_1.localize)(1772, "type parameter"),
|
|
84127
|
+
[12 /* SymbolKind.Variable */]: (0, nls_1.localize)(1773, "variable"),
|
|
84128
84128
|
};
|
|
84129
84129
|
/**
|
|
84130
84130
|
* @internal
|
|
84131
84131
|
*/
|
|
84132
84132
|
function getAriaLabelForSymbol(symbolName, kind) {
|
|
84133
|
-
return (0, nls_1.localize)(
|
|
84133
|
+
return (0, nls_1.localize)(1774, '{0} ({1})', symbolName, exports.symbolKindNames[kind]);
|
|
84134
84134
|
}
|
|
84135
84135
|
/**
|
|
84136
84136
|
* @internal
|
|
@@ -88261,38 +88261,38 @@ define(__m[106/*vs/editor/common/standaloneStrings*/], __M([1/*require*/,0/*expo
|
|
|
88261
88261
|
exports.StandaloneServicesNLS = exports.ToggleHighContrastNLS = exports.StandaloneCodeEditorNLS = exports.QuickOutlineNLS = exports.QuickCommandNLS = exports.QuickHelpNLS = exports.GoToLineNLS = exports.InspectTokensNLS = void 0;
|
|
88262
88262
|
var InspectTokensNLS;
|
|
88263
88263
|
(function (InspectTokensNLS) {
|
|
88264
|
-
InspectTokensNLS.inspectTokensAction = nls.localize(
|
|
88264
|
+
InspectTokensNLS.inspectTokensAction = nls.localize(1737, "Developer: Inspect Tokens");
|
|
88265
88265
|
})(InspectTokensNLS || (exports.InspectTokensNLS = InspectTokensNLS = {}));
|
|
88266
88266
|
var GoToLineNLS;
|
|
88267
88267
|
(function (GoToLineNLS) {
|
|
88268
|
-
GoToLineNLS.gotoLineActionLabel = nls.localize(
|
|
88268
|
+
GoToLineNLS.gotoLineActionLabel = nls.localize(1738, "Go to Line/Column...");
|
|
88269
88269
|
})(GoToLineNLS || (exports.GoToLineNLS = GoToLineNLS = {}));
|
|
88270
88270
|
var QuickHelpNLS;
|
|
88271
88271
|
(function (QuickHelpNLS) {
|
|
88272
|
-
QuickHelpNLS.helpQuickAccessActionLabel = nls.localize(
|
|
88272
|
+
QuickHelpNLS.helpQuickAccessActionLabel = nls.localize(1739, "Show all Quick Access Providers");
|
|
88273
88273
|
})(QuickHelpNLS || (exports.QuickHelpNLS = QuickHelpNLS = {}));
|
|
88274
88274
|
var QuickCommandNLS;
|
|
88275
88275
|
(function (QuickCommandNLS) {
|
|
88276
|
-
QuickCommandNLS.quickCommandActionLabel = nls.localize(
|
|
88277
|
-
QuickCommandNLS.quickCommandHelp = nls.localize(
|
|
88276
|
+
QuickCommandNLS.quickCommandActionLabel = nls.localize(1740, "Command Palette");
|
|
88277
|
+
QuickCommandNLS.quickCommandHelp = nls.localize(1741, "Show And Run Commands");
|
|
88278
88278
|
})(QuickCommandNLS || (exports.QuickCommandNLS = QuickCommandNLS = {}));
|
|
88279
88279
|
var QuickOutlineNLS;
|
|
88280
88280
|
(function (QuickOutlineNLS) {
|
|
88281
|
-
QuickOutlineNLS.quickOutlineActionLabel = nls.localize(
|
|
88282
|
-
QuickOutlineNLS.quickOutlineByCategoryActionLabel = nls.localize(
|
|
88281
|
+
QuickOutlineNLS.quickOutlineActionLabel = nls.localize(1742, "Go to Symbol...");
|
|
88282
|
+
QuickOutlineNLS.quickOutlineByCategoryActionLabel = nls.localize(1743, "Go to Symbol by Category...");
|
|
88283
88283
|
})(QuickOutlineNLS || (exports.QuickOutlineNLS = QuickOutlineNLS = {}));
|
|
88284
88284
|
var StandaloneCodeEditorNLS;
|
|
88285
88285
|
(function (StandaloneCodeEditorNLS) {
|
|
88286
|
-
StandaloneCodeEditorNLS.editorViewAccessibleLabel = nls.localize(
|
|
88287
|
-
StandaloneCodeEditorNLS.accessibilityHelpMessage = nls.localize(
|
|
88286
|
+
StandaloneCodeEditorNLS.editorViewAccessibleLabel = nls.localize(1744, "Editor content");
|
|
88287
|
+
StandaloneCodeEditorNLS.accessibilityHelpMessage = nls.localize(1745, "Press Alt+F1 for Accessibility Options.");
|
|
88288
88288
|
})(StandaloneCodeEditorNLS || (exports.StandaloneCodeEditorNLS = StandaloneCodeEditorNLS = {}));
|
|
88289
88289
|
var ToggleHighContrastNLS;
|
|
88290
88290
|
(function (ToggleHighContrastNLS) {
|
|
88291
|
-
ToggleHighContrastNLS.toggleHighContrast = nls.localize(
|
|
88291
|
+
ToggleHighContrastNLS.toggleHighContrast = nls.localize(1746, "Toggle High Contrast Theme");
|
|
88292
88292
|
})(ToggleHighContrastNLS || (exports.ToggleHighContrastNLS = ToggleHighContrastNLS = {}));
|
|
88293
88293
|
var StandaloneServicesNLS;
|
|
88294
88294
|
(function (StandaloneServicesNLS) {
|
|
88295
|
-
StandaloneServicesNLS.bulkEditServiceSummary = nls.localize(
|
|
88295
|
+
StandaloneServicesNLS.bulkEditServiceSummary = nls.localize(1747, "Made {0} edits in {1} files");
|
|
88296
88296
|
})(StandaloneServicesNLS || (exports.StandaloneServicesNLS = StandaloneServicesNLS = {}));
|
|
88297
88297
|
});
|
|
88298
88298
|
|
|
@@ -95852,73 +95852,73 @@ define(__m[20/*vs/editor/common/editorContextKeys*/], __M([1/*require*/,0/*expor
|
|
|
95852
95852
|
* A context key that is set when the editor's text has focus (cursor is blinking).
|
|
95853
95853
|
* Is false when focus is in simple editor widgets (repl input, scm commit input).
|
|
95854
95854
|
*/
|
|
95855
|
-
EditorContextKeys.editorTextFocus = new contextkey_1.RawContextKey('editorTextFocus', false, nls.localize(
|
|
95855
|
+
EditorContextKeys.editorTextFocus = new contextkey_1.RawContextKey('editorTextFocus', false, nls.localize(1775, "Whether the editor text has focus (cursor is blinking)"));
|
|
95856
95856
|
/**
|
|
95857
95857
|
* A context key that is set when the editor's text or an editor's widget has focus.
|
|
95858
95858
|
*/
|
|
95859
|
-
EditorContextKeys.focus = new contextkey_1.RawContextKey('editorFocus', false, nls.localize(
|
|
95859
|
+
EditorContextKeys.focus = new contextkey_1.RawContextKey('editorFocus', false, nls.localize(1776, "Whether the editor or an editor widget has focus (e.g. focus is in the find widget)"));
|
|
95860
95860
|
/**
|
|
95861
95861
|
* A context key that is set when any editor input has focus (regular editor, repl input...).
|
|
95862
95862
|
*/
|
|
95863
|
-
EditorContextKeys.textInputFocus = new contextkey_1.RawContextKey('textInputFocus', false, nls.localize(
|
|
95864
|
-
EditorContextKeys.readOnly = new contextkey_1.RawContextKey('editorReadonly', false, nls.localize(
|
|
95865
|
-
EditorContextKeys.inDiffEditor = new contextkey_1.RawContextKey('inDiffEditor', false, nls.localize(
|
|
95866
|
-
EditorContextKeys.isEmbeddedDiffEditor = new contextkey_1.RawContextKey('isEmbeddedDiffEditor', false, nls.localize(
|
|
95867
|
-
EditorContextKeys.inMultiDiffEditor = new contextkey_1.RawContextKey('inMultiDiffEditor', false, nls.localize(
|
|
95868
|
-
EditorContextKeys.multiDiffEditorAllCollapsed = new contextkey_1.RawContextKey('multiDiffEditorAllCollapsed', undefined, nls.localize(
|
|
95869
|
-
EditorContextKeys.hasChanges = new contextkey_1.RawContextKey('diffEditorHasChanges', false, nls.localize(
|
|
95870
|
-
EditorContextKeys.comparingMovedCode = new contextkey_1.RawContextKey('comparingMovedCode', false, nls.localize(
|
|
95871
|
-
EditorContextKeys.accessibleDiffViewerVisible = new contextkey_1.RawContextKey('accessibleDiffViewerVisible', false, nls.localize(
|
|
95872
|
-
EditorContextKeys.diffEditorRenderSideBySideInlineBreakpointReached = new contextkey_1.RawContextKey('diffEditorRenderSideBySideInlineBreakpointReached', false, nls.localize(
|
|
95873
|
-
EditorContextKeys.diffEditorInlineMode = new contextkey_1.RawContextKey('diffEditorInlineMode', false, nls.localize(
|
|
95874
|
-
EditorContextKeys.diffEditorOriginalWritable = new contextkey_1.RawContextKey('diffEditorOriginalWritable', false, nls.localize(
|
|
95875
|
-
EditorContextKeys.diffEditorModifiedWritable = new contextkey_1.RawContextKey('diffEditorModifiedWritable', false, nls.localize(
|
|
95876
|
-
EditorContextKeys.diffEditorOriginalUri = new contextkey_1.RawContextKey('diffEditorOriginalUri', '', nls.localize(
|
|
95877
|
-
EditorContextKeys.diffEditorModifiedUri = new contextkey_1.RawContextKey('diffEditorModifiedUri', '', nls.localize(
|
|
95878
|
-
EditorContextKeys.columnSelection = new contextkey_1.RawContextKey('editorColumnSelection', false, nls.localize(
|
|
95863
|
+
EditorContextKeys.textInputFocus = new contextkey_1.RawContextKey('textInputFocus', false, nls.localize(1777, "Whether an editor or a rich text input has focus (cursor is blinking)"));
|
|
95864
|
+
EditorContextKeys.readOnly = new contextkey_1.RawContextKey('editorReadonly', false, nls.localize(1778, "Whether the editor is read-only"));
|
|
95865
|
+
EditorContextKeys.inDiffEditor = new contextkey_1.RawContextKey('inDiffEditor', false, nls.localize(1779, "Whether the context is a diff editor"));
|
|
95866
|
+
EditorContextKeys.isEmbeddedDiffEditor = new contextkey_1.RawContextKey('isEmbeddedDiffEditor', false, nls.localize(1780, "Whether the context is an embedded diff editor"));
|
|
95867
|
+
EditorContextKeys.inMultiDiffEditor = new contextkey_1.RawContextKey('inMultiDiffEditor', false, nls.localize(1781, "Whether the context is a multi diff editor"));
|
|
95868
|
+
EditorContextKeys.multiDiffEditorAllCollapsed = new contextkey_1.RawContextKey('multiDiffEditorAllCollapsed', undefined, nls.localize(1782, "Whether all files in multi diff editor are collapsed"));
|
|
95869
|
+
EditorContextKeys.hasChanges = new contextkey_1.RawContextKey('diffEditorHasChanges', false, nls.localize(1783, "Whether the diff editor has changes"));
|
|
95870
|
+
EditorContextKeys.comparingMovedCode = new contextkey_1.RawContextKey('comparingMovedCode', false, nls.localize(1784, "Whether a moved code block is selected for comparison"));
|
|
95871
|
+
EditorContextKeys.accessibleDiffViewerVisible = new contextkey_1.RawContextKey('accessibleDiffViewerVisible', false, nls.localize(1785, "Whether the accessible diff viewer is visible"));
|
|
95872
|
+
EditorContextKeys.diffEditorRenderSideBySideInlineBreakpointReached = new contextkey_1.RawContextKey('diffEditorRenderSideBySideInlineBreakpointReached', false, nls.localize(1786, "Whether the diff editor render side by side inline breakpoint is reached"));
|
|
95873
|
+
EditorContextKeys.diffEditorInlineMode = new contextkey_1.RawContextKey('diffEditorInlineMode', false, nls.localize(1787, "Whether inline mode is active"));
|
|
95874
|
+
EditorContextKeys.diffEditorOriginalWritable = new contextkey_1.RawContextKey('diffEditorOriginalWritable', false, nls.localize(1788, "Whether modified is writable in the diff editor"));
|
|
95875
|
+
EditorContextKeys.diffEditorModifiedWritable = new contextkey_1.RawContextKey('diffEditorModifiedWritable', false, nls.localize(1789, "Whether modified is writable in the diff editor"));
|
|
95876
|
+
EditorContextKeys.diffEditorOriginalUri = new contextkey_1.RawContextKey('diffEditorOriginalUri', '', nls.localize(1790, "The uri of the original document"));
|
|
95877
|
+
EditorContextKeys.diffEditorModifiedUri = new contextkey_1.RawContextKey('diffEditorModifiedUri', '', nls.localize(1791, "The uri of the modified document"));
|
|
95878
|
+
EditorContextKeys.columnSelection = new contextkey_1.RawContextKey('editorColumnSelection', false, nls.localize(1792, "Whether `editor.columnSelection` is enabled"));
|
|
95879
95879
|
EditorContextKeys.writable = EditorContextKeys.readOnly.toNegated();
|
|
95880
|
-
EditorContextKeys.hasNonEmptySelection = new contextkey_1.RawContextKey('editorHasSelection', false, nls.localize(
|
|
95880
|
+
EditorContextKeys.hasNonEmptySelection = new contextkey_1.RawContextKey('editorHasSelection', false, nls.localize(1793, "Whether the editor has text selected"));
|
|
95881
95881
|
EditorContextKeys.hasOnlyEmptySelection = EditorContextKeys.hasNonEmptySelection.toNegated();
|
|
95882
|
-
EditorContextKeys.hasMultipleSelections = new contextkey_1.RawContextKey('editorHasMultipleSelections', false, nls.localize(
|
|
95882
|
+
EditorContextKeys.hasMultipleSelections = new contextkey_1.RawContextKey('editorHasMultipleSelections', false, nls.localize(1794, "Whether the editor has multiple selections"));
|
|
95883
95883
|
EditorContextKeys.hasSingleSelection = EditorContextKeys.hasMultipleSelections.toNegated();
|
|
95884
|
-
EditorContextKeys.tabMovesFocus = new contextkey_1.RawContextKey('editorTabMovesFocus', false, nls.localize(
|
|
95884
|
+
EditorContextKeys.tabMovesFocus = new contextkey_1.RawContextKey('editorTabMovesFocus', false, nls.localize(1795, "Whether `Tab` will move focus out of the editor"));
|
|
95885
95885
|
EditorContextKeys.tabDoesNotMoveFocus = EditorContextKeys.tabMovesFocus.toNegated();
|
|
95886
95886
|
EditorContextKeys.isInEmbeddedEditor = new contextkey_1.RawContextKey('isInEmbeddedEditor', false, true);
|
|
95887
95887
|
EditorContextKeys.canUndo = new contextkey_1.RawContextKey('canUndo', false, true);
|
|
95888
95888
|
EditorContextKeys.canRedo = new contextkey_1.RawContextKey('canRedo', false, true);
|
|
95889
|
-
EditorContextKeys.hoverVisible = new contextkey_1.RawContextKey('editorHoverVisible', false, nls.localize(
|
|
95890
|
-
EditorContextKeys.hoverFocused = new contextkey_1.RawContextKey('editorHoverFocused', false, nls.localize(
|
|
95891
|
-
EditorContextKeys.stickyScrollFocused = new contextkey_1.RawContextKey('stickyScrollFocused', false, nls.localize(
|
|
95892
|
-
EditorContextKeys.stickyScrollVisible = new contextkey_1.RawContextKey('stickyScrollVisible', false, nls.localize(
|
|
95893
|
-
EditorContextKeys.standaloneColorPickerVisible = new contextkey_1.RawContextKey('standaloneColorPickerVisible', false, nls.localize(
|
|
95894
|
-
EditorContextKeys.standaloneColorPickerFocused = new contextkey_1.RawContextKey('standaloneColorPickerFocused', false, nls.localize(
|
|
95889
|
+
EditorContextKeys.hoverVisible = new contextkey_1.RawContextKey('editorHoverVisible', false, nls.localize(1796, "Whether the editor hover is visible"));
|
|
95890
|
+
EditorContextKeys.hoverFocused = new contextkey_1.RawContextKey('editorHoverFocused', false, nls.localize(1797, "Whether the editor hover is focused"));
|
|
95891
|
+
EditorContextKeys.stickyScrollFocused = new contextkey_1.RawContextKey('stickyScrollFocused', false, nls.localize(1798, "Whether the sticky scroll is focused"));
|
|
95892
|
+
EditorContextKeys.stickyScrollVisible = new contextkey_1.RawContextKey('stickyScrollVisible', false, nls.localize(1799, "Whether the sticky scroll is visible"));
|
|
95893
|
+
EditorContextKeys.standaloneColorPickerVisible = new contextkey_1.RawContextKey('standaloneColorPickerVisible', false, nls.localize(1800, "Whether the standalone color picker is visible"));
|
|
95894
|
+
EditorContextKeys.standaloneColorPickerFocused = new contextkey_1.RawContextKey('standaloneColorPickerFocused', false, nls.localize(1801, "Whether the standalone color picker is focused"));
|
|
95895
95895
|
/**
|
|
95896
95896
|
* A context key that is set when an editor is part of a larger editor, like notebooks or
|
|
95897
95897
|
* (future) a diff editor
|
|
95898
95898
|
*/
|
|
95899
|
-
EditorContextKeys.inCompositeEditor = new contextkey_1.RawContextKey('inCompositeEditor', undefined, nls.localize(
|
|
95899
|
+
EditorContextKeys.inCompositeEditor = new contextkey_1.RawContextKey('inCompositeEditor', undefined, nls.localize(1802, "Whether the editor is part of a larger editor (e.g. notebooks)"));
|
|
95900
95900
|
EditorContextKeys.notInCompositeEditor = EditorContextKeys.inCompositeEditor.toNegated();
|
|
95901
95901
|
// -- mode context keys
|
|
95902
|
-
EditorContextKeys.languageId = new contextkey_1.RawContextKey('editorLangId', '', nls.localize(
|
|
95903
|
-
EditorContextKeys.hasCompletionItemProvider = new contextkey_1.RawContextKey('editorHasCompletionItemProvider', false, nls.localize(
|
|
95904
|
-
EditorContextKeys.hasCodeActionsProvider = new contextkey_1.RawContextKey('editorHasCodeActionsProvider', false, nls.localize(
|
|
95905
|
-
EditorContextKeys.hasCodeLensProvider = new contextkey_1.RawContextKey('editorHasCodeLensProvider', false, nls.localize(
|
|
95906
|
-
EditorContextKeys.hasDefinitionProvider = new contextkey_1.RawContextKey('editorHasDefinitionProvider', false, nls.localize(
|
|
95907
|
-
EditorContextKeys.hasDeclarationProvider = new contextkey_1.RawContextKey('editorHasDeclarationProvider', false, nls.localize(
|
|
95908
|
-
EditorContextKeys.hasImplementationProvider = new contextkey_1.RawContextKey('editorHasImplementationProvider', false, nls.localize(
|
|
95909
|
-
EditorContextKeys.hasTypeDefinitionProvider = new contextkey_1.RawContextKey('editorHasTypeDefinitionProvider', false, nls.localize(
|
|
95910
|
-
EditorContextKeys.hasHoverProvider = new contextkey_1.RawContextKey('editorHasHoverProvider', false, nls.localize(
|
|
95911
|
-
EditorContextKeys.hasDocumentHighlightProvider = new contextkey_1.RawContextKey('editorHasDocumentHighlightProvider', false, nls.localize(
|
|
95912
|
-
EditorContextKeys.hasDocumentSymbolProvider = new contextkey_1.RawContextKey('editorHasDocumentSymbolProvider', false, nls.localize(
|
|
95913
|
-
EditorContextKeys.hasReferenceProvider = new contextkey_1.RawContextKey('editorHasReferenceProvider', false, nls.localize(
|
|
95914
|
-
EditorContextKeys.hasRenameProvider = new contextkey_1.RawContextKey('editorHasRenameProvider', false, nls.localize(
|
|
95915
|
-
EditorContextKeys.hasSignatureHelpProvider = new contextkey_1.RawContextKey('editorHasSignatureHelpProvider', false, nls.localize(
|
|
95916
|
-
EditorContextKeys.hasInlayHintsProvider = new contextkey_1.RawContextKey('editorHasInlayHintsProvider', false, nls.localize(
|
|
95902
|
+
EditorContextKeys.languageId = new contextkey_1.RawContextKey('editorLangId', '', nls.localize(1803, "The language identifier of the editor"));
|
|
95903
|
+
EditorContextKeys.hasCompletionItemProvider = new contextkey_1.RawContextKey('editorHasCompletionItemProvider', false, nls.localize(1804, "Whether the editor has a completion item provider"));
|
|
95904
|
+
EditorContextKeys.hasCodeActionsProvider = new contextkey_1.RawContextKey('editorHasCodeActionsProvider', false, nls.localize(1805, "Whether the editor has a code actions provider"));
|
|
95905
|
+
EditorContextKeys.hasCodeLensProvider = new contextkey_1.RawContextKey('editorHasCodeLensProvider', false, nls.localize(1806, "Whether the editor has a code lens provider"));
|
|
95906
|
+
EditorContextKeys.hasDefinitionProvider = new contextkey_1.RawContextKey('editorHasDefinitionProvider', false, nls.localize(1807, "Whether the editor has a definition provider"));
|
|
95907
|
+
EditorContextKeys.hasDeclarationProvider = new contextkey_1.RawContextKey('editorHasDeclarationProvider', false, nls.localize(1808, "Whether the editor has a declaration provider"));
|
|
95908
|
+
EditorContextKeys.hasImplementationProvider = new contextkey_1.RawContextKey('editorHasImplementationProvider', false, nls.localize(1809, "Whether the editor has an implementation provider"));
|
|
95909
|
+
EditorContextKeys.hasTypeDefinitionProvider = new contextkey_1.RawContextKey('editorHasTypeDefinitionProvider', false, nls.localize(1810, "Whether the editor has a type definition provider"));
|
|
95910
|
+
EditorContextKeys.hasHoverProvider = new contextkey_1.RawContextKey('editorHasHoverProvider', false, nls.localize(1811, "Whether the editor has a hover provider"));
|
|
95911
|
+
EditorContextKeys.hasDocumentHighlightProvider = new contextkey_1.RawContextKey('editorHasDocumentHighlightProvider', false, nls.localize(1812, "Whether the editor has a document highlight provider"));
|
|
95912
|
+
EditorContextKeys.hasDocumentSymbolProvider = new contextkey_1.RawContextKey('editorHasDocumentSymbolProvider', false, nls.localize(1813, "Whether the editor has a document symbol provider"));
|
|
95913
|
+
EditorContextKeys.hasReferenceProvider = new contextkey_1.RawContextKey('editorHasReferenceProvider', false, nls.localize(1814, "Whether the editor has a reference provider"));
|
|
95914
|
+
EditorContextKeys.hasRenameProvider = new contextkey_1.RawContextKey('editorHasRenameProvider', false, nls.localize(1815, "Whether the editor has a rename provider"));
|
|
95915
|
+
EditorContextKeys.hasSignatureHelpProvider = new contextkey_1.RawContextKey('editorHasSignatureHelpProvider', false, nls.localize(1816, "Whether the editor has a signature help provider"));
|
|
95916
|
+
EditorContextKeys.hasInlayHintsProvider = new contextkey_1.RawContextKey('editorHasInlayHintsProvider', false, nls.localize(1817, "Whether the editor has an inline hints provider"));
|
|
95917
95917
|
// -- mode context keys: formatting
|
|
95918
|
-
EditorContextKeys.hasDocumentFormattingProvider = new contextkey_1.RawContextKey('editorHasDocumentFormattingProvider', false, nls.localize(
|
|
95919
|
-
EditorContextKeys.hasDocumentSelectionFormattingProvider = new contextkey_1.RawContextKey('editorHasDocumentSelectionFormattingProvider', false, nls.localize(
|
|
95920
|
-
EditorContextKeys.hasMultipleDocumentFormattingProvider = new contextkey_1.RawContextKey('editorHasMultipleDocumentFormattingProvider', false, nls.localize(
|
|
95921
|
-
EditorContextKeys.hasMultipleDocumentSelectionFormattingProvider = new contextkey_1.RawContextKey('editorHasMultipleDocumentSelectionFormattingProvider', false, nls.localize(
|
|
95918
|
+
EditorContextKeys.hasDocumentFormattingProvider = new contextkey_1.RawContextKey('editorHasDocumentFormattingProvider', false, nls.localize(1818, "Whether the editor has a document formatting provider"));
|
|
95919
|
+
EditorContextKeys.hasDocumentSelectionFormattingProvider = new contextkey_1.RawContextKey('editorHasDocumentSelectionFormattingProvider', false, nls.localize(1819, "Whether the editor has a document selection formatting provider"));
|
|
95920
|
+
EditorContextKeys.hasMultipleDocumentFormattingProvider = new contextkey_1.RawContextKey('editorHasMultipleDocumentFormattingProvider', false, nls.localize(1820, "Whether the editor has multiple document formatting providers"));
|
|
95921
|
+
EditorContextKeys.hasMultipleDocumentSelectionFormattingProvider = new contextkey_1.RawContextKey('editorHasMultipleDocumentSelectionFormattingProvider', false, nls.localize(1821, "Whether the editor has multiple document selection formatting providers"));
|
|
95922
95922
|
})(EditorContextKeys || (exports.EditorContextKeys = EditorContextKeys = {}));
|
|
95923
95923
|
});
|
|
95924
95924
|
|
|
@@ -113984,12 +113984,12 @@ define(__m[15/*vs/editor/browser/editorExtensions*/], __M([1/*require*/,0/*expor
|
|
|
113984
113984
|
menuOpts: [{
|
|
113985
113985
|
menuId: actions_1.MenuId.MenubarEditMenu,
|
|
113986
113986
|
group: '1_do',
|
|
113987
|
-
title: nls.localize(
|
|
113987
|
+
title: nls.localize(1822, "&&Undo"),
|
|
113988
113988
|
order: 1
|
|
113989
113989
|
}, {
|
|
113990
113990
|
menuId: actions_1.MenuId.CommandPalette,
|
|
113991
113991
|
group: '',
|
|
113992
|
-
title: nls.localize(
|
|
113992
|
+
title: nls.localize(1823, "Undo"),
|
|
113993
113993
|
order: 1
|
|
113994
113994
|
}]
|
|
113995
113995
|
}));
|
|
@@ -114006,12 +114006,12 @@ define(__m[15/*vs/editor/browser/editorExtensions*/], __M([1/*require*/,0/*expor
|
|
|
114006
114006
|
menuOpts: [{
|
|
114007
114007
|
menuId: actions_1.MenuId.MenubarEditMenu,
|
|
114008
114008
|
group: '1_do',
|
|
114009
|
-
title: nls.localize(
|
|
114009
|
+
title: nls.localize(1824, "&&Redo"),
|
|
114010
114010
|
order: 2
|
|
114011
114011
|
}, {
|
|
114012
114012
|
menuId: actions_1.MenuId.CommandPalette,
|
|
114013
114013
|
group: '',
|
|
114014
|
-
title: nls.localize(
|
|
114014
|
+
title: nls.localize(1825, "Redo"),
|
|
114015
114015
|
order: 1
|
|
114016
114016
|
}]
|
|
114017
114017
|
}));
|
|
@@ -114027,12 +114027,12 @@ define(__m[15/*vs/editor/browser/editorExtensions*/], __M([1/*require*/,0/*expor
|
|
|
114027
114027
|
menuOpts: [{
|
|
114028
114028
|
menuId: actions_1.MenuId.MenubarSelectionMenu,
|
|
114029
114029
|
group: '1_basic',
|
|
114030
|
-
title: nls.localize(
|
|
114030
|
+
title: nls.localize(1826, "&&Select All"),
|
|
114031
114031
|
order: 1
|
|
114032
114032
|
}, {
|
|
114033
114033
|
menuId: actions_1.MenuId.CommandPalette,
|
|
114034
114034
|
group: '',
|
|
114035
|
-
title: nls.localize(
|
|
114035
|
+
title: nls.localize(1827, "Select All"),
|
|
114036
114036
|
order: 1
|
|
114037
114037
|
}]
|
|
114038
114038
|
}));
|
|
@@ -114885,7 +114885,7 @@ define(__m[212/*vs/editor/browser/coreCommands*/], __M([1/*require*/,0/*exports*
|
|
|
114885
114885
|
type: 'object',
|
|
114886
114886
|
properties: {
|
|
114887
114887
|
'sticky': {
|
|
114888
|
-
description: nls.localize(
|
|
114888
|
+
description: nls.localize(1828, "Stick to the end even when going to longer lines"),
|
|
114889
114889
|
type: 'boolean',
|
|
114890
114890
|
default: false
|
|
114891
114891
|
}
|
|
@@ -114913,7 +114913,7 @@ define(__m[212/*vs/editor/browser/coreCommands*/], __M([1/*require*/,0/*exports*
|
|
|
114913
114913
|
type: 'object',
|
|
114914
114914
|
properties: {
|
|
114915
114915
|
'sticky': {
|
|
114916
|
-
description: nls.localize(
|
|
114916
|
+
description: nls.localize(1829, "Stick to the end even when going to longer lines"),
|
|
114917
114917
|
type: 'boolean',
|
|
114918
114918
|
default: false
|
|
114919
114919
|
}
|
|
@@ -115461,7 +115461,7 @@ define(__m[212/*vs/editor/browser/coreCommands*/], __M([1/*require*/,0/*exports*
|
|
|
115461
115461
|
viewModel.getPrimaryCursorState()
|
|
115462
115462
|
]);
|
|
115463
115463
|
viewModel.revealAllCursors(args.source, true);
|
|
115464
|
-
(0, aria_1.status)(nls.localize(
|
|
115464
|
+
(0, aria_1.status)(nls.localize(1830, "Removed secondary cursors"));
|
|
115465
115465
|
}
|
|
115466
115466
|
});
|
|
115467
115467
|
CoreNavigationCommands.RevealLine = (0, editorExtensions_1.registerEditorCommand)(new class extends CoreEditorCommand {
|
package/dev/vs/loader.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!-----------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.51.0
|
|
3
|
+
* Version: 0.51.0(67d664a32968e19e2eb08b696a92463804182ae4)
|
|
4
4
|
* Released under the MIT license
|
|
5
5
|
* https://github.com/microsoft/vscode/blob/main/LICENSE.txt
|
|
6
6
|
*-----------------------------------------------------------*/
|