@codingame/monaco-vscode-api 11.0.1 → 11.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.js +1 -1
- package/extensions.d.ts +1 -1
- package/missing-services.js +2 -2
- package/package.json +8 -8
- package/services.js +2 -2
- package/vscode/src/vs/base/browser/ui/dialog/dialog.js +6 -6
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +1 -1
- package/vscode/src/vs/base/common/date.js +61 -61
- package/vscode/src/vs/base/common/errorMessage.js +15 -6
- package/vscode/src/vs/editor/browser/coreCommands.js +3 -3
- package/vscode/src/vs/editor/browser/editorExtensions.js +6 -6
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +2 -2
- package/vscode/src/vs/editor/common/config/editorOptions.js +364 -364
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
- package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +30 -30
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +5 -5
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +49 -49
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/configuration/common/configurationModels.js +5 -20
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/files/common/files.js +6 -6
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +1 -1
- package/vscode/src/vs/platform/log/common/log.js +6 -6
- package/vscode/src/vs/platform/markers/common/markers.js +3 -3
- package/vscode/src/vs/platform/request/common/request.js +14 -14
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +5 -5
- package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +42 -42
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -31
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +129 -129
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +21 -21
- package/vscode/src/vs/workbench/browser/editor.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +5 -5
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +61 -61
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +7 -7
- package/vscode/src/vs/workbench/browser/quickaccess.js +1 -1
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +217 -217
- package/vscode/src/vs/workbench/common/configuration.js +10 -10
- package/vscode/src/vs/workbench/common/contextkeys.js +70 -70
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +131 -131
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +9 -9
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +15 -15
- package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +10 -10
- package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +63 -63
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +24 -24
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +52 -52
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +1 -1
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +2 -2
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +23 -23
- package/vscode/src/vs/workbench/contrib/scm/browser/scmHistory.js +13 -13
- package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +23 -23
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +6 -6
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -5
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +15 -15
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +1 -1
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +6 -6
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +5 -5
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +7 -7
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +9 -9
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
- package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +8 -8
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +7 -7
|
@@ -869,7 +869,7 @@ function _renderLine(input, sb) {
|
|
|
869
869
|
}
|
|
870
870
|
if (isOverflowing) {
|
|
871
871
|
sb.appendString('<span class="mtkoverflow">');
|
|
872
|
-
sb.appendString(( localize(
|
|
872
|
+
sb.appendString(( localize(9540, "Show more ({0})", renderOverflowingCharCount(overflowingCharCount))));
|
|
873
873
|
sb.appendString('</span>');
|
|
874
874
|
}
|
|
875
875
|
sb.appendString('</span>');
|
|
@@ -882,7 +882,7 @@ function to4CharHex(n) {
|
|
|
882
882
|
}
|
|
883
883
|
function renderOverflowingCharCount(n) {
|
|
884
884
|
if (n < 1024) {
|
|
885
|
-
return ( localize(
|
|
885
|
+
return ( localize(9541, "{0} chars", n));
|
|
886
886
|
}
|
|
887
887
|
if (n < 1024 * 1024) {
|
|
888
888
|
return `${(n / 1024).toFixed(1)} KB`;
|
|
@@ -245,7 +245,7 @@ async function applyCodeAction(accessor, item, codeActionReason, options, token
|
|
|
245
245
|
const message = asMessage(err);
|
|
246
246
|
notificationService.error(typeof message === 'string'
|
|
247
247
|
? message
|
|
248
|
-
: ( localize(
|
|
248
|
+
: ( localize(4575, "An unknown error occurred while applying the code action")));
|
|
249
249
|
}
|
|
250
250
|
}
|
|
251
251
|
}
|
|
@@ -241,7 +241,7 @@ let ContextMenuController = class ContextMenuController {
|
|
|
241
241
|
};
|
|
242
242
|
const actions = [];
|
|
243
243
|
actions.push(createAction({
|
|
244
|
-
label: ( localize(
|
|
244
|
+
label: ( localize(1388, "Minimap")),
|
|
245
245
|
checked: minimapOptions.enabled,
|
|
246
246
|
run: () => {
|
|
247
247
|
this._configurationService.updateValue(`editor.minimap.enabled`, !minimapOptions.enabled);
|
|
@@ -249,28 +249,28 @@ let ContextMenuController = class ContextMenuController {
|
|
|
249
249
|
}));
|
|
250
250
|
actions.push(( (new Separator())));
|
|
251
251
|
actions.push(createAction({
|
|
252
|
-
label: ( localize(
|
|
252
|
+
label: ( localize(1389, "Render Characters")),
|
|
253
253
|
enabled: minimapOptions.enabled,
|
|
254
254
|
checked: minimapOptions.renderCharacters,
|
|
255
255
|
run: () => {
|
|
256
256
|
this._configurationService.updateValue(`editor.minimap.renderCharacters`, !minimapOptions.renderCharacters);
|
|
257
257
|
}
|
|
258
258
|
}));
|
|
259
|
-
actions.push(createEnumAction(( localize(
|
|
260
|
-
label: ( localize(
|
|
259
|
+
actions.push(createEnumAction(( localize(1390, "Vertical size")), minimapOptions.enabled, 'editor.minimap.size', minimapOptions.size, [{
|
|
260
|
+
label: ( localize(1391, "Proportional")),
|
|
261
261
|
value: 'proportional'
|
|
262
262
|
}, {
|
|
263
|
-
label: ( localize(
|
|
263
|
+
label: ( localize(1392, "Fill")),
|
|
264
264
|
value: 'fill'
|
|
265
265
|
}, {
|
|
266
|
-
label: ( localize(
|
|
266
|
+
label: ( localize(1393, "Fit")),
|
|
267
267
|
value: 'fit'
|
|
268
268
|
}]));
|
|
269
|
-
actions.push(createEnumAction(( localize(
|
|
270
|
-
label: ( localize(
|
|
269
|
+
actions.push(createEnumAction(( localize(1394, "Slider")), minimapOptions.enabled, 'editor.minimap.showSlider', minimapOptions.showSlider, [{
|
|
270
|
+
label: ( localize(1395, "Mouse Over")),
|
|
271
271
|
value: 'mouseover'
|
|
272
272
|
}, {
|
|
273
|
-
label: ( localize(
|
|
273
|
+
label: ( localize(1396, "Always")),
|
|
274
274
|
value: 'always'
|
|
275
275
|
}]));
|
|
276
276
|
const useShadowDOM = this._editor.getOption(130 ) && !isIOS;
|
|
@@ -308,7 +308,7 @@ class ShowContextMenu extends EditorAction {
|
|
|
308
308
|
constructor() {
|
|
309
309
|
super({
|
|
310
310
|
id: 'editor.action.showContextMenu',
|
|
311
|
-
label: ( localize(
|
|
311
|
+
label: ( localize(1397, "Show Editor Context Menu")),
|
|
312
312
|
alias: 'Show Editor Context Menu',
|
|
313
313
|
precondition: undefined,
|
|
314
314
|
kbOpts: {
|
|
@@ -104,7 +104,7 @@ class CursorUndo extends EditorAction {
|
|
|
104
104
|
constructor() {
|
|
105
105
|
super({
|
|
106
106
|
id: 'cursorUndo',
|
|
107
|
-
label: ( localize(
|
|
107
|
+
label: ( localize(1386, "Cursor Undo")),
|
|
108
108
|
alias: 'Cursor Undo',
|
|
109
109
|
precondition: undefined,
|
|
110
110
|
kbOpts: {
|
|
@@ -122,7 +122,7 @@ class CursorRedo extends EditorAction {
|
|
|
122
122
|
constructor() {
|
|
123
123
|
super({
|
|
124
124
|
id: 'cursorRedo',
|
|
125
|
-
label: ( localize(
|
|
125
|
+
label: ( localize(1387, "Cursor Redo")),
|
|
126
126
|
alias: 'Cursor Redo',
|
|
127
127
|
precondition: undefined
|
|
128
128
|
});
|
|
@@ -9,7 +9,7 @@ import { localize } from '../../../../nls.js';
|
|
|
9
9
|
|
|
10
10
|
const IEditorCancellationTokens = ( (createDecorator('IEditorCancelService')));
|
|
11
11
|
const ctxCancellableOperation = ( (new RawContextKey('cancellableOperation', false, ( localize(
|
|
12
|
-
|
|
12
|
+
9547,
|
|
13
13
|
'Whether the editor runs a cancellable operation, e.g. like \'Peek References\''
|
|
14
14
|
)))));
|
|
15
15
|
registerSingleton(IEditorCancellationTokens, class {
|
|
@@ -25,7 +25,7 @@ import { InputFocusedContext } from '../../../../../platform/contextkey/common/c
|
|
|
25
25
|
|
|
26
26
|
var ReferencesController_1;
|
|
27
27
|
const ctxReferenceSearchVisible = ( (new RawContextKey('referenceSearchVisible', false, ( localize(
|
|
28
|
-
|
|
28
|
+
4557,
|
|
29
29
|
"Whether reference peek is visible, like 'Peek References' or 'Peek Definition'"
|
|
30
30
|
)))));
|
|
31
31
|
let ReferencesController = class ReferencesController {
|
|
@@ -75,7 +75,7 @@ let ReferencesController = class ReferencesController {
|
|
|
75
75
|
const storageKey = 'peekViewLayout';
|
|
76
76
|
const data = LayoutData.fromJSON(this._storageService.get(storageKey, 0 , '{}'));
|
|
77
77
|
this._widget = this._instantiationService.createInstance(ReferenceWidget, this._editor, this._defaultTreeKeyboardSupport, data);
|
|
78
|
-
this._widget.setTitle(( localize(
|
|
78
|
+
this._widget.setTitle(( localize(4558, "Loading...")));
|
|
79
79
|
this._widget.show(range);
|
|
80
80
|
this._disposables.add(this._widget.onDidClose(() => {
|
|
81
81
|
modelPromise.cancel();
|
|
@@ -125,7 +125,7 @@ let ReferencesController = class ReferencesController {
|
|
|
125
125
|
return this._widget.setModel(this._model).then(() => {
|
|
126
126
|
if (this._widget && this._model && this._editor.hasModel()) {
|
|
127
127
|
if (!this._model.isEmpty) {
|
|
128
|
-
this._widget.setMetaTitle(( localize(
|
|
128
|
+
this._widget.setMetaTitle(( localize(4559, "{0} ({1})", this._model.title, this._model.references.length)));
|
|
129
129
|
}
|
|
130
130
|
else {
|
|
131
131
|
this._widget.setMetaTitle('');
|
|
@@ -97,10 +97,10 @@ let FileReferencesTemplate = class FileReferencesTemplate extends Disposable {
|
|
|
97
97
|
const len = element.children.length;
|
|
98
98
|
this.badge.setCount(len);
|
|
99
99
|
if (len > 1) {
|
|
100
|
-
this.badge.setTitleFormat(( localize(
|
|
100
|
+
this.badge.setTitleFormat(( localize(11516, "{0} references", len)));
|
|
101
101
|
}
|
|
102
102
|
else {
|
|
103
|
-
this.badge.setTitleFormat(( localize(
|
|
103
|
+
this.badge.setTitleFormat(( localize(11517, "{0} reference", len)));
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
106
|
};
|
|
@@ -169,7 +169,7 @@ class OneReferenceRenderer {
|
|
|
169
169
|
}
|
|
170
170
|
class AccessibilityProvider {
|
|
171
171
|
getWidgetAriaLabel() {
|
|
172
|
-
return ( localize(
|
|
172
|
+
return ( localize(11518, "References"));
|
|
173
173
|
}
|
|
174
174
|
getAriaLabel(element) {
|
|
175
175
|
return element.ariaMessage;
|
|
@@ -241,7 +241,7 @@ let ReferenceWidget = class ReferenceWidget extends PeekViewWidget {
|
|
|
241
241
|
};
|
|
242
242
|
this._preview = this._instantiationService.createInstance(EmbeddedCodeEditorWidget, this._previewContainer, options, {}, this.editor);
|
|
243
243
|
hide(this._previewContainer);
|
|
244
|
-
this._previewNotAvailableMessage = this._instantiationService.createInstance(TextModel, ( localize(
|
|
244
|
+
this._previewNotAvailableMessage = this._instantiationService.createInstance(TextModel, ( localize(10029, "no preview available")), PLAINTEXT_LANGUAGE_ID, TextModel.DEFAULT_CREATION_OPTIONS, null);
|
|
245
245
|
this._treeContainer = append(containerElement, $('div.ref-tree.inline'));
|
|
246
246
|
const treeOptions = {
|
|
247
247
|
keyboardSupport: this._defaultTreeKeyboardSupport,
|
|
@@ -347,7 +347,7 @@ let ReferenceWidget = class ReferenceWidget extends PeekViewWidget {
|
|
|
347
347
|
}
|
|
348
348
|
if (this._model.isEmpty) {
|
|
349
349
|
this.setTitle('');
|
|
350
|
-
this._messageContainer.innerText = ( localize(
|
|
350
|
+
this._messageContainer.innerText = ( localize(10030, "No results"));
|
|
351
351
|
show(this._messageContainer);
|
|
352
352
|
return Promise.resolve(undefined);
|
|
353
353
|
}
|
|
@@ -402,7 +402,7 @@ let ReferenceWidget = class ReferenceWidget extends PeekViewWidget {
|
|
|
402
402
|
this.setTitle(basenameOrAuthority(reference.uri), this._uriLabel.getUriLabel(dirname(reference.uri)));
|
|
403
403
|
}
|
|
404
404
|
else {
|
|
405
|
-
this.setTitle(( localize(
|
|
405
|
+
this.setTitle(( localize(10031, "References")));
|
|
406
406
|
}
|
|
407
407
|
const promise = this._textModelResolverService.createModelReference(reference.uri);
|
|
408
408
|
if (this._tree.getInput() === reference.parent) {
|
|
@@ -7,7 +7,7 @@ class ExpandLineSelectionAction extends EditorAction {
|
|
|
7
7
|
constructor() {
|
|
8
8
|
super({
|
|
9
9
|
id: 'expandLineSelection',
|
|
10
|
-
label: ( localize(
|
|
10
|
+
label: ( localize(1522, "Expand Line Selection")),
|
|
11
11
|
alias: 'Expand Line Selection',
|
|
12
12
|
precondition: undefined,
|
|
13
13
|
kbOpts: {
|
|
@@ -55,7 +55,7 @@ class CopyLinesUpAction extends AbstractCopyLinesAction {
|
|
|
55
55
|
constructor() {
|
|
56
56
|
super(false, {
|
|
57
57
|
id: 'editor.action.copyLinesUpAction',
|
|
58
|
-
label: ( localize(
|
|
58
|
+
label: ( localize(1492, "Copy Line Up")),
|
|
59
59
|
alias: 'Copy Line Up',
|
|
60
60
|
precondition: EditorContextKeys.writable,
|
|
61
61
|
kbOpts: {
|
|
@@ -67,7 +67,7 @@ class CopyLinesUpAction extends AbstractCopyLinesAction {
|
|
|
67
67
|
menuOpts: {
|
|
68
68
|
menuId: MenuId.MenubarSelectionMenu,
|
|
69
69
|
group: '2_line',
|
|
70
|
-
title: ( localize(
|
|
70
|
+
title: ( localize(1493, "&&Copy Line Up")),
|
|
71
71
|
order: 1
|
|
72
72
|
}
|
|
73
73
|
});
|
|
@@ -77,7 +77,7 @@ class CopyLinesDownAction extends AbstractCopyLinesAction {
|
|
|
77
77
|
constructor() {
|
|
78
78
|
super(true, {
|
|
79
79
|
id: 'editor.action.copyLinesDownAction',
|
|
80
|
-
label: ( localize(
|
|
80
|
+
label: ( localize(1494, "Copy Line Down")),
|
|
81
81
|
alias: 'Copy Line Down',
|
|
82
82
|
precondition: EditorContextKeys.writable,
|
|
83
83
|
kbOpts: {
|
|
@@ -89,7 +89,7 @@ class CopyLinesDownAction extends AbstractCopyLinesAction {
|
|
|
89
89
|
menuOpts: {
|
|
90
90
|
menuId: MenuId.MenubarSelectionMenu,
|
|
91
91
|
group: '2_line',
|
|
92
|
-
title: ( localize(
|
|
92
|
+
title: ( localize(1495, "Co&&py Line Down")),
|
|
93
93
|
order: 2
|
|
94
94
|
}
|
|
95
95
|
});
|
|
@@ -99,13 +99,13 @@ class DuplicateSelectionAction extends EditorAction {
|
|
|
99
99
|
constructor() {
|
|
100
100
|
super({
|
|
101
101
|
id: 'editor.action.duplicateSelection',
|
|
102
|
-
label: ( localize(
|
|
102
|
+
label: ( localize(1496, "Duplicate Selection")),
|
|
103
103
|
alias: 'Duplicate Selection',
|
|
104
104
|
precondition: EditorContextKeys.writable,
|
|
105
105
|
menuOpts: {
|
|
106
106
|
menuId: MenuId.MenubarSelectionMenu,
|
|
107
107
|
group: '2_line',
|
|
108
|
-
title: ( localize(
|
|
108
|
+
title: ( localize(1497, "&&Duplicate Selection")),
|
|
109
109
|
order: 5
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -158,7 +158,7 @@ class MoveLinesUpAction extends AbstractMoveLinesAction {
|
|
|
158
158
|
constructor() {
|
|
159
159
|
super(false, {
|
|
160
160
|
id: 'editor.action.moveLinesUpAction',
|
|
161
|
-
label: ( localize(
|
|
161
|
+
label: ( localize(1498, "Move Line Up")),
|
|
162
162
|
alias: 'Move Line Up',
|
|
163
163
|
precondition: EditorContextKeys.writable,
|
|
164
164
|
kbOpts: {
|
|
@@ -170,7 +170,7 @@ class MoveLinesUpAction extends AbstractMoveLinesAction {
|
|
|
170
170
|
menuOpts: {
|
|
171
171
|
menuId: MenuId.MenubarSelectionMenu,
|
|
172
172
|
group: '2_line',
|
|
173
|
-
title: ( localize(
|
|
173
|
+
title: ( localize(1499, "Mo&&ve Line Up")),
|
|
174
174
|
order: 3
|
|
175
175
|
}
|
|
176
176
|
});
|
|
@@ -180,7 +180,7 @@ class MoveLinesDownAction extends AbstractMoveLinesAction {
|
|
|
180
180
|
constructor() {
|
|
181
181
|
super(true, {
|
|
182
182
|
id: 'editor.action.moveLinesDownAction',
|
|
183
|
-
label: ( localize(
|
|
183
|
+
label: ( localize(1500, "Move Line Down")),
|
|
184
184
|
alias: 'Move Line Down',
|
|
185
185
|
precondition: EditorContextKeys.writable,
|
|
186
186
|
kbOpts: {
|
|
@@ -192,7 +192,7 @@ class MoveLinesDownAction extends AbstractMoveLinesAction {
|
|
|
192
192
|
menuOpts: {
|
|
193
193
|
menuId: MenuId.MenubarSelectionMenu,
|
|
194
194
|
group: '2_line',
|
|
195
|
-
title: ( localize(
|
|
195
|
+
title: ( localize(1501, "Move &&Line Down")),
|
|
196
196
|
order: 4
|
|
197
197
|
}
|
|
198
198
|
});
|
|
@@ -230,7 +230,7 @@ class SortLinesAscendingAction extends AbstractSortLinesAction {
|
|
|
230
230
|
constructor() {
|
|
231
231
|
super(false, {
|
|
232
232
|
id: 'editor.action.sortLinesAscending',
|
|
233
|
-
label: ( localize(
|
|
233
|
+
label: ( localize(1502, "Sort Lines Ascending")),
|
|
234
234
|
alias: 'Sort Lines Ascending',
|
|
235
235
|
precondition: EditorContextKeys.writable
|
|
236
236
|
});
|
|
@@ -240,7 +240,7 @@ class SortLinesDescendingAction extends AbstractSortLinesAction {
|
|
|
240
240
|
constructor() {
|
|
241
241
|
super(true, {
|
|
242
242
|
id: 'editor.action.sortLinesDescending',
|
|
243
|
-
label: ( localize(
|
|
243
|
+
label: ( localize(1503, "Sort Lines Descending")),
|
|
244
244
|
alias: 'Sort Lines Descending',
|
|
245
245
|
precondition: EditorContextKeys.writable
|
|
246
246
|
});
|
|
@@ -250,7 +250,7 @@ class DeleteDuplicateLinesAction extends EditorAction {
|
|
|
250
250
|
constructor() {
|
|
251
251
|
super({
|
|
252
252
|
id: 'editor.action.removeDuplicateLines',
|
|
253
|
-
label: ( localize(
|
|
253
|
+
label: ( localize(1504, "Delete Duplicate Lines")),
|
|
254
254
|
alias: 'Delete Duplicate Lines',
|
|
255
255
|
precondition: EditorContextKeys.writable
|
|
256
256
|
});
|
|
@@ -310,7 +310,7 @@ class TrimTrailingWhitespaceAction extends EditorAction {
|
|
|
310
310
|
constructor() {
|
|
311
311
|
super({
|
|
312
312
|
id: TrimTrailingWhitespaceAction.ID,
|
|
313
|
-
label: ( localize(
|
|
313
|
+
label: ( localize(1505, "Trim Trailing Whitespace")),
|
|
314
314
|
alias: 'Trim Trailing Whitespace',
|
|
315
315
|
precondition: EditorContextKeys.writable,
|
|
316
316
|
kbOpts: {
|
|
@@ -344,7 +344,7 @@ class DeleteLinesAction extends EditorAction {
|
|
|
344
344
|
constructor() {
|
|
345
345
|
super({
|
|
346
346
|
id: 'editor.action.deleteLines',
|
|
347
|
-
label: ( localize(
|
|
347
|
+
label: ( localize(1506, "Delete Line")),
|
|
348
348
|
alias: 'Delete Line',
|
|
349
349
|
precondition: EditorContextKeys.writable,
|
|
350
350
|
kbOpts: {
|
|
@@ -431,7 +431,7 @@ class IndentLinesAction extends EditorAction {
|
|
|
431
431
|
constructor() {
|
|
432
432
|
super({
|
|
433
433
|
id: 'editor.action.indentLines',
|
|
434
|
-
label: ( localize(
|
|
434
|
+
label: ( localize(1507, "Indent Line")),
|
|
435
435
|
alias: 'Indent Line',
|
|
436
436
|
precondition: EditorContextKeys.writable,
|
|
437
437
|
kbOpts: {
|
|
@@ -455,7 +455,7 @@ class OutdentLinesAction extends EditorAction {
|
|
|
455
455
|
constructor() {
|
|
456
456
|
super({
|
|
457
457
|
id: 'editor.action.outdentLines',
|
|
458
|
-
label: ( localize(
|
|
458
|
+
label: ( localize(1508, "Outdent Line")),
|
|
459
459
|
alias: 'Outdent Line',
|
|
460
460
|
precondition: EditorContextKeys.writable,
|
|
461
461
|
kbOpts: {
|
|
@@ -473,7 +473,7 @@ class InsertLineBeforeAction extends EditorAction {
|
|
|
473
473
|
constructor() {
|
|
474
474
|
super({
|
|
475
475
|
id: 'editor.action.insertLineBefore',
|
|
476
|
-
label: ( localize(
|
|
476
|
+
label: ( localize(1509, "Insert Line Above")),
|
|
477
477
|
alias: 'Insert Line Above',
|
|
478
478
|
precondition: EditorContextKeys.writable,
|
|
479
479
|
kbOpts: {
|
|
@@ -496,7 +496,7 @@ class InsertLineAfterAction extends EditorAction {
|
|
|
496
496
|
constructor() {
|
|
497
497
|
super({
|
|
498
498
|
id: 'editor.action.insertLineAfter',
|
|
499
|
-
label: ( localize(
|
|
499
|
+
label: ( localize(1510, "Insert Line Below")),
|
|
500
500
|
alias: 'Insert Line Below',
|
|
501
501
|
precondition: EditorContextKeys.writable,
|
|
502
502
|
kbOpts: {
|
|
@@ -547,7 +547,7 @@ class DeleteAllLeftAction extends AbstractDeleteAllToBoundaryAction {
|
|
|
547
547
|
constructor() {
|
|
548
548
|
super({
|
|
549
549
|
id: 'deleteAllLeft',
|
|
550
|
-
label: ( localize(
|
|
550
|
+
label: ( localize(1511, "Delete All Left")),
|
|
551
551
|
alias: 'Delete All Left',
|
|
552
552
|
precondition: EditorContextKeys.writable,
|
|
553
553
|
kbOpts: {
|
|
@@ -633,7 +633,7 @@ class DeleteAllRightAction extends AbstractDeleteAllToBoundaryAction {
|
|
|
633
633
|
constructor() {
|
|
634
634
|
super({
|
|
635
635
|
id: 'deleteAllRight',
|
|
636
|
-
label: ( localize(
|
|
636
|
+
label: ( localize(1512, "Delete All Right")),
|
|
637
637
|
alias: 'Delete All Right',
|
|
638
638
|
precondition: EditorContextKeys.writable,
|
|
639
639
|
kbOpts: {
|
|
@@ -700,7 +700,7 @@ class JoinLinesAction extends EditorAction {
|
|
|
700
700
|
constructor() {
|
|
701
701
|
super({
|
|
702
702
|
id: 'editor.action.joinLines',
|
|
703
|
-
label: ( localize(
|
|
703
|
+
label: ( localize(1513, "Join Lines")),
|
|
704
704
|
alias: 'Join Lines',
|
|
705
705
|
precondition: EditorContextKeys.writable,
|
|
706
706
|
kbOpts: {
|
|
@@ -871,7 +871,7 @@ class TransposeAction extends EditorAction {
|
|
|
871
871
|
constructor() {
|
|
872
872
|
super({
|
|
873
873
|
id: 'editor.action.transpose',
|
|
874
|
-
label: ( localize(
|
|
874
|
+
label: ( localize(1514, "Transpose Characters around the Cursor")),
|
|
875
875
|
alias: 'Transpose Characters around the Cursor',
|
|
876
876
|
precondition: EditorContextKeys.writable
|
|
877
877
|
});
|
|
@@ -968,7 +968,7 @@ class UpperCaseAction extends AbstractCaseAction {
|
|
|
968
968
|
constructor() {
|
|
969
969
|
super({
|
|
970
970
|
id: 'editor.action.transformToUppercase',
|
|
971
|
-
label: ( localize(
|
|
971
|
+
label: ( localize(1515, "Transform to Uppercase")),
|
|
972
972
|
alias: 'Transform to Uppercase',
|
|
973
973
|
precondition: EditorContextKeys.writable
|
|
974
974
|
});
|
|
@@ -981,7 +981,7 @@ class LowerCaseAction extends AbstractCaseAction {
|
|
|
981
981
|
constructor() {
|
|
982
982
|
super({
|
|
983
983
|
id: 'editor.action.transformToLowercase',
|
|
984
|
-
label: ( localize(
|
|
984
|
+
label: ( localize(1516, "Transform to Lowercase")),
|
|
985
985
|
alias: 'Transform to Lowercase',
|
|
986
986
|
precondition: EditorContextKeys.writable
|
|
987
987
|
});
|
|
@@ -1017,7 +1017,7 @@ class TitleCaseAction extends AbstractCaseAction {
|
|
|
1017
1017
|
constructor() {
|
|
1018
1018
|
super({
|
|
1019
1019
|
id: 'editor.action.transformToTitlecase',
|
|
1020
|
-
label: ( localize(
|
|
1020
|
+
label: ( localize(1517, "Transform to Title Case")),
|
|
1021
1021
|
alias: 'Transform to Title Case',
|
|
1022
1022
|
precondition: EditorContextKeys.writable
|
|
1023
1023
|
});
|
|
@@ -1038,7 +1038,7 @@ class SnakeCaseAction extends AbstractCaseAction {
|
|
|
1038
1038
|
constructor() {
|
|
1039
1039
|
super({
|
|
1040
1040
|
id: 'editor.action.transformToSnakecase',
|
|
1041
|
-
label: ( localize(
|
|
1041
|
+
label: ( localize(1518, "Transform to Snake Case")),
|
|
1042
1042
|
alias: 'Transform to Snake Case',
|
|
1043
1043
|
precondition: EditorContextKeys.writable
|
|
1044
1044
|
});
|
|
@@ -1060,7 +1060,7 @@ class CamelCaseAction extends AbstractCaseAction {
|
|
|
1060
1060
|
constructor() {
|
|
1061
1061
|
super({
|
|
1062
1062
|
id: 'editor.action.transformToCamelcase',
|
|
1063
|
-
label: ( localize(
|
|
1063
|
+
label: ( localize(1519, "Transform to Camel Case")),
|
|
1064
1064
|
alias: 'Transform to Camel Case',
|
|
1065
1065
|
precondition: EditorContextKeys.writable
|
|
1066
1066
|
});
|
|
@@ -1082,7 +1082,7 @@ class PascalCaseAction extends AbstractCaseAction {
|
|
|
1082
1082
|
constructor() {
|
|
1083
1083
|
super({
|
|
1084
1084
|
id: 'editor.action.transformToPascalcase',
|
|
1085
|
-
label: ( localize(
|
|
1085
|
+
label: ( localize(1520, "Transform to Pascal Case")),
|
|
1086
1086
|
alias: 'Transform to Pascal Case',
|
|
1087
1087
|
precondition: EditorContextKeys.writable
|
|
1088
1088
|
});
|
|
@@ -1114,7 +1114,7 @@ class KebabCaseAction extends AbstractCaseAction {
|
|
|
1114
1114
|
constructor() {
|
|
1115
1115
|
super({
|
|
1116
1116
|
id: 'editor.action.transformToKebabcase',
|
|
1117
|
-
label: ( localize(
|
|
1117
|
+
label: ( localize(1521, 'Transform to Kebab Case')),
|
|
1118
1118
|
alias: 'Transform to Kebab Case',
|
|
1119
1119
|
precondition: EditorContextKeys.writable
|
|
1120
1120
|
});
|
|
@@ -9,7 +9,7 @@ class AbstractGotoLineQuickAccessProvider extends AbstractEditorNavigationQuickA
|
|
|
9
9
|
super({ canAcceptInBackground: true });
|
|
10
10
|
}
|
|
11
11
|
provideWithoutTextEditor(picker) {
|
|
12
|
-
const label = ( localize(
|
|
12
|
+
const label = ( localize(4714, "Open a text editor first to go to a line."));
|
|
13
13
|
picker.items = [{ label }];
|
|
14
14
|
picker.ariaLabel = label;
|
|
15
15
|
return Disposable.None;
|
|
@@ -78,15 +78,15 @@ class AbstractGotoLineQuickAccessProvider extends AbstractEditorNavigationQuickA
|
|
|
78
78
|
getPickLabel(editor, lineNumber, column) {
|
|
79
79
|
if (this.isValidLineNumber(editor, lineNumber)) {
|
|
80
80
|
if (this.isValidColumn(editor, lineNumber, column)) {
|
|
81
|
-
return ( localize(
|
|
81
|
+
return ( localize(4715, "Go to line {0} and character {1}.", lineNumber, column));
|
|
82
82
|
}
|
|
83
|
-
return ( localize(
|
|
83
|
+
return ( localize(4716, "Go to line {0}.", lineNumber));
|
|
84
84
|
}
|
|
85
85
|
const position = editor.getPosition() || { lineNumber: 1, column: 1 };
|
|
86
86
|
const lineCount = this.lineCount(editor);
|
|
87
87
|
if (lineCount > 1) {
|
|
88
88
|
return ( localize(
|
|
89
|
-
|
|
89
|
+
4717,
|
|
90
90
|
"Current Line: {0}, Character: {1}. Type a line number between 1 and {2} to navigate to.",
|
|
91
91
|
position.lineNumber,
|
|
92
92
|
position.column,
|
|
@@ -94,7 +94,7 @@ class AbstractGotoLineQuickAccessProvider extends AbstractEditorNavigationQuickA
|
|
|
94
94
|
));
|
|
95
95
|
}
|
|
96
96
|
return ( localize(
|
|
97
|
-
|
|
97
|
+
4718,
|
|
98
98
|
"Current Line: {0}, Character: {1}. Type a line number to navigate to.",
|
|
99
99
|
position.lineNumber,
|
|
100
100
|
position.column
|
|
@@ -29,7 +29,7 @@ let AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessP
|
|
|
29
29
|
}
|
|
30
30
|
provideWithoutTextEditor(picker) {
|
|
31
31
|
this.provideLabelPick(picker, ( localize(
|
|
32
|
-
|
|
32
|
+
4719,
|
|
33
33
|
"To go to a symbol, first open a text editor with symbol information."
|
|
34
34
|
)));
|
|
35
35
|
return Disposable.None;
|
|
@@ -47,7 +47,7 @@ let AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessP
|
|
|
47
47
|
}
|
|
48
48
|
doProvideWithoutEditorSymbols(context, model, picker, token) {
|
|
49
49
|
const disposables = ( (new DisposableStore()));
|
|
50
|
-
this.provideLabelPick(picker, ( localize(
|
|
50
|
+
this.provideLabelPick(picker, ( localize(4720, "The active text editor does not provide symbol information.")));
|
|
51
51
|
(async () => {
|
|
52
52
|
const result = await this.waitForLanguageSymbolRegistry(model, disposables);
|
|
53
53
|
if (!result || token.isCancellationRequested) {
|
|
@@ -118,10 +118,10 @@ let AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessP
|
|
|
118
118
|
}
|
|
119
119
|
else {
|
|
120
120
|
if (query.original.length > 0) {
|
|
121
|
-
this.provideLabelPick(picker, ( localize(
|
|
121
|
+
this.provideLabelPick(picker, ( localize(4721, "No matching editor symbols")));
|
|
122
122
|
}
|
|
123
123
|
else {
|
|
124
|
-
this.provideLabelPick(picker, ( localize(
|
|
124
|
+
this.provideLabelPick(picker, ( localize(4722, "No editor symbols")));
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
127
|
}
|
|
@@ -163,7 +163,7 @@ let AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessP
|
|
|
163
163
|
if (openSideBySideDirection) {
|
|
164
164
|
buttons = [{
|
|
165
165
|
iconClass: openSideBySideDirection === 'right' ? ThemeIcon.asClassName(Codicon.splitHorizontal) : ThemeIcon.asClassName(Codicon.splitVertical),
|
|
166
|
-
tooltip: openSideBySideDirection === 'right' ? ( localize(
|
|
166
|
+
tooltip: openSideBySideDirection === 'right' ? ( localize(4723, "Open to the Side")) : ( localize(4724, "Open to the Bottom"))
|
|
167
167
|
}];
|
|
168
168
|
}
|
|
169
169
|
const filteredSymbolPicks = [];
|
|
@@ -263,7 +263,7 @@ let AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessP
|
|
|
263
263
|
}
|
|
264
264
|
else if (sortedFilteredSymbolPicks.length > 0) {
|
|
265
265
|
symbolPicks = [
|
|
266
|
-
{ label: ( localize(
|
|
266
|
+
{ label: ( localize(4725, "symbols ({0})", filteredSymbolPicks.length)), type: 'separator' },
|
|
267
267
|
...sortedFilteredSymbolPicks
|
|
268
268
|
];
|
|
269
269
|
}
|
|
@@ -310,33 +310,33 @@ AbstractGotoSymbolQuickAccessProvider = AbstractGotoSymbolQuickAccessProvider_1
|
|
|
310
310
|
( (__param(0, ILanguageFeaturesService))),
|
|
311
311
|
( (__param(1, IOutlineModelService)))
|
|
312
312
|
], AbstractGotoSymbolQuickAccessProvider)));
|
|
313
|
-
const FALLBACK_NLS_SYMBOL_KIND = ( localize(
|
|
313
|
+
const FALLBACK_NLS_SYMBOL_KIND = ( localize(4726, "properties ({0})"));
|
|
314
314
|
const NLS_SYMBOL_KIND_CACHE = {
|
|
315
|
-
[5 ]: ( localize(
|
|
316
|
-
[11 ]: ( localize(
|
|
317
|
-
[8 ]: ( localize(
|
|
318
|
-
[12 ]: ( localize(
|
|
319
|
-
[4 ]: ( localize(
|
|
320
|
-
[22 ]: ( localize(
|
|
321
|
-
[23 ]: ( localize(
|
|
322
|
-
[24 ]: ( localize(
|
|
323
|
-
[10 ]: ( localize(
|
|
324
|
-
[2 ]: ( localize(
|
|
325
|
-
[3 ]: ( localize(
|
|
326
|
-
[25 ]: ( localize(
|
|
327
|
-
[1 ]: ( localize(
|
|
328
|
-
[6 ]: ( localize(
|
|
329
|
-
[9 ]: ( localize(
|
|
330
|
-
[21 ]: ( localize(
|
|
331
|
-
[14 ]: ( localize(
|
|
332
|
-
[0 ]: ( localize(
|
|
333
|
-
[17 ]: ( localize(
|
|
334
|
-
[15 ]: ( localize(
|
|
335
|
-
[16 ]: ( localize(
|
|
336
|
-
[18 ]: ( localize(
|
|
337
|
-
[19 ]: ( localize(
|
|
338
|
-
[7 ]: ( localize(
|
|
339
|
-
[13 ]: ( localize(
|
|
315
|
+
[5 ]: ( localize(4727, "methods ({0})")),
|
|
316
|
+
[11 ]: ( localize(4728, "functions ({0})")),
|
|
317
|
+
[8 ]: ( localize(4729, "constructors ({0})")),
|
|
318
|
+
[12 ]: ( localize(4730, "variables ({0})")),
|
|
319
|
+
[4 ]: ( localize(4731, "classes ({0})")),
|
|
320
|
+
[22 ]: ( localize(4732, "structs ({0})")),
|
|
321
|
+
[23 ]: ( localize(4733, "events ({0})")),
|
|
322
|
+
[24 ]: ( localize(4734, "operators ({0})")),
|
|
323
|
+
[10 ]: ( localize(4735, "interfaces ({0})")),
|
|
324
|
+
[2 ]: ( localize(4736, "namespaces ({0})")),
|
|
325
|
+
[3 ]: ( localize(4737, "packages ({0})")),
|
|
326
|
+
[25 ]: ( localize(4738, "type parameters ({0})")),
|
|
327
|
+
[1 ]: ( localize(4739, "modules ({0})")),
|
|
328
|
+
[6 ]: ( localize(4726, "properties ({0})")),
|
|
329
|
+
[9 ]: ( localize(4740, "enumerations ({0})")),
|
|
330
|
+
[21 ]: ( localize(4741, "enumeration members ({0})")),
|
|
331
|
+
[14 ]: ( localize(4742, "strings ({0})")),
|
|
332
|
+
[0 ]: ( localize(4743, "files ({0})")),
|
|
333
|
+
[17 ]: ( localize(4744, "arrays ({0})")),
|
|
334
|
+
[15 ]: ( localize(4745, "numbers ({0})")),
|
|
335
|
+
[16 ]: ( localize(4746, "booleans ({0})")),
|
|
336
|
+
[18 ]: ( localize(4747, "objects ({0})")),
|
|
337
|
+
[19 ]: ( localize(4748, "keys ({0})")),
|
|
338
|
+
[7 ]: ( localize(4749, "fields ({0})")),
|
|
339
|
+
[13 ]: ( localize(4750, "constants ({0})"))
|
|
340
340
|
};
|
|
341
341
|
|
|
342
342
|
export { AbstractGotoSymbolQuickAccessProvider };
|
|
@@ -8,7 +8,7 @@ class ToggleTabFocusModeAction extends Action2 {
|
|
|
8
8
|
constructor() {
|
|
9
9
|
super({
|
|
10
10
|
id: ToggleTabFocusModeAction.ID,
|
|
11
|
-
title: ( localize2(
|
|
11
|
+
title: ( localize2(1586, 'Toggle Tab Key Moves Focus')),
|
|
12
12
|
precondition: undefined,
|
|
13
13
|
keybinding: {
|
|
14
14
|
primary: 2048 | 43 ,
|
|
@@ -17,7 +17,7 @@ class ToggleTabFocusModeAction extends Action2 {
|
|
|
17
17
|
},
|
|
18
18
|
metadata: {
|
|
19
19
|
description: ( localize2(
|
|
20
|
-
|
|
20
|
+
1587,
|
|
21
21
|
"Determines whether the tab key moves focus around the workbench or inserts the tab character in the current editor. This is also called tab trapping, tab navigation, or tab focus mode."
|
|
22
22
|
)),
|
|
23
23
|
},
|
|
@@ -29,10 +29,10 @@ class ToggleTabFocusModeAction extends Action2 {
|
|
|
29
29
|
const newValue = !oldValue;
|
|
30
30
|
TabFocus.setTabFocusMode(newValue);
|
|
31
31
|
if (newValue) {
|
|
32
|
-
alert(( localize(
|
|
32
|
+
alert(( localize(1588, "Pressing Tab will now move focus to the next focusable element")));
|
|
33
33
|
}
|
|
34
34
|
else {
|
|
35
|
-
alert(( localize(
|
|
35
|
+
alert(( localize(1589, "Pressing Tab will now insert the tab character")));
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
}
|
|
@@ -6,7 +6,7 @@ class ForceRetokenizeAction extends EditorAction {
|
|
|
6
6
|
constructor() {
|
|
7
7
|
super({
|
|
8
8
|
id: 'editor.action.forceRetokenize',
|
|
9
|
-
label: ( localize(
|
|
9
|
+
label: ( localize(1590, "Developer: Force Retokenize")),
|
|
10
10
|
alias: 'Developer: Force Retokenize',
|
|
11
11
|
precondition: undefined
|
|
12
12
|
});
|