monaco-editor-core 0.51.0-dev-20240706 → 0.51.0-dev-20240707
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 +1144 -1144
- 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 +1 -1
- package/dev/vs/editor/editor.main.css +1 -1
- package/dev/vs/editor/editor.main.js +149 -149
- package/dev/vs/loader.js +1 -1
- package/min/nls.messages.de.js +3 -3
- package/min/nls.messages.es.js +3 -3
- package/min/nls.messages.fr.js +2 -2
- package/min/nls.messages.it.js +2 -2
- package/min/nls.messages.ja.js +3 -3
- package/min/nls.messages.ko.js +2 -2
- package/min/nls.messages.ru.js +3 -3
- package/min/nls.messages.zh-cn.js +3 -3
- package/min/nls.messages.zh-tw.js +2 -2
- package/min/vs/base/worker/workerMain.js +1 -1
- package/min/vs/editor/editor.main.css +1 -1
- package/min/vs/editor/editor.main.js +15 -15
- 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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!-----------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.51.0-dev-
|
|
3
|
+
* Version: 0.51.0-dev-20240707(c321d0fbecb50ab8a5365fa1965476b0ae63fc87)
|
|
4
4
|
* Released under the MIT license
|
|
5
5
|
* https://github.com/microsoft/vscode/blob/main/LICENSE.txt
|
|
6
6
|
*-----------------------------------------------------------*/
|
|
@@ -90637,9 +90637,9 @@ define(__m[208/*vs/editor/contrib/hover/browser/hoverActionIds*/], __M([1/*requi
|
|
|
90637
90637
|
exports.GO_TO_TOP_HOVER_ACTION_ID = 'editor.action.goToTopHover';
|
|
90638
90638
|
exports.GO_TO_BOTTOM_HOVER_ACTION_ID = 'editor.action.goToBottomHover';
|
|
90639
90639
|
exports.INCREASE_HOVER_VERBOSITY_ACTION_ID = 'editor.action.increaseHoverVerbosityLevel';
|
|
90640
|
-
exports.INCREASE_HOVER_VERBOSITY_ACTION_LABEL = nls.localize(
|
|
90640
|
+
exports.INCREASE_HOVER_VERBOSITY_ACTION_LABEL = nls.localize(690, "Increase Hover Verbosity Level");
|
|
90641
90641
|
exports.DECREASE_HOVER_VERBOSITY_ACTION_ID = 'editor.action.decreaseHoverVerbosityLevel';
|
|
90642
|
-
exports.DECREASE_HOVER_VERBOSITY_ACTION_LABEL = nls.localize(
|
|
90642
|
+
exports.DECREASE_HOVER_VERBOSITY_ACTION_LABEL = nls.localize(691, "Decrease Hover Verbosity Level");
|
|
90643
90643
|
});
|
|
90644
90644
|
|
|
90645
90645
|
define(__m[664/*vs/editor/contrib/hover/browser/hoverAccessibleViews*/], __M([1/*require*/,0/*exports*/,3/*vs/nls*/,27/*vs/editor/common/languages*/,208/*vs/editor/contrib/hover/browser/hoverActionIds*/,2/*vs/base/common/lifecycle*/]), function (require, exports, nls_1, languages_1, hoverActionIds_1, lifecycle_1) {
|
|
@@ -90648,10 +90648,10 @@ define(__m[664/*vs/editor/contrib/hover/browser/hoverAccessibleViews*/], __M([1/
|
|
|
90648
90648
|
exports.ExtHoverAccessibleView = exports.HoverAccessibleViewProvider = exports.HoverAccessibilityHelpProvider = exports.HoverAccessibilityHelp = exports.HoverAccessibleView = void 0;
|
|
90649
90649
|
var HoverAccessibilityHelpNLS;
|
|
90650
90650
|
(function (HoverAccessibilityHelpNLS) {
|
|
90651
|
-
HoverAccessibilityHelpNLS.introHoverPart = (0, nls_1.localize)(
|
|
90652
|
-
HoverAccessibilityHelpNLS.introHoverFull = (0, nls_1.localize)(
|
|
90653
|
-
HoverAccessibilityHelpNLS.increaseVerbosity = (0, nls_1.localize)(
|
|
90654
|
-
HoverAccessibilityHelpNLS.decreaseVerbosity = (0, nls_1.localize)(
|
|
90651
|
+
HoverAccessibilityHelpNLS.introHoverPart = (0, nls_1.localize)(692, 'The focused hover part content is the following:');
|
|
90652
|
+
HoverAccessibilityHelpNLS.introHoverFull = (0, nls_1.localize)(693, 'The full focused hover content is the following:');
|
|
90653
|
+
HoverAccessibilityHelpNLS.increaseVerbosity = (0, nls_1.localize)(694, '- The focused hover part verbosity level can be increased with the Increase Hover Verbosity command<keybinding:{0}>.', hoverActionIds_1.INCREASE_HOVER_VERBOSITY_ACTION_ID);
|
|
90654
|
+
HoverAccessibilityHelpNLS.decreaseVerbosity = (0, nls_1.localize)(695, '- The focused hover part verbosity level can be decreased with the Decrease Hover Verbosity command<keybinding:{0}>.', hoverActionIds_1.DECREASE_HOVER_VERBOSITY_ACTION_ID);
|
|
90655
90655
|
})(HoverAccessibilityHelpNLS || (HoverAccessibilityHelpNLS = {}));
|
|
90656
90656
|
class HoverAccessibleView {
|
|
90657
90657
|
dispose() {
|
|
@@ -110224,7 +110224,7 @@ define(__m[397/*vs/editor/contrib/suggest/browser/suggestWidgetDetails*/], __M([
|
|
|
110224
110224
|
this._disposables.add(this._scrollbar);
|
|
110225
110225
|
this._header = dom.append(this._body, dom.$('.header'));
|
|
110226
110226
|
this._close = dom.append(this._header, dom.$('span' + themables_1.ThemeIcon.asCSSSelector(codicons_1.Codicon.close)));
|
|
110227
|
-
this._close.title = nls.localize(
|
|
110227
|
+
this._close.title = nls.localize(319, "Close");
|
|
110228
110228
|
this._type = dom.append(this._header, dom.$('p.type'));
|
|
110229
110229
|
this._docs = dom.append(this._body, dom.$('p.docs'));
|
|
110230
110230
|
this._configureFont();
|
|
@@ -110268,7 +110268,7 @@ define(__m[397/*vs/editor/contrib/suggest/browser/suggestWidgetDetails*/], __M([
|
|
|
110268
110268
|
};
|
|
110269
110269
|
}
|
|
110270
110270
|
renderLoading() {
|
|
110271
|
-
this._type.textContent = nls.localize(
|
|
110271
|
+
this._type.textContent = nls.localize(320, "Loading...");
|
|
110272
110272
|
this._docs.textContent = '';
|
|
110273
110273
|
this.domNode.classList.remove('no-docs', 'no-type');
|
|
110274
110274
|
this.layout(this.size.width, this.getLayoutInfo().lineHeight * 2);
|
|
@@ -111899,14 +111899,14 @@ define(__m[151/*vs/editor/contrib/suggest/browser/suggest*/], __M([1/*require*/,
|
|
|
111899
111899
|
exports.showSimpleSuggestions = showSimpleSuggestions;
|
|
111900
111900
|
exports.Context = {
|
|
111901
111901
|
Visible: contextScopedHistoryWidget_1.historyNavigationVisible,
|
|
111902
|
-
HasFocusedSuggestion: new contextkey_1.RawContextKey('suggestWidgetHasFocusedSuggestion', false, (0, nls_1.localize)(
|
|
111903
|
-
DetailsVisible: new contextkey_1.RawContextKey('suggestWidgetDetailsVisible', false, (0, nls_1.localize)(
|
|
111904
|
-
MultipleSuggestions: new contextkey_1.RawContextKey('suggestWidgetMultipleSuggestions', false, (0, nls_1.localize)(
|
|
111905
|
-
MakesTextEdit: new contextkey_1.RawContextKey('suggestionMakesTextEdit', true, (0, nls_1.localize)(
|
|
111906
|
-
AcceptSuggestionsOnEnter: new contextkey_1.RawContextKey('acceptSuggestionOnEnter', true, (0, nls_1.localize)(
|
|
111907
|
-
HasInsertAndReplaceRange: new contextkey_1.RawContextKey('suggestionHasInsertAndReplaceRange', false, (0, nls_1.localize)(
|
|
111908
|
-
InsertMode: new contextkey_1.RawContextKey('suggestionInsertMode', undefined, { type: 'string', description: (0, nls_1.localize)(
|
|
111909
|
-
CanResolve: new contextkey_1.RawContextKey('suggestionCanResolve', false, (0, nls_1.localize)(
|
|
111902
|
+
HasFocusedSuggestion: new contextkey_1.RawContextKey('suggestWidgetHasFocusedSuggestion', false, (0, nls_1.localize)(347, "Whether any suggestion is focused")),
|
|
111903
|
+
DetailsVisible: new contextkey_1.RawContextKey('suggestWidgetDetailsVisible', false, (0, nls_1.localize)(348, "Whether suggestion details are visible")),
|
|
111904
|
+
MultipleSuggestions: new contextkey_1.RawContextKey('suggestWidgetMultipleSuggestions', false, (0, nls_1.localize)(349, "Whether there are multiple suggestions to pick from")),
|
|
111905
|
+
MakesTextEdit: new contextkey_1.RawContextKey('suggestionMakesTextEdit', true, (0, nls_1.localize)(350, "Whether inserting the current suggestion yields in a change or has everything already been typed")),
|
|
111906
|
+
AcceptSuggestionsOnEnter: new contextkey_1.RawContextKey('acceptSuggestionOnEnter', true, (0, nls_1.localize)(351, "Whether suggestions are inserted when pressing Enter")),
|
|
111907
|
+
HasInsertAndReplaceRange: new contextkey_1.RawContextKey('suggestionHasInsertAndReplaceRange', false, (0, nls_1.localize)(352, "Whether the current suggestion has insert and replace behaviour")),
|
|
111908
|
+
InsertMode: new contextkey_1.RawContextKey('suggestionInsertMode', undefined, { type: 'string', description: (0, nls_1.localize)(353, "Whether the default behaviour is to insert or replace") }),
|
|
111909
|
+
CanResolve: new contextkey_1.RawContextKey('suggestionCanResolve', false, (0, nls_1.localize)(354, "Whether the current suggestion supports to resolve further details")),
|
|
111910
111910
|
};
|
|
111911
111911
|
exports.suggestWidgetStatusbarMenu = new actions_1.MenuId('suggestWidgetStatusBar');
|
|
111912
111912
|
class CompletionItem {
|
|
@@ -121924,11 +121924,11 @@ define(__m[736/*vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerm
|
|
|
121924
121924
|
try {
|
|
121925
121925
|
this._isPresentingDialog = true;
|
|
121926
121926
|
result = await this._dialogService.confirm({
|
|
121927
|
-
title: nls.localize(
|
|
121928
|
-
message: nls.localize(
|
|
121929
|
-
detail: nls.localize(
|
|
121930
|
-
primaryButton: nls.localize(
|
|
121931
|
-
cancelButton: nls.localize(
|
|
121927
|
+
title: nls.localize(307, "Unusual Line Terminators"),
|
|
121928
|
+
message: nls.localize(308, "Detected unusual line terminators"),
|
|
121929
|
+
detail: nls.localize(309, "The file '{0}' contains one or more unusual line terminator characters, like Line Separator (LS) or Paragraph Separator (PS).\n\nIt is recommended to remove them from the file. This can be configured via `editor.unusualLineTerminators`.", (0, resources_1.basename)(model.uri)),
|
|
121930
|
+
primaryButton: nls.localize(310, "&&Remove Unusual Line Terminators"),
|
|
121931
|
+
cancelButton: nls.localize(311, "Ignore")
|
|
121932
121932
|
});
|
|
121933
121933
|
}
|
|
121934
121934
|
finally {
|
|
@@ -125837,89 +125837,89 @@ define(__m[278/*vs/editor/contrib/symbolIcons/browser/symbolIcons*/], __M([1/*re
|
|
|
125837
125837
|
"use strict";
|
|
125838
125838
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
125839
125839
|
exports.SYMBOL_ICON_VARIABLE_FOREGROUND = exports.SYMBOL_ICON_UNIT_FOREGROUND = exports.SYMBOL_ICON_TYPEPARAMETER_FOREGROUND = exports.SYMBOL_ICON_TEXT_FOREGROUND = exports.SYMBOL_ICON_STRUCT_FOREGROUND = exports.SYMBOL_ICON_STRING_FOREGROUND = exports.SYMBOL_ICON_SNIPPET_FOREGROUND = exports.SYMBOL_ICON_REFERENCE_FOREGROUND = exports.SYMBOL_ICON_PROPERTY_FOREGROUND = exports.SYMBOL_ICON_PACKAGE_FOREGROUND = exports.SYMBOL_ICON_OPERATOR_FOREGROUND = exports.SYMBOL_ICON_OBJECT_FOREGROUND = exports.SYMBOL_ICON_NUMBER_FOREGROUND = exports.SYMBOL_ICON_NULL_FOREGROUND = exports.SYMBOL_ICON_NAMESPACE_FOREGROUND = exports.SYMBOL_ICON_MODULE_FOREGROUND = exports.SYMBOL_ICON_METHOD_FOREGROUND = exports.SYMBOL_ICON_KEYWORD_FOREGROUND = exports.SYMBOL_ICON_KEY_FOREGROUND = exports.SYMBOL_ICON_INTERFACE_FOREGROUND = exports.SYMBOL_ICON_FUNCTION_FOREGROUND = exports.SYMBOL_ICON_FOLDER_FOREGROUND = exports.SYMBOL_ICON_FILE_FOREGROUND = exports.SYMBOL_ICON_FIELD_FOREGROUND = exports.SYMBOL_ICON_EVENT_FOREGROUND = exports.SYMBOL_ICON_ENUMERATOR_MEMBER_FOREGROUND = exports.SYMBOL_ICON_ENUMERATOR_FOREGROUND = exports.SYMBOL_ICON_CONSTRUCTOR_FOREGROUND = exports.SYMBOL_ICON_CONSTANT_FOREGROUND = exports.SYMBOL_ICON_COLOR_FOREGROUND = exports.SYMBOL_ICON_CLASS_FOREGROUND = exports.SYMBOL_ICON_BOOLEAN_FOREGROUND = exports.SYMBOL_ICON_ARRAY_FOREGROUND = void 0;
|
|
125840
|
-
exports.SYMBOL_ICON_ARRAY_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.arrayForeground', colorRegistry_1.foreground, (0, nls_1.localize)(
|
|
125841
|
-
exports.SYMBOL_ICON_BOOLEAN_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.booleanForeground', colorRegistry_1.foreground, (0, nls_1.localize)(
|
|
125840
|
+
exports.SYMBOL_ICON_ARRAY_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.arrayForeground', colorRegistry_1.foreground, (0, nls_1.localize)(355, 'The foreground color for array symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
125841
|
+
exports.SYMBOL_ICON_BOOLEAN_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.booleanForeground', colorRegistry_1.foreground, (0, nls_1.localize)(356, 'The foreground color for boolean symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
125842
125842
|
exports.SYMBOL_ICON_CLASS_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.classForeground', {
|
|
125843
125843
|
dark: '#EE9D28',
|
|
125844
125844
|
light: '#D67E00',
|
|
125845
125845
|
hcDark: '#EE9D28',
|
|
125846
125846
|
hcLight: '#D67E00'
|
|
125847
|
-
}, (0, nls_1.localize)(
|
|
125848
|
-
exports.SYMBOL_ICON_COLOR_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.colorForeground', colorRegistry_1.foreground, (0, nls_1.localize)(
|
|
125849
|
-
exports.SYMBOL_ICON_CONSTANT_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.constantForeground', colorRegistry_1.foreground, (0, nls_1.localize)(
|
|
125847
|
+
}, (0, nls_1.localize)(357, 'The foreground color for class symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
125848
|
+
exports.SYMBOL_ICON_COLOR_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.colorForeground', colorRegistry_1.foreground, (0, nls_1.localize)(358, 'The foreground color for color symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
125849
|
+
exports.SYMBOL_ICON_CONSTANT_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.constantForeground', colorRegistry_1.foreground, (0, nls_1.localize)(359, 'The foreground color for constant symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
125850
125850
|
exports.SYMBOL_ICON_CONSTRUCTOR_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.constructorForeground', {
|
|
125851
125851
|
dark: '#B180D7',
|
|
125852
125852
|
light: '#652D90',
|
|
125853
125853
|
hcDark: '#B180D7',
|
|
125854
125854
|
hcLight: '#652D90'
|
|
125855
|
-
}, (0, nls_1.localize)(
|
|
125855
|
+
}, (0, nls_1.localize)(360, 'The foreground color for constructor symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
125856
125856
|
exports.SYMBOL_ICON_ENUMERATOR_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.enumeratorForeground', {
|
|
125857
125857
|
dark: '#EE9D28',
|
|
125858
125858
|
light: '#D67E00',
|
|
125859
125859
|
hcDark: '#EE9D28',
|
|
125860
125860
|
hcLight: '#D67E00'
|
|
125861
|
-
}, (0, nls_1.localize)(
|
|
125861
|
+
}, (0, nls_1.localize)(361, 'The foreground color for enumerator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
125862
125862
|
exports.SYMBOL_ICON_ENUMERATOR_MEMBER_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.enumeratorMemberForeground', {
|
|
125863
125863
|
dark: '#75BEFF',
|
|
125864
125864
|
light: '#007ACC',
|
|
125865
125865
|
hcDark: '#75BEFF',
|
|
125866
125866
|
hcLight: '#007ACC'
|
|
125867
|
-
}, (0, nls_1.localize)(
|
|
125867
|
+
}, (0, nls_1.localize)(362, 'The foreground color for enumerator member symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
125868
125868
|
exports.SYMBOL_ICON_EVENT_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.eventForeground', {
|
|
125869
125869
|
dark: '#EE9D28',
|
|
125870
125870
|
light: '#D67E00',
|
|
125871
125871
|
hcDark: '#EE9D28',
|
|
125872
125872
|
hcLight: '#D67E00'
|
|
125873
|
-
}, (0, nls_1.localize)(
|
|
125873
|
+
}, (0, nls_1.localize)(363, 'The foreground color for event symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
125874
125874
|
exports.SYMBOL_ICON_FIELD_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.fieldForeground', {
|
|
125875
125875
|
dark: '#75BEFF',
|
|
125876
125876
|
light: '#007ACC',
|
|
125877
125877
|
hcDark: '#75BEFF',
|
|
125878
125878
|
hcLight: '#007ACC'
|
|
125879
|
-
}, (0, nls_1.localize)(
|
|
125880
|
-
exports.SYMBOL_ICON_FILE_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.fileForeground', colorRegistry_1.foreground, (0, nls_1.localize)(
|
|
125881
|
-
exports.SYMBOL_ICON_FOLDER_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.folderForeground', colorRegistry_1.foreground, (0, nls_1.localize)(
|
|
125879
|
+
}, (0, nls_1.localize)(364, 'The foreground color for field symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
125880
|
+
exports.SYMBOL_ICON_FILE_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.fileForeground', colorRegistry_1.foreground, (0, nls_1.localize)(365, 'The foreground color for file symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
125881
|
+
exports.SYMBOL_ICON_FOLDER_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.folderForeground', colorRegistry_1.foreground, (0, nls_1.localize)(366, 'The foreground color for folder symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
125882
125882
|
exports.SYMBOL_ICON_FUNCTION_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.functionForeground', {
|
|
125883
125883
|
dark: '#B180D7',
|
|
125884
125884
|
light: '#652D90',
|
|
125885
125885
|
hcDark: '#B180D7',
|
|
125886
125886
|
hcLight: '#652D90'
|
|
125887
|
-
}, (0, nls_1.localize)(
|
|
125887
|
+
}, (0, nls_1.localize)(367, 'The foreground color for function symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
125888
125888
|
exports.SYMBOL_ICON_INTERFACE_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.interfaceForeground', {
|
|
125889
125889
|
dark: '#75BEFF',
|
|
125890
125890
|
light: '#007ACC',
|
|
125891
125891
|
hcDark: '#75BEFF',
|
|
125892
125892
|
hcLight: '#007ACC'
|
|
125893
|
-
}, (0, nls_1.localize)(
|
|
125894
|
-
exports.SYMBOL_ICON_KEY_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.keyForeground', colorRegistry_1.foreground, (0, nls_1.localize)(
|
|
125895
|
-
exports.SYMBOL_ICON_KEYWORD_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.keywordForeground', colorRegistry_1.foreground, (0, nls_1.localize)(
|
|
125893
|
+
}, (0, nls_1.localize)(368, 'The foreground color for interface symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
125894
|
+
exports.SYMBOL_ICON_KEY_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.keyForeground', colorRegistry_1.foreground, (0, nls_1.localize)(369, 'The foreground color for key symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
125895
|
+
exports.SYMBOL_ICON_KEYWORD_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.keywordForeground', colorRegistry_1.foreground, (0, nls_1.localize)(370, 'The foreground color for keyword symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
125896
125896
|
exports.SYMBOL_ICON_METHOD_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.methodForeground', {
|
|
125897
125897
|
dark: '#B180D7',
|
|
125898
125898
|
light: '#652D90',
|
|
125899
125899
|
hcDark: '#B180D7',
|
|
125900
125900
|
hcLight: '#652D90'
|
|
125901
|
-
}, (0, nls_1.localize)(
|
|
125902
|
-
exports.SYMBOL_ICON_MODULE_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.moduleForeground', colorRegistry_1.foreground, (0, nls_1.localize)(
|
|
125903
|
-
exports.SYMBOL_ICON_NAMESPACE_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.namespaceForeground', colorRegistry_1.foreground, (0, nls_1.localize)(
|
|
125904
|
-
exports.SYMBOL_ICON_NULL_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.nullForeground', colorRegistry_1.foreground, (0, nls_1.localize)(
|
|
125905
|
-
exports.SYMBOL_ICON_NUMBER_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.numberForeground', colorRegistry_1.foreground, (0, nls_1.localize)(
|
|
125906
|
-
exports.SYMBOL_ICON_OBJECT_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.objectForeground', colorRegistry_1.foreground, (0, nls_1.localize)(
|
|
125907
|
-
exports.SYMBOL_ICON_OPERATOR_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.operatorForeground', colorRegistry_1.foreground, (0, nls_1.localize)(
|
|
125908
|
-
exports.SYMBOL_ICON_PACKAGE_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.packageForeground', colorRegistry_1.foreground, (0, nls_1.localize)(
|
|
125909
|
-
exports.SYMBOL_ICON_PROPERTY_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.propertyForeground', colorRegistry_1.foreground, (0, nls_1.localize)(
|
|
125910
|
-
exports.SYMBOL_ICON_REFERENCE_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.referenceForeground', colorRegistry_1.foreground, (0, nls_1.localize)(
|
|
125911
|
-
exports.SYMBOL_ICON_SNIPPET_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.snippetForeground', colorRegistry_1.foreground, (0, nls_1.localize)(
|
|
125912
|
-
exports.SYMBOL_ICON_STRING_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.stringForeground', colorRegistry_1.foreground, (0, nls_1.localize)(
|
|
125913
|
-
exports.SYMBOL_ICON_STRUCT_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.structForeground', colorRegistry_1.foreground, (0, nls_1.localize)(
|
|
125914
|
-
exports.SYMBOL_ICON_TEXT_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.textForeground', colorRegistry_1.foreground, (0, nls_1.localize)(
|
|
125915
|
-
exports.SYMBOL_ICON_TYPEPARAMETER_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.typeParameterForeground', colorRegistry_1.foreground, (0, nls_1.localize)(
|
|
125916
|
-
exports.SYMBOL_ICON_UNIT_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.unitForeground', colorRegistry_1.foreground, (0, nls_1.localize)(
|
|
125901
|
+
}, (0, nls_1.localize)(371, 'The foreground color for method symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
125902
|
+
exports.SYMBOL_ICON_MODULE_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.moduleForeground', colorRegistry_1.foreground, (0, nls_1.localize)(372, 'The foreground color for module symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
125903
|
+
exports.SYMBOL_ICON_NAMESPACE_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.namespaceForeground', colorRegistry_1.foreground, (0, nls_1.localize)(373, 'The foreground color for namespace symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
125904
|
+
exports.SYMBOL_ICON_NULL_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.nullForeground', colorRegistry_1.foreground, (0, nls_1.localize)(374, 'The foreground color for null symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
125905
|
+
exports.SYMBOL_ICON_NUMBER_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.numberForeground', colorRegistry_1.foreground, (0, nls_1.localize)(375, 'The foreground color for number symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
125906
|
+
exports.SYMBOL_ICON_OBJECT_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.objectForeground', colorRegistry_1.foreground, (0, nls_1.localize)(376, 'The foreground color for object symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
125907
|
+
exports.SYMBOL_ICON_OPERATOR_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.operatorForeground', colorRegistry_1.foreground, (0, nls_1.localize)(377, 'The foreground color for operator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
125908
|
+
exports.SYMBOL_ICON_PACKAGE_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.packageForeground', colorRegistry_1.foreground, (0, nls_1.localize)(378, 'The foreground color for package symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
125909
|
+
exports.SYMBOL_ICON_PROPERTY_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.propertyForeground', colorRegistry_1.foreground, (0, nls_1.localize)(379, 'The foreground color for property symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
125910
|
+
exports.SYMBOL_ICON_REFERENCE_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.referenceForeground', colorRegistry_1.foreground, (0, nls_1.localize)(380, 'The foreground color for reference symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
125911
|
+
exports.SYMBOL_ICON_SNIPPET_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.snippetForeground', colorRegistry_1.foreground, (0, nls_1.localize)(381, 'The foreground color for snippet symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
125912
|
+
exports.SYMBOL_ICON_STRING_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.stringForeground', colorRegistry_1.foreground, (0, nls_1.localize)(382, 'The foreground color for string symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
125913
|
+
exports.SYMBOL_ICON_STRUCT_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.structForeground', colorRegistry_1.foreground, (0, nls_1.localize)(383, 'The foreground color for struct symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
125914
|
+
exports.SYMBOL_ICON_TEXT_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.textForeground', colorRegistry_1.foreground, (0, nls_1.localize)(384, 'The foreground color for text symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
125915
|
+
exports.SYMBOL_ICON_TYPEPARAMETER_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.typeParameterForeground', colorRegistry_1.foreground, (0, nls_1.localize)(385, 'The foreground color for type parameter symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
125916
|
+
exports.SYMBOL_ICON_UNIT_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.unitForeground', colorRegistry_1.foreground, (0, nls_1.localize)(386, 'The foreground color for unit symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
125917
125917
|
exports.SYMBOL_ICON_VARIABLE_FOREGROUND = (0, colorRegistry_1.registerColor)('symbolIcon.variableForeground', {
|
|
125918
125918
|
dark: '#75BEFF',
|
|
125919
125919
|
light: '#007ACC',
|
|
125920
125920
|
hcDark: '#75BEFF',
|
|
125921
125921
|
hcLight: '#007ACC',
|
|
125922
|
-
}, (0, nls_1.localize)(
|
|
125922
|
+
}, (0, nls_1.localize)(387, 'The foreground color for variable symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
125923
125923
|
});
|
|
125924
125924
|
|
|
125925
125925
|
/*---------------------------------------------------------------------------------------------
|
|
@@ -129074,8 +129074,8 @@ define(__m[214/*vs/editor/contrib/hover/browser/markdownHoverParticipant*/], __M
|
|
|
129074
129074
|
exports.renderMarkdownHovers = renderMarkdownHovers;
|
|
129075
129075
|
exports.labelForHoverVerbosityAction = labelForHoverVerbosityAction;
|
|
129076
129076
|
const $ = dom.$;
|
|
129077
|
-
const increaseHoverVerbosityIcon = (0, iconRegistry_1.registerIcon)('hover-increase-verbosity', codicons_1.Codicon.add, nls.localize(
|
|
129078
|
-
const decreaseHoverVerbosityIcon = (0, iconRegistry_1.registerIcon)('hover-decrease-verbosity', codicons_1.Codicon.remove, nls.localize(
|
|
129077
|
+
const increaseHoverVerbosityIcon = (0, iconRegistry_1.registerIcon)('hover-increase-verbosity', codicons_1.Codicon.add, nls.localize(658, 'Icon for increaseing hover verbosity.'));
|
|
129078
|
+
const decreaseHoverVerbosityIcon = (0, iconRegistry_1.registerIcon)('hover-decrease-verbosity', codicons_1.Codicon.remove, nls.localize(659, 'Icon for decreasing hover verbosity.'));
|
|
129079
129079
|
class MarkdownHover {
|
|
129080
129080
|
constructor(owner, range, contents, isBeforeContent, ordinal, source = undefined) {
|
|
129081
129081
|
this.owner = owner;
|
|
@@ -129120,7 +129120,7 @@ define(__m[214/*vs/editor/contrib/hover/browser/markdownHoverParticipant*/], __M
|
|
|
129120
129120
|
this.hoverOrdinal = 3;
|
|
129121
129121
|
}
|
|
129122
129122
|
createLoadingMessage(anchor) {
|
|
129123
|
-
return new MarkdownHover(this, anchor.range, [new htmlContent_1.MarkdownString().appendText(nls.localize(
|
|
129123
|
+
return new MarkdownHover(this, anchor.range, [new htmlContent_1.MarkdownString().appendText(nls.localize(660, "Loading..."))], false, 2000);
|
|
129124
129124
|
}
|
|
129125
129125
|
computeSync(anchor, lineDecorations) {
|
|
129126
129126
|
if (!this._editor.hasModel() || anchor.type !== 1 /* HoverAnchorType.Range */) {
|
|
@@ -129141,12 +129141,12 @@ define(__m[214/*vs/editor/contrib/hover/browser/markdownHoverParticipant*/], __M
|
|
|
129141
129141
|
if (stopRenderingLineAfter >= 0 && lineLength > stopRenderingLineAfter && anchor.range.startColumn >= stopRenderingLineAfter) {
|
|
129142
129142
|
stopRenderingMessage = true;
|
|
129143
129143
|
result.push(new MarkdownHover(this, anchor.range, [{
|
|
129144
|
-
value: nls.localize(
|
|
129144
|
+
value: nls.localize(661, "Rendering paused for long line for performance reasons. This can be configured via `editor.stopRenderingLineAfter`.")
|
|
129145
129145
|
}], false, index++));
|
|
129146
129146
|
}
|
|
129147
129147
|
if (!stopRenderingMessage && typeof maxTokenizationLineLength === 'number' && lineLength >= maxTokenizationLineLength) {
|
|
129148
129148
|
result.push(new MarkdownHover(this, anchor.range, [{
|
|
129149
|
-
value: nls.localize(
|
|
129149
|
+
value: nls.localize(662, "Tokenization is skipped for long lines for performance reasons. This can be configured via `editor.maxTokenizationLineLength`.")
|
|
129150
129150
|
}], false, index++));
|
|
129151
129151
|
}
|
|
129152
129152
|
let isBeforeContent = false;
|
|
@@ -129430,14 +129430,14 @@ define(__m[214/*vs/editor/contrib/hover/browser/markdownHoverParticipant*/], __M
|
|
|
129430
129430
|
case languages_1.HoverVerbosityAction.Increase: {
|
|
129431
129431
|
const kb = keybindingService.lookupKeybinding(hoverActionIds_1.INCREASE_HOVER_VERBOSITY_ACTION_ID);
|
|
129432
129432
|
return kb ?
|
|
129433
|
-
nls.localize(
|
|
129434
|
-
nls.localize(
|
|
129433
|
+
nls.localize(663, "Increase Hover Verbosity ({0})", kb.getLabel()) :
|
|
129434
|
+
nls.localize(664, "Increase Hover Verbosity");
|
|
129435
129435
|
}
|
|
129436
129436
|
case languages_1.HoverVerbosityAction.Decrease: {
|
|
129437
129437
|
const kb = keybindingService.lookupKeybinding(hoverActionIds_1.DECREASE_HOVER_VERBOSITY_ACTION_ID);
|
|
129438
129438
|
return kb ?
|
|
129439
|
-
nls.localize(
|
|
129440
|
-
nls.localize(
|
|
129439
|
+
nls.localize(665, "Decrease Hover Verbosity ({0})", kb.getLabel()) :
|
|
129440
|
+
nls.localize(666, "Decrease Hover Verbosity");
|
|
129441
129441
|
}
|
|
129442
129442
|
}
|
|
129443
129443
|
}
|
|
@@ -140316,7 +140316,7 @@ define(__m[785/*vs/editor/contrib/suggest/browser/suggestWidgetRenderer*/], __M(
|
|
|
140316
140316
|
function getAriaId(index) {
|
|
140317
140317
|
return `suggest-aria-id:${index}`;
|
|
140318
140318
|
}
|
|
140319
|
-
const suggestMoreInfoIcon = (0, iconRegistry_1.registerIcon)('suggest-more-info', codicons_1.Codicon.chevronRight, nls.localize(
|
|
140319
|
+
const suggestMoreInfoIcon = (0, iconRegistry_1.registerIcon)('suggest-more-info', codicons_1.Codicon.chevronRight, nls.localize(317, 'Icon for more information in the suggest widget.'));
|
|
140320
140320
|
const _completionItemColor = new class ColorExtractor {
|
|
140321
140321
|
static { this._regexRelaxed = /(#([\da-fA-F]{3}){1,2}|(rgb|hsl)a\(\s*(\d{1,3}%?\s*,\s*){3}(1|0?\.\d+)\)|(rgb|hsl)\(\s*\d{1,3}%?(\s*,\s*\d{1,3}%?){2}\s*\))/; }
|
|
140322
140322
|
static { this._regexStrict = new RegExp(`^${ColorExtractor._regexRelaxed.source}$`, 'i'); }
|
|
@@ -140372,7 +140372,7 @@ define(__m[785/*vs/editor/contrib/suggest/browser/suggestWidgetRenderer*/], __M(
|
|
|
140372
140372
|
const qualifierLabel = (0, dom_1.append)(left, (0, dom_1.$)('span.qualifier-label'));
|
|
140373
140373
|
const detailsLabel = (0, dom_1.append)(right, (0, dom_1.$)('span.details-label'));
|
|
140374
140374
|
const readMore = (0, dom_1.append)(right, (0, dom_1.$)('span.readMore' + themables_1.ThemeIcon.asCSSSelector(suggestMoreInfoIcon)));
|
|
140375
|
-
readMore.title = nls.localize(
|
|
140375
|
+
readMore.title = nls.localize(318, "Read More");
|
|
140376
140376
|
const configureFont = () => {
|
|
140377
140377
|
const options = this._editor.getOptions();
|
|
140378
140378
|
const fontInfo = options.get(50 /* EditorOption.fontInfo */);
|
|
@@ -161291,7 +161291,7 @@ define(__m[821/*vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace*/], __M(
|
|
|
161291
161291
|
constructor() {
|
|
161292
161292
|
super({
|
|
161293
161293
|
id: 'editor.action.inPlaceReplace.up',
|
|
161294
|
-
label: nls.localize(
|
|
161294
|
+
label: nls.localize(699, "Replace with Previous Value"),
|
|
161295
161295
|
alias: 'Replace with Previous Value',
|
|
161296
161296
|
precondition: editorContextKeys_1.EditorContextKeys.writable,
|
|
161297
161297
|
kbOpts: {
|
|
@@ -161313,7 +161313,7 @@ define(__m[821/*vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace*/], __M(
|
|
|
161313
161313
|
constructor() {
|
|
161314
161314
|
super({
|
|
161315
161315
|
id: 'editor.action.inPlaceReplace.down',
|
|
161316
|
-
label: nls.localize(
|
|
161316
|
+
label: nls.localize(700, "Replace with Next Value"),
|
|
161317
161317
|
alias: 'Replace with Next Value',
|
|
161318
161318
|
precondition: editorContextKeys_1.EditorContextKeys.writable,
|
|
161319
161319
|
kbOpts: {
|
|
@@ -163446,15 +163446,15 @@ define(__m[829/*vs/editor/contrib/suggest/browser/suggestWidget*/], __M([1/*requ
|
|
|
163446
163446
|
/**
|
|
163447
163447
|
* Suggest widget colors
|
|
163448
163448
|
*/
|
|
163449
|
-
(0, colorRegistry_1.registerColor)('editorSuggestWidget.background', colorRegistry_1.editorWidgetBackground, nls.localize(
|
|
163450
|
-
(0, colorRegistry_1.registerColor)('editorSuggestWidget.border', colorRegistry_1.editorWidgetBorder, nls.localize(
|
|
163451
|
-
const editorSuggestWidgetForeground = (0, colorRegistry_1.registerColor)('editorSuggestWidget.foreground', colorRegistry_1.editorForeground, nls.localize(
|
|
163452
|
-
(0, colorRegistry_1.registerColor)('editorSuggestWidget.selectedForeground', colorRegistry_1.quickInputListFocusForeground, nls.localize(
|
|
163453
|
-
(0, colorRegistry_1.registerColor)('editorSuggestWidget.selectedIconForeground', colorRegistry_1.quickInputListFocusIconForeground, nls.localize(
|
|
163454
|
-
exports.editorSuggestWidgetSelectedBackground = (0, colorRegistry_1.registerColor)('editorSuggestWidget.selectedBackground', colorRegistry_1.quickInputListFocusBackground, nls.localize(
|
|
163455
|
-
(0, colorRegistry_1.registerColor)('editorSuggestWidget.highlightForeground', colorRegistry_1.listHighlightForeground, nls.localize(
|
|
163456
|
-
(0, colorRegistry_1.registerColor)('editorSuggestWidget.focusHighlightForeground', colorRegistry_1.listFocusHighlightForeground, nls.localize(
|
|
163457
|
-
(0, colorRegistry_1.registerColor)('editorSuggestWidgetStatus.foreground', (0, colorRegistry_1.transparent)(editorSuggestWidgetForeground, .5), nls.localize(
|
|
163449
|
+
(0, colorRegistry_1.registerColor)('editorSuggestWidget.background', colorRegistry_1.editorWidgetBackground, nls.localize(321, 'Background color of the suggest widget.'));
|
|
163450
|
+
(0, colorRegistry_1.registerColor)('editorSuggestWidget.border', colorRegistry_1.editorWidgetBorder, nls.localize(322, 'Border color of the suggest widget.'));
|
|
163451
|
+
const editorSuggestWidgetForeground = (0, colorRegistry_1.registerColor)('editorSuggestWidget.foreground', colorRegistry_1.editorForeground, nls.localize(323, 'Foreground color of the suggest widget.'));
|
|
163452
|
+
(0, colorRegistry_1.registerColor)('editorSuggestWidget.selectedForeground', colorRegistry_1.quickInputListFocusForeground, nls.localize(324, 'Foreground color of the selected entry in the suggest widget.'));
|
|
163453
|
+
(0, colorRegistry_1.registerColor)('editorSuggestWidget.selectedIconForeground', colorRegistry_1.quickInputListFocusIconForeground, nls.localize(325, 'Icon foreground color of the selected entry in the suggest widget.'));
|
|
163454
|
+
exports.editorSuggestWidgetSelectedBackground = (0, colorRegistry_1.registerColor)('editorSuggestWidget.selectedBackground', colorRegistry_1.quickInputListFocusBackground, nls.localize(326, 'Background color of the selected entry in the suggest widget.'));
|
|
163455
|
+
(0, colorRegistry_1.registerColor)('editorSuggestWidget.highlightForeground', colorRegistry_1.listHighlightForeground, nls.localize(327, 'Color of the match highlights in the suggest widget.'));
|
|
163456
|
+
(0, colorRegistry_1.registerColor)('editorSuggestWidget.focusHighlightForeground', colorRegistry_1.listFocusHighlightForeground, nls.localize(328, 'Color of the match highlights in the suggest widget when an item is focused.'));
|
|
163457
|
+
(0, colorRegistry_1.registerColor)('editorSuggestWidgetStatus.foreground', (0, colorRegistry_1.transparent)(editorSuggestWidgetForeground, .5), nls.localize(329, 'Foreground color of the suggest widget status.'));
|
|
163458
163458
|
class PersistedWidgetSize {
|
|
163459
163459
|
constructor(_service, editor) {
|
|
163460
163460
|
this._service = _service;
|
|
@@ -163482,8 +163482,8 @@ define(__m[829/*vs/editor/contrib/suggest/browser/suggestWidget*/], __M([1/*requ
|
|
|
163482
163482
|
}
|
|
163483
163483
|
let SuggestWidget = class SuggestWidget {
|
|
163484
163484
|
static { SuggestWidget_1 = this; }
|
|
163485
|
-
static { this.LOADING_MESSAGE = nls.localize(
|
|
163486
|
-
static { this.NO_SUGGESTIONS_MESSAGE = nls.localize(
|
|
163485
|
+
static { this.LOADING_MESSAGE = nls.localize(330, "Loading..."); }
|
|
163486
|
+
static { this.NO_SUGGESTIONS_MESSAGE = nls.localize(331, "No suggestions."); }
|
|
163487
163487
|
constructor(editor, _storageService, _contextKeyService, _themeService, instantiationService) {
|
|
163488
163488
|
this.editor = editor;
|
|
163489
163489
|
this._storageService = _storageService;
|
|
@@ -163570,20 +163570,20 @@ define(__m[829/*vs/editor/contrib/suggest/browser/suggestWidget*/], __M([1/*requ
|
|
|
163570
163570
|
multipleSelectionSupport: false,
|
|
163571
163571
|
accessibilityProvider: {
|
|
163572
163572
|
getRole: () => 'option',
|
|
163573
|
-
getWidgetAriaLabel: () => nls.localize(
|
|
163573
|
+
getWidgetAriaLabel: () => nls.localize(332, "Suggest"),
|
|
163574
163574
|
getWidgetRole: () => 'listbox',
|
|
163575
163575
|
getAriaLabel: (item) => {
|
|
163576
163576
|
let label = item.textLabel;
|
|
163577
163577
|
if (typeof item.completion.label !== 'string') {
|
|
163578
163578
|
const { detail, description } = item.completion.label;
|
|
163579
163579
|
if (detail && description) {
|
|
163580
|
-
label = nls.localize(
|
|
163580
|
+
label = nls.localize(333, '{0} {1}, {2}', label, detail, description);
|
|
163581
163581
|
}
|
|
163582
163582
|
else if (detail) {
|
|
163583
|
-
label = nls.localize(
|
|
163583
|
+
label = nls.localize(334, '{0} {1}', label, detail);
|
|
163584
163584
|
}
|
|
163585
163585
|
else if (description) {
|
|
163586
|
-
label = nls.localize(
|
|
163586
|
+
label = nls.localize(335, '{0}, {1}', label, description);
|
|
163587
163587
|
}
|
|
163588
163588
|
}
|
|
163589
163589
|
if (!item.isResolved || !this._isDetailsVisible()) {
|
|
@@ -163591,7 +163591,7 @@ define(__m[829/*vs/editor/contrib/suggest/browser/suggestWidget*/], __M([1/*requ
|
|
|
163591
163591
|
}
|
|
163592
163592
|
const { documentation, detail } = item.completion;
|
|
163593
163593
|
const docs = strings.format('{0}{1}', detail || '', documentation ? (typeof documentation === 'string' ? documentation : documentation.value) : '');
|
|
163594
|
-
return nls.localize(
|
|
163594
|
+
return nls.localize(336, "{0}, docs: {1}", label, docs);
|
|
163595
163595
|
},
|
|
163596
163596
|
}
|
|
163597
163597
|
});
|
|
@@ -169239,7 +169239,7 @@ define(__m[835/*vs/editor/contrib/hover/browser/markerHoverParticipant*/], __M([
|
|
|
169239
169239
|
const markerController = gotoError_1.MarkerController.get(this._editor);
|
|
169240
169240
|
if (markerController) {
|
|
169241
169241
|
context.statusBar.addAction({
|
|
169242
|
-
label: nls.localize(
|
|
169242
|
+
label: nls.localize(653, "View Problem"),
|
|
169243
169243
|
commandId: gotoError_1.NextMarkerAction.ID,
|
|
169244
169244
|
run: () => {
|
|
169245
169245
|
context.hide();
|
|
@@ -169254,14 +169254,14 @@ define(__m[835/*vs/editor/contrib/hover/browser/markerHoverParticipant*/], __M([
|
|
|
169254
169254
|
if (this.recentMarkerCodeActionsInfo) {
|
|
169255
169255
|
if (markers_1.IMarkerData.makeKey(this.recentMarkerCodeActionsInfo.marker) === markers_1.IMarkerData.makeKey(markerHover.marker)) {
|
|
169256
169256
|
if (!this.recentMarkerCodeActionsInfo.hasCodeActions) {
|
|
169257
|
-
quickfixPlaceholderElement.textContent = nls.localize(
|
|
169257
|
+
quickfixPlaceholderElement.textContent = nls.localize(654, "No quick fixes available");
|
|
169258
169258
|
}
|
|
169259
169259
|
}
|
|
169260
169260
|
else {
|
|
169261
169261
|
this.recentMarkerCodeActionsInfo = undefined;
|
|
169262
169262
|
}
|
|
169263
169263
|
}
|
|
169264
|
-
const updatePlaceholderDisposable = this.recentMarkerCodeActionsInfo && !this.recentMarkerCodeActionsInfo.hasCodeActions ? lifecycle_1.Disposable.None : (0, async_1.disposableTimeout)(() => quickfixPlaceholderElement.textContent = nls.localize(
|
|
169264
|
+
const updatePlaceholderDisposable = this.recentMarkerCodeActionsInfo && !this.recentMarkerCodeActionsInfo.hasCodeActions ? lifecycle_1.Disposable.None : (0, async_1.disposableTimeout)(() => quickfixPlaceholderElement.textContent = nls.localize(655, "Checking for quick fixes..."), 200, disposables);
|
|
169265
169265
|
if (!quickfixPlaceholderElement.textContent) {
|
|
169266
169266
|
// Have some content in here to avoid flickering
|
|
169267
169267
|
quickfixPlaceholderElement.textContent = String.fromCharCode(0xA0); //
|
|
@@ -169273,7 +169273,7 @@ define(__m[835/*vs/editor/contrib/hover/browser/markerHoverParticipant*/], __M([
|
|
|
169273
169273
|
this.recentMarkerCodeActionsInfo = { marker: markerHover.marker, hasCodeActions: actions.validActions.length > 0 };
|
|
169274
169274
|
if (!this.recentMarkerCodeActionsInfo.hasCodeActions) {
|
|
169275
169275
|
actions.dispose();
|
|
169276
|
-
quickfixPlaceholderElement.textContent = nls.localize(
|
|
169276
|
+
quickfixPlaceholderElement.textContent = nls.localize(656, "No quick fixes available");
|
|
169277
169277
|
return;
|
|
169278
169278
|
}
|
|
169279
169279
|
quickfixPlaceholderElement.style.display = 'none';
|
|
@@ -169284,7 +169284,7 @@ define(__m[835/*vs/editor/contrib/hover/browser/markerHoverParticipant*/], __M([
|
|
|
169284
169284
|
}
|
|
169285
169285
|
}));
|
|
169286
169286
|
context.statusBar.addAction({
|
|
169287
|
-
label: nls.localize(
|
|
169287
|
+
label: nls.localize(657, "Quick Fix..."),
|
|
169288
169288
|
commandId: codeAction_1.quickFixCommandId,
|
|
169289
169289
|
run: (target) => {
|
|
169290
169290
|
showing = true;
|
|
@@ -170342,14 +170342,14 @@ define(__m[836/*vs/editor/contrib/hover/browser/contentHoverRendered*/], __M([1/
|
|
|
170342
170342
|
return '';
|
|
170343
170343
|
}
|
|
170344
170344
|
if (renderedPart.type === 'statusBar') {
|
|
170345
|
-
const statusBarDescription = [(0, nls_1.localize)(
|
|
170345
|
+
const statusBarDescription = [(0, nls_1.localize)(696, "This is a hover status bar.")];
|
|
170346
170346
|
for (const action of renderedPart.actions) {
|
|
170347
170347
|
const keybinding = action.actionKeybindingLabel;
|
|
170348
170348
|
if (keybinding) {
|
|
170349
|
-
statusBarDescription.push((0, nls_1.localize)(
|
|
170349
|
+
statusBarDescription.push((0, nls_1.localize)(697, "It has an action with label {0} and keybinding {1}.", action.actionLabel, keybinding));
|
|
170350
170350
|
}
|
|
170351
170351
|
else {
|
|
170352
|
-
statusBarDescription.push((0, nls_1.localize)(
|
|
170352
|
+
statusBarDescription.push((0, nls_1.localize)(698, "It has an action with label {0}.", action.actionLabel));
|
|
170353
170353
|
}
|
|
170354
170354
|
}
|
|
170355
170355
|
return statusBarDescription.join('\n');
|
|
@@ -171176,7 +171176,7 @@ define(__m[839/*vs/editor/contrib/hover/browser/hoverActions*/], __M([1/*require
|
|
|
171176
171176
|
constructor() {
|
|
171177
171177
|
super({
|
|
171178
171178
|
id: hoverActionIds_1.SHOW_OR_FOCUS_HOVER_ACTION_ID,
|
|
171179
|
-
label: nls.localize(
|
|
171179
|
+
label: nls.localize(667, "Show or Focus Hover"),
|
|
171180
171180
|
|
|
171181
171181
|
|
|
171182
171182
|
|
|
@@ -171185,7 +171185,7 @@ define(__m[839/*vs/editor/contrib/hover/browser/hoverActions*/], __M([1/*require
|
|
|
171185
171185
|
|
|
171186
171186
|
|
|
171187
171187
|
metadata: {
|
|
171188
|
-
description: nls.localize2(
|
|
171188
|
+
description: nls.localize2(680, 'Show or focus the editor hover which shows documentation, references, and other content for a symbol at the current cursor position.'),
|
|
171189
171189
|
args: [{
|
|
171190
171190
|
name: 'args',
|
|
171191
171191
|
schema: {
|
|
@@ -171195,9 +171195,9 @@ define(__m[839/*vs/editor/contrib/hover/browser/hoverActions*/], __M([1/*require
|
|
|
171195
171195
|
description: 'Controls if and when the hover should take focus upon being triggered by this action.',
|
|
171196
171196
|
enum: [HoverFocusBehavior.NoAutoFocus, HoverFocusBehavior.FocusIfVisible, HoverFocusBehavior.AutoFocusImmediately],
|
|
171197
171197
|
enumDescriptions: [
|
|
171198
|
-
nls.localize(
|
|
171199
|
-
nls.localize(
|
|
171200
|
-
nls.localize(
|
|
171198
|
+
nls.localize(668, 'The hover will not automatically take focus.'),
|
|
171199
|
+
nls.localize(669, 'The hover will take focus only if it is already visible.'),
|
|
171200
|
+
nls.localize(670, 'The hover will automatically take focus when it appears.'),
|
|
171201
171201
|
],
|
|
171202
171202
|
default: HoverFocusBehavior.FocusIfVisible,
|
|
171203
171203
|
}
|
|
@@ -171254,7 +171254,7 @@ define(__m[839/*vs/editor/contrib/hover/browser/hoverActions*/], __M([1/*require
|
|
|
171254
171254
|
constructor() {
|
|
171255
171255
|
super({
|
|
171256
171256
|
id: hoverActionIds_1.SHOW_DEFINITION_PREVIEW_HOVER_ACTION_ID,
|
|
171257
|
-
label: nls.localize(
|
|
171257
|
+
label: nls.localize(671, "Show Definition Preview Hover"),
|
|
171258
171258
|
|
|
171259
171259
|
|
|
171260
171260
|
|
|
@@ -171264,7 +171264,7 @@ define(__m[839/*vs/editor/contrib/hover/browser/hoverActions*/], __M([1/*require
|
|
|
171264
171264
|
alias: 'Show Definition Preview Hover',
|
|
171265
171265
|
precondition: undefined,
|
|
171266
171266
|
metadata: {
|
|
171267
|
-
description: nls.localize2(
|
|
171267
|
+
description: nls.localize2(681, 'Show the definition preview hover in the editor.'),
|
|
171268
171268
|
},
|
|
171269
171269
|
});
|
|
171270
171270
|
}
|
|
@@ -171293,7 +171293,7 @@ define(__m[839/*vs/editor/contrib/hover/browser/hoverActions*/], __M([1/*require
|
|
|
171293
171293
|
constructor() {
|
|
171294
171294
|
super({
|
|
171295
171295
|
id: hoverActionIds_1.SCROLL_UP_HOVER_ACTION_ID,
|
|
171296
|
-
label: nls.localize(
|
|
171296
|
+
label: nls.localize(672, "Scroll Up Hover"),
|
|
171297
171297
|
|
|
171298
171298
|
|
|
171299
171299
|
|
|
@@ -171307,7 +171307,7 @@ define(__m[839/*vs/editor/contrib/hover/browser/hoverActions*/], __M([1/*require
|
|
|
171307
171307
|
weight: 100 /* KeybindingWeight.EditorContrib */
|
|
171308
171308
|
},
|
|
171309
171309
|
metadata: {
|
|
171310
|
-
description: nls.localize2(
|
|
171310
|
+
description: nls.localize2(682, 'Scroll up the editor hover.')
|
|
171311
171311
|
},
|
|
171312
171312
|
});
|
|
171313
171313
|
}
|
|
@@ -171324,7 +171324,7 @@ define(__m[839/*vs/editor/contrib/hover/browser/hoverActions*/], __M([1/*require
|
|
|
171324
171324
|
constructor() {
|
|
171325
171325
|
super({
|
|
171326
171326
|
id: hoverActionIds_1.SCROLL_DOWN_HOVER_ACTION_ID,
|
|
171327
|
-
label: nls.localize(
|
|
171327
|
+
label: nls.localize(673, "Scroll Down Hover"),
|
|
171328
171328
|
|
|
171329
171329
|
|
|
171330
171330
|
|
|
@@ -171338,7 +171338,7 @@ define(__m[839/*vs/editor/contrib/hover/browser/hoverActions*/], __M([1/*require
|
|
|
171338
171338
|
weight: 100 /* KeybindingWeight.EditorContrib */
|
|
171339
171339
|
},
|
|
171340
171340
|
metadata: {
|
|
171341
|
-
description: nls.localize2(
|
|
171341
|
+
description: nls.localize2(683, 'Scroll down the editor hover.'),
|
|
171342
171342
|
},
|
|
171343
171343
|
});
|
|
171344
171344
|
}
|
|
@@ -171355,7 +171355,7 @@ define(__m[839/*vs/editor/contrib/hover/browser/hoverActions*/], __M([1/*require
|
|
|
171355
171355
|
constructor() {
|
|
171356
171356
|
super({
|
|
171357
171357
|
id: hoverActionIds_1.SCROLL_LEFT_HOVER_ACTION_ID,
|
|
171358
|
-
label: nls.localize(
|
|
171358
|
+
label: nls.localize(674, "Scroll Left Hover"),
|
|
171359
171359
|
|
|
171360
171360
|
|
|
171361
171361
|
|
|
@@ -171369,7 +171369,7 @@ define(__m[839/*vs/editor/contrib/hover/browser/hoverActions*/], __M([1/*require
|
|
|
171369
171369
|
weight: 100 /* KeybindingWeight.EditorContrib */
|
|
171370
171370
|
},
|
|
171371
171371
|
metadata: {
|
|
171372
|
-
description: nls.localize2(
|
|
171372
|
+
description: nls.localize2(684, 'Scroll left the editor hover.'),
|
|
171373
171373
|
},
|
|
171374
171374
|
});
|
|
171375
171375
|
}
|
|
@@ -171386,7 +171386,7 @@ define(__m[839/*vs/editor/contrib/hover/browser/hoverActions*/], __M([1/*require
|
|
|
171386
171386
|
constructor() {
|
|
171387
171387
|
super({
|
|
171388
171388
|
id: hoverActionIds_1.SCROLL_RIGHT_HOVER_ACTION_ID,
|
|
171389
|
-
label: nls.localize(
|
|
171389
|
+
label: nls.localize(675, "Scroll Right Hover"),
|
|
171390
171390
|
|
|
171391
171391
|
|
|
171392
171392
|
|
|
@@ -171400,7 +171400,7 @@ define(__m[839/*vs/editor/contrib/hover/browser/hoverActions*/], __M([1/*require
|
|
|
171400
171400
|
weight: 100 /* KeybindingWeight.EditorContrib */
|
|
171401
171401
|
},
|
|
171402
171402
|
metadata: {
|
|
171403
|
-
description: nls.localize2(
|
|
171403
|
+
description: nls.localize2(685, 'Scroll right the editor hover.')
|
|
171404
171404
|
},
|
|
171405
171405
|
});
|
|
171406
171406
|
}
|
|
@@ -171417,7 +171417,7 @@ define(__m[839/*vs/editor/contrib/hover/browser/hoverActions*/], __M([1/*require
|
|
|
171417
171417
|
constructor() {
|
|
171418
171418
|
super({
|
|
171419
171419
|
id: hoverActionIds_1.PAGE_UP_HOVER_ACTION_ID,
|
|
171420
|
-
label: nls.localize(
|
|
171420
|
+
label: nls.localize(676, "Page Up Hover"),
|
|
171421
171421
|
|
|
171422
171422
|
|
|
171423
171423
|
|
|
@@ -171432,7 +171432,7 @@ define(__m[839/*vs/editor/contrib/hover/browser/hoverActions*/], __M([1/*require
|
|
|
171432
171432
|
weight: 100 /* KeybindingWeight.EditorContrib */
|
|
171433
171433
|
},
|
|
171434
171434
|
metadata: {
|
|
171435
|
-
description: nls.localize2(
|
|
171435
|
+
description: nls.localize2(686, 'Page up the editor hover.'),
|
|
171436
171436
|
},
|
|
171437
171437
|
});
|
|
171438
171438
|
}
|
|
@@ -171449,7 +171449,7 @@ define(__m[839/*vs/editor/contrib/hover/browser/hoverActions*/], __M([1/*require
|
|
|
171449
171449
|
constructor() {
|
|
171450
171450
|
super({
|
|
171451
171451
|
id: hoverActionIds_1.PAGE_DOWN_HOVER_ACTION_ID,
|
|
171452
|
-
label: nls.localize(
|
|
171452
|
+
label: nls.localize(677, "Page Down Hover"),
|
|
171453
171453
|
|
|
171454
171454
|
|
|
171455
171455
|
|
|
@@ -171464,7 +171464,7 @@ define(__m[839/*vs/editor/contrib/hover/browser/hoverActions*/], __M([1/*require
|
|
|
171464
171464
|
weight: 100 /* KeybindingWeight.EditorContrib */
|
|
171465
171465
|
},
|
|
171466
171466
|
metadata: {
|
|
171467
|
-
description: nls.localize2(
|
|
171467
|
+
description: nls.localize2(687, 'Page down the editor hover.'),
|
|
171468
171468
|
},
|
|
171469
171469
|
});
|
|
171470
171470
|
}
|
|
@@ -171481,7 +171481,7 @@ define(__m[839/*vs/editor/contrib/hover/browser/hoverActions*/], __M([1/*require
|
|
|
171481
171481
|
constructor() {
|
|
171482
171482
|
super({
|
|
171483
171483
|
id: hoverActionIds_1.GO_TO_TOP_HOVER_ACTION_ID,
|
|
171484
|
-
label: nls.localize(
|
|
171484
|
+
label: nls.localize(678, "Go To Top Hover"),
|
|
171485
171485
|
|
|
171486
171486
|
|
|
171487
171487
|
|
|
@@ -171496,7 +171496,7 @@ define(__m[839/*vs/editor/contrib/hover/browser/hoverActions*/], __M([1/*require
|
|
|
171496
171496
|
weight: 100 /* KeybindingWeight.EditorContrib */
|
|
171497
171497
|
},
|
|
171498
171498
|
metadata: {
|
|
171499
|
-
description: nls.localize2(
|
|
171499
|
+
description: nls.localize2(688, 'Go to the top of the editor hover.'),
|
|
171500
171500
|
},
|
|
171501
171501
|
});
|
|
171502
171502
|
}
|
|
@@ -171513,7 +171513,7 @@ define(__m[839/*vs/editor/contrib/hover/browser/hoverActions*/], __M([1/*require
|
|
|
171513
171513
|
constructor() {
|
|
171514
171514
|
super({
|
|
171515
171515
|
id: hoverActionIds_1.GO_TO_BOTTOM_HOVER_ACTION_ID,
|
|
171516
|
-
label: nls.localize(
|
|
171516
|
+
label: nls.localize(679, "Go To Bottom Hover"),
|
|
171517
171517
|
|
|
171518
171518
|
|
|
171519
171519
|
|
|
@@ -171528,7 +171528,7 @@ define(__m[839/*vs/editor/contrib/hover/browser/hoverActions*/], __M([1/*require
|
|
|
171528
171528
|
weight: 100 /* KeybindingWeight.EditorContrib */
|
|
171529
171529
|
},
|
|
171530
171530
|
metadata: {
|
|
171531
|
-
description: nls.localize2(
|
|
171531
|
+
description: nls.localize2(689, 'Go to the bottom of the editor hover.')
|
|
171532
171532
|
},
|
|
171533
171533
|
});
|
|
171534
171534
|
}
|
|
@@ -177808,7 +177808,7 @@ define(__m[291/*vs/editor/contrib/suggest/browser/suggestController*/], __M([1/*
|
|
|
177808
177808
|
}
|
|
177809
177809
|
_alertCompletionItem(item) {
|
|
177810
177810
|
if ((0, arrays_1.isNonEmptyArray)(item.completion.additionalTextEdits)) {
|
|
177811
|
-
const msg = nls.localize(
|
|
177811
|
+
const msg = nls.localize(337, "Accepting '{0}' made {1} additional edits", item.textLabel, item.completion.additionalTextEdits.length);
|
|
177812
177812
|
(0, aria_1.alert)(msg);
|
|
177813
177813
|
}
|
|
177814
177814
|
}
|
|
@@ -177988,7 +177988,7 @@ define(__m[291/*vs/editor/contrib/suggest/browser/suggestController*/], __M([1/*
|
|
|
177988
177988
|
constructor() {
|
|
177989
177989
|
super({
|
|
177990
177990
|
id: TriggerSuggestAction.id,
|
|
177991
|
-
label: nls.localize(
|
|
177991
|
+
label: nls.localize(338, "Trigger Suggest"),
|
|
177992
177992
|
alias: 'Trigger Suggest',
|
|
177993
177993
|
precondition: contextkey_1.ContextKeyExpr.and(editorContextKeys_1.EditorContextKeys.writable, editorContextKeys_1.EditorContextKeys.hasCompletionItemProvider, suggest_1.Context.Visible.toNegated()),
|
|
177994
177994
|
kbOpts: {
|
|
@@ -178038,19 +178038,19 @@ define(__m[291/*vs/editor/contrib/suggest/browser/suggestController*/], __M([1/*
|
|
|
178038
178038
|
}],
|
|
178039
178039
|
menuOpts: [{
|
|
178040
178040
|
menuId: suggest_1.suggestWidgetStatusbarMenu,
|
|
178041
|
-
title: nls.localize(
|
|
178041
|
+
title: nls.localize(339, "Insert"),
|
|
178042
178042
|
group: 'left',
|
|
178043
178043
|
order: 1,
|
|
178044
178044
|
when: suggest_1.Context.HasInsertAndReplaceRange.toNegated()
|
|
178045
178045
|
}, {
|
|
178046
178046
|
menuId: suggest_1.suggestWidgetStatusbarMenu,
|
|
178047
|
-
title: nls.localize(
|
|
178047
|
+
title: nls.localize(340, "Insert"),
|
|
178048
178048
|
group: 'left',
|
|
178049
178049
|
order: 1,
|
|
178050
178050
|
when: contextkey_1.ContextKeyExpr.and(suggest_1.Context.HasInsertAndReplaceRange, suggest_1.Context.InsertMode.isEqualTo('insert'))
|
|
178051
178051
|
}, {
|
|
178052
178052
|
menuId: suggest_1.suggestWidgetStatusbarMenu,
|
|
178053
|
-
title: nls.localize(
|
|
178053
|
+
title: nls.localize(341, "Replace"),
|
|
178054
178054
|
group: 'left',
|
|
178055
178055
|
order: 1,
|
|
178056
178056
|
when: contextkey_1.ContextKeyExpr.and(suggest_1.Context.HasInsertAndReplaceRange, suggest_1.Context.InsertMode.isEqualTo('replace'))
|
|
@@ -178073,13 +178073,13 @@ define(__m[291/*vs/editor/contrib/suggest/browser/suggestController*/], __M([1/*
|
|
|
178073
178073
|
group: 'left',
|
|
178074
178074
|
order: 2,
|
|
178075
178075
|
when: contextkey_1.ContextKeyExpr.and(suggest_1.Context.HasInsertAndReplaceRange, suggest_1.Context.InsertMode.isEqualTo('insert')),
|
|
178076
|
-
title: nls.localize(
|
|
178076
|
+
title: nls.localize(342, "Replace")
|
|
178077
178077
|
}, {
|
|
178078
178078
|
menuId: suggest_1.suggestWidgetStatusbarMenu,
|
|
178079
178079
|
group: 'left',
|
|
178080
178080
|
order: 2,
|
|
178081
178081
|
when: contextkey_1.ContextKeyExpr.and(suggest_1.Context.HasInsertAndReplaceRange, suggest_1.Context.InsertMode.isEqualTo('replace')),
|
|
178082
|
-
title: nls.localize(
|
|
178082
|
+
title: nls.localize(343, "Insert")
|
|
178083
178083
|
}]
|
|
178084
178084
|
}));
|
|
178085
178085
|
// continue to support the old command
|
|
@@ -178187,13 +178187,13 @@ define(__m[291/*vs/editor/contrib/suggest/browser/suggestController*/], __M([1/*
|
|
|
178187
178187
|
group: 'right',
|
|
178188
178188
|
order: 1,
|
|
178189
178189
|
when: contextkey_1.ContextKeyExpr.and(suggest_1.Context.DetailsVisible, suggest_1.Context.CanResolve),
|
|
178190
|
-
title: nls.localize(
|
|
178190
|
+
title: nls.localize(344, "show less")
|
|
178191
178191
|
}, {
|
|
178192
178192
|
menuId: suggest_1.suggestWidgetStatusbarMenu,
|
|
178193
178193
|
group: 'right',
|
|
178194
178194
|
order: 1,
|
|
178195
178195
|
when: contextkey_1.ContextKeyExpr.and(suggest_1.Context.DetailsVisible.toNegated(), suggest_1.Context.CanResolve),
|
|
178196
|
-
title: nls.localize(
|
|
178196
|
+
title: nls.localize(345, "show more")
|
|
178197
178197
|
}]
|
|
178198
178198
|
}));
|
|
178199
178199
|
(0, editorExtensions_1.registerEditorCommand)(new SuggestCommand({
|
|
@@ -178252,7 +178252,7 @@ define(__m[291/*vs/editor/contrib/suggest/browser/suggestController*/], __M([1/*
|
|
|
178252
178252
|
constructor() {
|
|
178253
178253
|
super({
|
|
178254
178254
|
id: 'editor.action.resetSuggestSize',
|
|
178255
|
-
label: nls.localize(
|
|
178255
|
+
label: nls.localize(346, "Reset Suggest Widget Size"),
|
|
178256
178256
|
alias: 'Reset Suggest Widget Size',
|
|
178257
178257
|
precondition: undefined
|
|
178258
178258
|
});
|
|
@@ -180048,7 +180048,7 @@ define(__m[859/*vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter*
|
|
|
180048
180048
|
"use strict";
|
|
180049
180049
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
180050
180050
|
exports.ShowExcludeOptions = exports.DisableHighlightingOfNonBasicAsciiCharactersAction = exports.DisableHighlightingOfInvisibleCharactersAction = exports.DisableHighlightingOfAmbiguousCharactersAction = exports.DisableHighlightingInStringsAction = exports.DisableHighlightingInCommentsAction = exports.UnicodeHighlighterHoverParticipant = exports.UnicodeHighlighter = exports.warningIcon = void 0;
|
|
180051
|
-
exports.warningIcon = (0, iconRegistry_1.registerIcon)('extensions-warning-message', codicons_1.Codicon.warning, nls.localize(
|
|
180051
|
+
exports.warningIcon = (0, iconRegistry_1.registerIcon)('extensions-warning-message', codicons_1.Codicon.warning, nls.localize(283, 'Icon shown with a warning message in the extensions editor.'));
|
|
180052
180052
|
let UnicodeHighlighter = class UnicodeHighlighter extends lifecycle_1.Disposable {
|
|
180053
180053
|
static { this.ID = 'editor.contrib.unicodeHighlighter'; }
|
|
180054
180054
|
constructor(_editor, _editorWorkerService, _workspaceTrustService, instantiationService) {
|
|
@@ -180068,19 +180068,19 @@ define(__m[859/*vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter*
|
|
|
180068
180068
|
let data;
|
|
180069
180069
|
if (state.nonBasicAsciiCharacterCount >= max) {
|
|
180070
180070
|
data = {
|
|
180071
|
-
message: nls.localize(
|
|
180071
|
+
message: nls.localize(284, 'This document contains many non-basic ASCII unicode characters'),
|
|
180072
180072
|
command: new DisableHighlightingOfNonBasicAsciiCharactersAction(),
|
|
180073
180073
|
};
|
|
180074
180074
|
}
|
|
180075
180075
|
else if (state.ambiguousCharacterCount >= max) {
|
|
180076
180076
|
data = {
|
|
180077
|
-
message: nls.localize(
|
|
180077
|
+
message: nls.localize(285, 'This document contains many ambiguous unicode characters'),
|
|
180078
180078
|
command: new DisableHighlightingOfAmbiguousCharactersAction(),
|
|
180079
180079
|
};
|
|
180080
180080
|
}
|
|
180081
180081
|
else if (state.invisibleCharacterCount >= max) {
|
|
180082
180082
|
data = {
|
|
180083
|
-
message: nls.localize(
|
|
180083
|
+
message: nls.localize(286, 'This document contains many invisible unicode characters'),
|
|
180084
180084
|
command: new DisableHighlightingOfInvisibleCharactersAction(),
|
|
180085
180085
|
};
|
|
180086
180086
|
}
|
|
@@ -180349,7 +180349,7 @@ define(__m[859/*vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter*
|
|
|
180349
180349
|
};
|
|
180350
180350
|
}
|
|
180351
180351
|
}
|
|
180352
|
-
const configureUnicodeHighlightOptionsStr = nls.localize(
|
|
180352
|
+
const configureUnicodeHighlightOptionsStr = nls.localize(287, 'Configure Unicode Highlight Options');
|
|
180353
180353
|
let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipant {
|
|
180354
180354
|
constructor(_editor, _languageService, _openerService) {
|
|
180355
180355
|
this._editor = _editor;
|
|
@@ -180382,18 +180382,18 @@ define(__m[859/*vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter*
|
|
|
180382
180382
|
switch (highlightInfo.reason.kind) {
|
|
180383
180383
|
case 0 /* UnicodeHighlighterReasonKind.Ambiguous */: {
|
|
180384
180384
|
if ((0, strings_1.isBasicASCII)(highlightInfo.reason.confusableWith)) {
|
|
180385
|
-
reason = nls.localize(
|
|
180385
|
+
reason = nls.localize(288, 'The character {0} could be confused with the ASCII character {1}, which is more common in source code.', codePointStr, formatCodePointMarkdown(highlightInfo.reason.confusableWith.codePointAt(0)));
|
|
180386
180386
|
}
|
|
180387
180387
|
else {
|
|
180388
|
-
reason = nls.localize(
|
|
180388
|
+
reason = nls.localize(289, 'The character {0} could be confused with the character {1}, which is more common in source code.', codePointStr, formatCodePointMarkdown(highlightInfo.reason.confusableWith.codePointAt(0)));
|
|
180389
180389
|
}
|
|
180390
180390
|
break;
|
|
180391
180391
|
}
|
|
180392
180392
|
case 1 /* UnicodeHighlighterReasonKind.Invisible */:
|
|
180393
|
-
reason = nls.localize(
|
|
180393
|
+
reason = nls.localize(290, 'The character {0} is invisible.', codePointStr);
|
|
180394
180394
|
break;
|
|
180395
180395
|
case 2 /* UnicodeHighlighterReasonKind.NonBasicAscii */:
|
|
180396
|
-
reason = nls.localize(
|
|
180396
|
+
reason = nls.localize(291, 'The character {0} is not a basic ASCII character.', codePointStr);
|
|
180397
180397
|
break;
|
|
180398
180398
|
}
|
|
180399
180399
|
if (existedReason.has(reason)) {
|
|
@@ -180406,7 +180406,7 @@ define(__m[859/*vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter*
|
|
|
180406
180406
|
inComment: highlightInfo.inComment,
|
|
180407
180407
|
inString: highlightInfo.inString,
|
|
180408
180408
|
};
|
|
180409
|
-
const adjustSettings = nls.localize(
|
|
180409
|
+
const adjustSettings = nls.localize(292, 'Adjust settings');
|
|
180410
180410
|
const uri = `command:${ShowExcludeOptions.ID}?${encodeURIComponent(JSON.stringify(adjustSettingsArgs))}`;
|
|
180411
180411
|
const markdown = new htmlContent_1.MarkdownString('', true)
|
|
180412
180412
|
.appendMarkdown(reason)
|
|
@@ -180479,11 +180479,11 @@ define(__m[859/*vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter*
|
|
|
180479
180479
|
constructor() {
|
|
180480
180480
|
super({
|
|
180481
180481
|
id: DisableHighlightingOfAmbiguousCharactersAction.ID,
|
|
180482
|
-
label: nls.localize(
|
|
180482
|
+
label: nls.localize(294, 'Disable highlighting of characters in comments'),
|
|
180483
180483
|
alias: 'Disable highlighting of characters in comments',
|
|
180484
180484
|
precondition: undefined
|
|
180485
180485
|
});
|
|
180486
|
-
this.shortLabel = nls.localize(
|
|
180486
|
+
this.shortLabel = nls.localize(293, 'Disable Highlight In Comments');
|
|
180487
180487
|
}
|
|
180488
180488
|
async run(accessor, editor, args) {
|
|
180489
180489
|
const configurationService = accessor?.get(configuration_1.IConfigurationService);
|
|
@@ -180500,11 +180500,11 @@ define(__m[859/*vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter*
|
|
|
180500
180500
|
constructor() {
|
|
180501
180501
|
super({
|
|
180502
180502
|
id: DisableHighlightingOfAmbiguousCharactersAction.ID,
|
|
180503
|
-
label: nls.localize(
|
|
180503
|
+
label: nls.localize(296, 'Disable highlighting of characters in strings'),
|
|
180504
180504
|
alias: 'Disable highlighting of characters in strings',
|
|
180505
180505
|
precondition: undefined
|
|
180506
180506
|
});
|
|
180507
|
-
this.shortLabel = nls.localize(
|
|
180507
|
+
this.shortLabel = nls.localize(295, 'Disable Highlight In Strings');
|
|
180508
180508
|
}
|
|
180509
180509
|
async run(accessor, editor, args) {
|
|
180510
180510
|
const configurationService = accessor?.get(configuration_1.IConfigurationService);
|
|
@@ -180522,11 +180522,11 @@ define(__m[859/*vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter*
|
|
|
180522
180522
|
constructor() {
|
|
180523
180523
|
super({
|
|
180524
180524
|
id: DisableHighlightingOfAmbiguousCharactersAction.ID,
|
|
180525
|
-
label: nls.localize(
|
|
180525
|
+
label: nls.localize(298, 'Disable highlighting of ambiguous characters'),
|
|
180526
180526
|
alias: 'Disable highlighting of ambiguous characters',
|
|
180527
180527
|
precondition: undefined
|
|
180528
180528
|
});
|
|
180529
|
-
this.shortLabel = nls.localize(
|
|
180529
|
+
this.shortLabel = nls.localize(297, 'Disable Ambiguous Highlight');
|
|
180530
180530
|
}
|
|
180531
180531
|
async run(accessor, editor, args) {
|
|
180532
180532
|
const configurationService = accessor?.get(configuration_1.IConfigurationService);
|
|
@@ -180544,11 +180544,11 @@ define(__m[859/*vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter*
|
|
|
180544
180544
|
constructor() {
|
|
180545
180545
|
super({
|
|
180546
180546
|
id: DisableHighlightingOfInvisibleCharactersAction.ID,
|
|
180547
|
-
label: nls.localize(
|
|
180547
|
+
label: nls.localize(300, 'Disable highlighting of invisible characters'),
|
|
180548
180548
|
alias: 'Disable highlighting of invisible characters',
|
|
180549
180549
|
precondition: undefined
|
|
180550
180550
|
});
|
|
180551
|
-
this.shortLabel = nls.localize(
|
|
180551
|
+
this.shortLabel = nls.localize(299, 'Disable Invisible Highlight');
|
|
180552
180552
|
}
|
|
180553
180553
|
async run(accessor, editor, args) {
|
|
180554
180554
|
const configurationService = accessor?.get(configuration_1.IConfigurationService);
|
|
@@ -180566,11 +180566,11 @@ define(__m[859/*vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter*
|
|
|
180566
180566
|
constructor() {
|
|
180567
180567
|
super({
|
|
180568
180568
|
id: DisableHighlightingOfNonBasicAsciiCharactersAction.ID,
|
|
180569
|
-
label: nls.localize(
|
|
180569
|
+
label: nls.localize(302, 'Disable highlighting of non basic ASCII characters'),
|
|
180570
180570
|
alias: 'Disable highlighting of non basic ASCII characters',
|
|
180571
180571
|
precondition: undefined
|
|
180572
180572
|
});
|
|
180573
|
-
this.shortLabel = nls.localize(
|
|
180573
|
+
this.shortLabel = nls.localize(301, 'Disable Non ASCII Highlight');
|
|
180574
180574
|
}
|
|
180575
180575
|
async run(accessor, editor, args) {
|
|
180576
180576
|
const configurationService = accessor?.get(configuration_1.IConfigurationService);
|
|
@@ -180588,7 +180588,7 @@ define(__m[859/*vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter*
|
|
|
180588
180588
|
constructor() {
|
|
180589
180589
|
super({
|
|
180590
180590
|
id: ShowExcludeOptions.ID,
|
|
180591
|
-
label: nls.localize(
|
|
180591
|
+
label: nls.localize(303, "Show Exclude Options"),
|
|
180592
180592
|
alias: 'Show Exclude Options',
|
|
180593
180593
|
precondition: undefined
|
|
180594
180594
|
});
|
|
@@ -180600,15 +180600,15 @@ define(__m[859/*vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter*
|
|
|
180600
180600
|
const configurationService = accessor.get(configuration_1.IConfigurationService);
|
|
180601
180601
|
function getExcludeCharFromBeingHighlightedLabel(codePoint) {
|
|
180602
180602
|
if (strings_1.InvisibleCharacters.isInvisibleCharacter(codePoint)) {
|
|
180603
|
-
return nls.localize(
|
|
180603
|
+
return nls.localize(304, 'Exclude {0} (invisible character) from being highlighted', codePointToHex(codePoint));
|
|
180604
180604
|
}
|
|
180605
|
-
return nls.localize(
|
|
180605
|
+
return nls.localize(305, 'Exclude {0} from being highlighted', `${codePointToHex(codePoint)} "${char}"`);
|
|
180606
180606
|
}
|
|
180607
180607
|
const options = [];
|
|
180608
180608
|
if (reason.kind === 0 /* UnicodeHighlighterReasonKind.Ambiguous */) {
|
|
180609
180609
|
for (const locale of reason.notAmbiguousInLocales) {
|
|
180610
180610
|
options.push({
|
|
180611
|
-
label: nls.localize(
|
|
180611
|
+
label: nls.localize(306, "Allow unicode characters that are more common in the language \"{0}\".", locale),
|
|
180612
180612
|
run: async () => {
|
|
180613
180613
|
excludeLocaleFromBeingHighlighted(configurationService, [locale]);
|
|
180614
180614
|
},
|