@codingame/monaco-vscode-debug-service-override 12.0.1 → 13.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/index.d.ts +1 -1
- package/index.js +6 -6
- package/package.json +17 -32
- package/service-override/tools/debugAssets.js +1 -1
- package/vscode/src/vs/platform/debug/common/extensionHostDebugIpc.d.ts +5 -5
- package/vscode/src/vs/platform/debug/common/extensionHostDebugIpc.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.d.ts +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +19 -19
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.d.ts +14 -14
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +62 -62
- package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +127 -127
- package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.d.ts +11 -11
- package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +40 -40
- package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.d.ts +17 -17
- package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +38 -38
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.d.ts +15 -15
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +39 -39
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.d.ts +5 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +8 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +47 -47
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.d.ts +13 -13
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +57 -57
- package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.d.ts +10 -10
- package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +39 -39
- package/vscode/src/vs/workbench/contrib/debug/browser/debugMemory.d.ts +7 -7
- package/vscode/src/vs/workbench/contrib/debug/browser/debugMemory.js +7 -7
- package/vscode/src/vs/workbench/contrib/debug/browser/debugProgress.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/debugProgress.js +8 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.d.ts +5 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +17 -17
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.d.ts +26 -26
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +65 -65
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.d.ts +24 -24
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +82 -82
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSettingMigration.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +11 -11
- package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.d.ts +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +38 -38
- package/vscode/src/vs/workbench/contrib/debug/browser/debugTitle.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/debugTitle.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.d.ts +16 -16
- package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +47 -47
- package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.d.ts +18 -18
- package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +28 -28
- package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.d.ts +14 -14
- package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +48 -48
- package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.d.ts +5 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +28 -28
- package/vscode/src/vs/workbench/contrib/debug/browser/extensionHostDebugService.d.ts +9 -9
- package/vscode/src/vs/workbench/contrib/debug/browser/extensionHostDebugService.js +15 -15
- package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.d.ts +16 -16
- package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +40 -40
- package/vscode/src/vs/workbench/contrib/debug/browser/media/debug.contribution.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/media/debugHover.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/media/debugToolBar.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/media/debugViewlet.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/media/exceptionWidget.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/media/repl.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.d.ts +8 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +22 -22
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.d.ts +26 -26
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +86 -86
- package/vscode/src/vs/workbench/contrib/debug/browser/replAccessibilityHelp.d.ts +6 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/replAccessibilityHelp.js +14 -14
- package/vscode/src/vs/workbench/contrib/debug/browser/replAccessibleView.d.ts +9 -9
- package/vscode/src/vs/workbench/contrib/debug/browser/replAccessibleView.js +9 -9
- package/vscode/src/vs/workbench/contrib/debug/browser/replFilter.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/replFilter.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.d.ts +15 -15
- package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +24 -24
- package/vscode/src/vs/workbench/contrib/debug/browser/runAndDebugAccessibilityHelp.d.ts +8 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/runAndDebugAccessibilityHelp.js +27 -27
- package/vscode/src/vs/workbench/contrib/debug/browser/statusbarColorProvider.d.ts +7 -7
- package/vscode/src/vs/workbench/contrib/debug/browser/statusbarColorProvider.js +25 -25
- package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.d.ts +23 -23
- package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +47 -47
- package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.d.ts +19 -19
- package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +32 -32
- package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.d.ts +15 -15
- package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +30 -30
- package/vscode/src/vs/workbench/contrib/debug/common/breakpoints.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/debug/common/breakpoints.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/common/debugAccessibilityAnnouncer.d.ts +6 -6
- package/vscode/src/vs/workbench/contrib/debug/common/debugAccessibilityAnnouncer.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/common/debugCompoundRoot.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugCompoundRoot.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.d.ts +8 -8
- package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +17 -17
- package/vscode/src/vs/workbench/contrib/debug/common/debugContext.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugContext.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.d.ts +5 -5
- package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +9 -9
- package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +50 -50
- package/vscode/src/vs/workbench/contrib/debug/common/debugStorage.d.ts +11 -11
- package/vscode/src/vs/workbench/contrib/debug/common/debugStorage.js +16 -16
- package/vscode/src/vs/workbench/contrib/debug/common/debugTelemetry.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/debug/common/debugTelemetry.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/common/debugViewModel.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/debug/common/debugViewModel.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/common/debugVisualizers.d.ts +10 -10
- package/vscode/src/vs/workbench/contrib/debug/common/debugVisualizers.js +10 -10
- package/vscode/src/vs/workbench/contrib/debug/common/debugger.d.ts +12 -12
- package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +27 -27
- package/vscode/src/vs/workbench/contrib/debug/common/replAccessibilityAnnouncer.d.ts +5 -5
- package/vscode/src/vs/workbench/contrib/debug/common/replAccessibilityAnnouncer.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariableCommands.js +9 -9
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
3
|
-
import { localize } from 'vscode/vscode/vs/nls';
|
|
4
|
-
import { Emitter } from 'vscode/vscode/vs/base/common/event';
|
|
5
|
-
import { mixin } from 'vscode/vscode/vs/base/common/objects';
|
|
6
|
-
import { toAction } from 'vscode/vscode/vs/base/common/actions';
|
|
7
|
-
import { CancellationError, ErrorNoTelemetry } from 'vscode/vscode/vs/base/common/errors';
|
|
8
|
-
import { createErrorWithActions } from 'vscode/vscode/vs/base/common/errorMessage';
|
|
9
|
-
import { isUri, formatPII } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugUtils';
|
|
10
|
-
import { IExtensionHostDebugService } from 'vscode/vscode/vs/platform/debug/common/extensionHostDebug.service';
|
|
11
|
-
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
12
|
-
import { IOpenerService } from 'vscode/vscode/vs/platform/opener/common/opener.service';
|
|
13
|
-
import { dispose } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
14
|
-
import 'vscode/vscode/vs/platform/notification/common/notification';
|
|
15
|
-
import { INotificationService } from 'vscode/vscode/vs/platform/notification/common/notification.service';
|
|
16
|
-
import { IDialogService } from 'vscode/vscode/vs/platform/dialogs/common/dialogs.service';
|
|
17
|
-
import { Schemas } from 'vscode/vscode/vs/base/common/network';
|
|
18
|
-
import Severity from 'vscode/vscode/vs/base/common/severity';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
+
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
4
|
+
import { Emitter } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
|
|
5
|
+
import { mixin } from '@codingame/monaco-vscode-api/vscode/vs/base/common/objects';
|
|
6
|
+
import { toAction } from '@codingame/monaco-vscode-api/vscode/vs/base/common/actions';
|
|
7
|
+
import { CancellationError, ErrorNoTelemetry } from '@codingame/monaco-vscode-api/vscode/vs/base/common/errors';
|
|
8
|
+
import { createErrorWithActions } from '@codingame/monaco-vscode-api/vscode/vs/base/common/errorMessage';
|
|
9
|
+
import { isUri, formatPII } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debugUtils';
|
|
10
|
+
import { IExtensionHostDebugService } from '@codingame/monaco-vscode-api/vscode/vs/platform/debug/common/extensionHostDebug.service';
|
|
11
|
+
import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
|
|
12
|
+
import { IOpenerService } from '@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service';
|
|
13
|
+
import { dispose } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
14
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/notification/common/notification';
|
|
15
|
+
import { INotificationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/notification/common/notification.service';
|
|
16
|
+
import { IDialogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/dialogs/common/dialogs.service';
|
|
17
|
+
import { Schemas } from '@codingame/monaco-vscode-api/vscode/vs/base/common/network';
|
|
18
|
+
import Severity from '@codingame/monaco-vscode-api/vscode/vs/base/common/severity';
|
|
19
19
|
|
|
20
20
|
let RawDebugSession = class RawDebugSession {
|
|
21
21
|
constructor(debugAdapter, dbgr, sessionId, name, extensionHostDebugService, openerService, notificationService, dialogSerivce) {
|
|
@@ -194,7 +194,7 @@ let RawDebugSession = class RawDebugSession {
|
|
|
194
194
|
}
|
|
195
195
|
async start() {
|
|
196
196
|
if (!this.debugAdapter) {
|
|
197
|
-
return Promise.reject(( new Error(( localize(
|
|
197
|
+
return Promise.reject(( new Error(( localize(5442, "No debug adapter, can not start debug session.")))));
|
|
198
198
|
}
|
|
199
199
|
await this.debugAdapter.startSession();
|
|
200
200
|
this.startTime = ( new Date()).getTime();
|
|
@@ -518,10 +518,10 @@ let RawDebugSession = class RawDebugSession {
|
|
|
518
518
|
const { confirmed } = await this.dialogSerivce.confirm({
|
|
519
519
|
type: Severity.Warning,
|
|
520
520
|
message: ( localize(
|
|
521
|
-
|
|
521
|
+
5443,
|
|
522
522
|
"The debugger needs to open a new tab or window for the debuggee but the browser prevented this. You must give permission to continue."
|
|
523
523
|
)),
|
|
524
|
-
primaryButton: ( localize(
|
|
524
|
+
primaryButton: ( localize(5444, "&&Continue"))
|
|
525
525
|
});
|
|
526
526
|
if (confirmed) {
|
|
527
527
|
result = await this.launchVsCode(request.arguments);
|
|
@@ -621,7 +621,7 @@ let RawDebugSession = class RawDebugSession {
|
|
|
621
621
|
completeDispatch(undefined);
|
|
622
622
|
}
|
|
623
623
|
else {
|
|
624
|
-
errorDispatch(( new Error(( localize(
|
|
624
|
+
errorDispatch(( new Error(( localize(5445, "No debugger available found. Can not send '{0}'.", command)))));
|
|
625
625
|
}
|
|
626
626
|
return;
|
|
627
627
|
}
|
|
@@ -654,7 +654,7 @@ let RawDebugSession = class RawDebugSession {
|
|
|
654
654
|
const userMessage = error ? formatPII(error.format, false, error.variables) : errorMessage;
|
|
655
655
|
const url = error?.url;
|
|
656
656
|
if (error && url) {
|
|
657
|
-
const label = error.urlLabel ? error.urlLabel : ( localize(
|
|
657
|
+
const label = error.urlLabel ? error.urlLabel : ( localize(5446, "More Info"));
|
|
658
658
|
const uri = ( URI.parse(url));
|
|
659
659
|
const actionId = uri.scheme === Schemas.command ? 'debug.moreInfo.command' : 'debug.moreInfo';
|
|
660
660
|
return createErrorWithActions(userMessage, [toAction({ id: actionId, label, run: () => this.openerService.open(uri, { allowCommands: true }) })]);
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { IHistoryNavigationWidget } from "vscode/vscode/vs/base/browser/history";
|
|
2
|
-
import { IActionViewItem } from "vscode/vscode/vs/base/browser/ui/actionbar/actionbar";
|
|
3
|
-
import { IAsyncDataSource } from "vscode/vscode/vs/base/browser/ui/tree/tree";
|
|
4
|
-
import { IAction } from "vscode/vscode/vs/base/common/actions";
|
|
5
|
-
import { ICodeEditorService } from "vscode/vscode/vs/editor/browser/services/codeEditorService";
|
|
6
|
-
import { CodeEditorWidget } from "vscode/vscode/vs/editor/browser/widget/codeEditor/codeEditorWidget";
|
|
7
|
-
import { ILanguageFeaturesService } from "vscode/vscode/vs/editor/common/services/languageFeatures";
|
|
8
|
-
import { IModelService } from "vscode/vscode/vs/editor/common/services/model";
|
|
9
|
-
import { ITextResourcePropertiesService } from "vscode/vscode/vs/editor/common/services/textResourceConfiguration";
|
|
10
|
-
import { IMenuService } from "vscode/vscode/vs/platform/actions/common/actions.service";
|
|
11
|
-
import { IConfigurationService } from "vscode/vscode/vs/platform/configuration/common/configuration.service";
|
|
12
|
-
import { IContextKeyService } from "vscode/vscode/vs/platform/contextkey/common/contextkey.service";
|
|
13
|
-
import { IContextMenuService } from "vscode/vscode/vs/platform/contextview/browser/contextView.service";
|
|
14
|
-
import { IHoverService } from "vscode/vscode/vs/platform/hover/browser/hover.service";
|
|
15
|
-
import { IInstantiationService } from "vscode/vscode/vs/platform/instantiation/common/instantiation";
|
|
16
|
-
import { IKeybindingService } from "vscode/vscode/vs/platform/keybinding/common/keybinding.service";
|
|
17
|
-
import { ILogService } from "vscode/vscode/vs/platform/log/common/log.service";
|
|
18
|
-
import { IOpenerService } from "vscode/vscode/vs/platform/opener/common/opener.service";
|
|
19
|
-
import { IStorageService } from "vscode/vscode/vs/platform/storage/common/storage.service";
|
|
20
|
-
import { ITelemetryService } from "vscode/vscode/vs/platform/telemetry/common/telemetry.service";
|
|
21
|
-
import { IThemeService } from "vscode/vscode/vs/platform/theme/common/themeService.service";
|
|
1
|
+
import { IHistoryNavigationWidget } from "@codingame/monaco-vscode-api/vscode/vs/base/browser/history";
|
|
2
|
+
import { IActionViewItem } from "@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/actionbar/actionbar";
|
|
3
|
+
import { IAsyncDataSource } from "@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/tree/tree";
|
|
4
|
+
import { IAction } from "@codingame/monaco-vscode-api/vscode/vs/base/common/actions";
|
|
5
|
+
import { ICodeEditorService } from "@codingame/monaco-vscode-api/vscode/vs/editor/browser/services/codeEditorService";
|
|
6
|
+
import { CodeEditorWidget } from "@codingame/monaco-vscode-api/vscode/vs/editor/browser/widget/codeEditor/codeEditorWidget";
|
|
7
|
+
import { ILanguageFeaturesService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/languageFeatures";
|
|
8
|
+
import { IModelService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/model";
|
|
9
|
+
import { ITextResourcePropertiesService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/textResourceConfiguration";
|
|
10
|
+
import { IMenuService } from "@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions.service";
|
|
11
|
+
import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
|
|
12
|
+
import { IContextKeyService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service";
|
|
13
|
+
import { IContextMenuService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextview/browser/contextView.service";
|
|
14
|
+
import { IHoverService } from "@codingame/monaco-vscode-api/vscode/vs/platform/hover/browser/hover.service";
|
|
15
|
+
import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
|
|
16
|
+
import { IKeybindingService } from "@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding.service";
|
|
17
|
+
import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
|
|
18
|
+
import { IOpenerService } from "@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service";
|
|
19
|
+
import { IStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service";
|
|
20
|
+
import { ITelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service";
|
|
21
|
+
import { IThemeService } from "@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service";
|
|
22
22
|
import { FilterViewPane, IViewPaneOptions } from "@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common/vscode/vs/workbench/browser/parts/views/viewPane";
|
|
23
|
-
import { IViewDescriptorService } from "vscode/vscode/vs/workbench/common/views.service";
|
|
24
|
-
import { IEditorService } from "vscode/vscode/vs/workbench/services/editor/common/editorService.service";
|
|
25
|
-
import { IViewsService } from "vscode/vscode/vs/workbench/services/views/common/viewsService.service";
|
|
26
|
-
import { IDebugSession, IReplElement } from "vscode/vscode/vs/workbench/contrib/debug/common/debug";
|
|
27
|
-
import { IDebugService } from "vscode/vscode/vs/workbench/contrib/debug/common/debug.service";
|
|
23
|
+
import { IViewDescriptorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service";
|
|
24
|
+
import { IEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service";
|
|
25
|
+
import { IViewsService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/views/common/viewsService.service";
|
|
26
|
+
import { IDebugSession, IReplElement } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug";
|
|
27
|
+
import { IDebugService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug.service";
|
|
28
28
|
export declare class Repl extends FilterViewPane implements IHistoryNavigationWidget {
|
|
29
29
|
private readonly debugService;
|
|
30
30
|
private readonly storageService;
|
|
@@ -1,76 +1,76 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
3
|
-
import { $ as $$1, clearNode, Dimension, isActiveElement, append, getWindow, addStandardDisposableListener, EventType, getActiveWindow } from 'vscode/vscode/vs/base/browser/dom';
|
|
4
|
-
import { createStyleSheet } from 'vscode/vscode/vs/base/browser/domStylesheets';
|
|
5
|
-
import { status } from 'vscode/vscode/vs/base/browser/ui/aria/aria';
|
|
6
|
-
import { MOUSE_CURSOR_TEXT_CSS_CLASS_NAME } from 'vscode/vscode/vs/base/browser/ui/mouseCursor/mouseCursor';
|
|
7
|
-
import { RunOnceScheduler } from 'vscode/vscode/vs/base/common/async';
|
|
8
|
-
import { Codicon } from 'vscode/vscode/vs/base/common/codicons';
|
|
9
|
-
import { memoize } from 'vscode/vscode/vs/base/common/decorators';
|
|
10
|
-
import { Emitter } from 'vscode/vscode/vs/base/common/event';
|
|
11
|
-
import { HistoryNavigator } from 'vscode/vscode/vs/base/common/history';
|
|
12
|
-
import { KeyCode, KeyMod } from 'vscode/vscode/vs/base/common/keyCodes';
|
|
13
|
-
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
14
|
-
import { removeAnsiEscapeCodes } from 'vscode/vscode/vs/base/common/strings';
|
|
15
|
-
import { ThemeIcon } from 'vscode/vscode/vs/base/common/themables';
|
|
16
|
-
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
17
|
-
import { isCodeEditor } from 'vscode/vscode/vs/editor/browser/editorBrowser';
|
|
18
|
-
import { EditorAction, registerEditorAction } from 'vscode/vscode/vs/editor/browser/editorExtensions';
|
|
19
|
-
import { ICodeEditorService } from 'vscode/vscode/vs/editor/browser/services/codeEditorService';
|
|
20
|
-
import { CodeEditorWidget } from 'vscode/vscode/vs/editor/browser/widget/codeEditor/codeEditorWidget';
|
|
21
|
-
import { EDITOR_FONT_DEFAULTS, EditorOption } from 'vscode/vscode/vs/editor/common/config/editorOptions';
|
|
22
|
-
import { Range } from 'vscode/vscode/vs/editor/common/core/range';
|
|
23
|
-
import { EditorContextKeys } from 'vscode/vscode/vs/editor/common/editorContextKeys';
|
|
24
|
-
import { CompletionItemInsertTextRule, CompletionItemKinds, CompletionItemKind } from 'vscode/vscode/vs/editor/common/languages';
|
|
25
|
-
import { ILanguageFeaturesService } from 'vscode/vscode/vs/editor/common/services/languageFeatures';
|
|
26
|
-
import { IModelService } from 'vscode/vscode/vs/editor/common/services/model';
|
|
27
|
-
import { ITextResourcePropertiesService } from 'vscode/vscode/vs/editor/common/services/textResourceConfiguration';
|
|
28
|
-
import { SuggestController } from 'vscode/vscode/vs/editor/contrib/suggest/browser/suggestController';
|
|
29
|
-
import { localize, localize2 } from 'vscode/vscode/vs/nls';
|
|
30
|
-
import { AccessibilitySignal } from 'vscode/vscode/vs/platform/accessibilitySignal/browser/accessibilitySignalService';
|
|
31
|
-
import { IAccessibilitySignalService } from 'vscode/vscode/vs/platform/accessibilitySignal/browser/accessibilitySignalService.service';
|
|
32
|
-
import { getFlatContextMenuActions } from 'vscode/vscode/vs/platform/actions/browser/menuEntryActionViewItem';
|
|
33
|
-
import { MenuId, registerAction2, Action2 } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
34
|
-
import { IMenuService } from 'vscode/vscode/vs/platform/actions/common/actions.service';
|
|
35
|
-
import { IClipboardService } from 'vscode/vscode/vs/platform/clipboard/common/clipboardService.service';
|
|
36
|
-
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
37
|
-
import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
38
|
-
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
39
|
-
import { IContextMenuService } from 'vscode/vscode/vs/platform/contextview/browser/contextView.service';
|
|
40
|
-
import { registerAndCreateHistoryNavigationContext } from 'vscode/vscode/vs/platform/history/browser/contextScopedHistoryWidget';
|
|
41
|
-
import { IHoverService } from 'vscode/vscode/vs/platform/hover/browser/hover.service';
|
|
42
|
-
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
43
|
-
import { ServiceCollection } from 'vscode/vscode/vs/platform/instantiation/common/serviceCollection';
|
|
44
|
-
import { IKeybindingService } from 'vscode/vscode/vs/platform/keybinding/common/keybinding.service';
|
|
45
|
-
import { KeybindingWeight } from 'vscode/vscode/vs/platform/keybinding/common/keybindingsRegistry';
|
|
46
|
-
import { WorkbenchAsyncDataTree } from 'vscode/vscode/vs/platform/list/browser/listService';
|
|
47
|
-
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log.service';
|
|
48
|
-
import { IOpenerService } from 'vscode/vscode/vs/platform/opener/common/opener.service';
|
|
49
|
-
import { StorageScope, StorageTarget } from 'vscode/vscode/vs/platform/storage/common/storage';
|
|
50
|
-
import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage.service';
|
|
51
|
-
import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry.service';
|
|
52
|
-
import { resolveColorValue } from 'vscode/vscode/vs/platform/theme/common/colorUtils';
|
|
53
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/baseColors';
|
|
54
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/chartsColors';
|
|
55
|
-
import { editorForeground } from 'vscode/vscode/vs/platform/theme/common/colors/editorColors';
|
|
56
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/inputColors';
|
|
57
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/listColors';
|
|
58
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/menuColors';
|
|
59
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/minimapColors';
|
|
60
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/miscColors';
|
|
61
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/quickpickColors';
|
|
62
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/searchColors';
|
|
63
|
-
import { IThemeService } from 'vscode/vscode/vs/platform/theme/common/themeService.service';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
+
import { $ as $$1, clearNode, Dimension, isActiveElement, append, getWindow, addStandardDisposableListener, EventType, getActiveWindow } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
|
|
4
|
+
import { createStyleSheet } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/domStylesheets';
|
|
5
|
+
import { status } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/aria/aria';
|
|
6
|
+
import { MOUSE_CURSOR_TEXT_CSS_CLASS_NAME } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/mouseCursor/mouseCursor';
|
|
7
|
+
import { RunOnceScheduler } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
|
|
8
|
+
import { Codicon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/codicons';
|
|
9
|
+
import { memoize } from '@codingame/monaco-vscode-api/vscode/vs/base/common/decorators';
|
|
10
|
+
import { Emitter } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
|
|
11
|
+
import { HistoryNavigator } from '@codingame/monaco-vscode-api/vscode/vs/base/common/history';
|
|
12
|
+
import { KeyCode, KeyMod } from '@codingame/monaco-vscode-api/vscode/vs/base/common/keyCodes';
|
|
13
|
+
import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
14
|
+
import { removeAnsiEscapeCodes } from '@codingame/monaco-vscode-api/vscode/vs/base/common/strings';
|
|
15
|
+
import { ThemeIcon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/themables';
|
|
16
|
+
import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
|
|
17
|
+
import { isCodeEditor } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/editorBrowser';
|
|
18
|
+
import { EditorAction, registerEditorAction } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/editorExtensions';
|
|
19
|
+
import { ICodeEditorService } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/services/codeEditorService';
|
|
20
|
+
import { CodeEditorWidget } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/widget/codeEditor/codeEditorWidget';
|
|
21
|
+
import { EDITOR_FONT_DEFAULTS, EditorOption } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/config/editorOptions';
|
|
22
|
+
import { Range } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/core/range';
|
|
23
|
+
import { EditorContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/editorContextKeys';
|
|
24
|
+
import { CompletionItemInsertTextRule, CompletionItemKinds, CompletionItemKind } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages';
|
|
25
|
+
import { ILanguageFeaturesService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/languageFeatures';
|
|
26
|
+
import { IModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/model';
|
|
27
|
+
import { ITextResourcePropertiesService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/textResourceConfiguration';
|
|
28
|
+
import { SuggestController } from '@codingame/monaco-vscode-api/vscode/vs/editor/contrib/suggest/browser/suggestController';
|
|
29
|
+
import { localize, localize2 } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
30
|
+
import { AccessibilitySignal } from '@codingame/monaco-vscode-api/vscode/vs/platform/accessibilitySignal/browser/accessibilitySignalService';
|
|
31
|
+
import { IAccessibilitySignalService } from '@codingame/monaco-vscode-api/vscode/vs/platform/accessibilitySignal/browser/accessibilitySignalService.service';
|
|
32
|
+
import { getFlatContextMenuActions } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/browser/menuEntryActionViewItem';
|
|
33
|
+
import { MenuId, registerAction2, Action2 } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
34
|
+
import { IMenuService } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions.service';
|
|
35
|
+
import { IClipboardService } from '@codingame/monaco-vscode-api/vscode/vs/platform/clipboard/common/clipboardService.service';
|
|
36
|
+
import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
37
|
+
import { ContextKeyExpr } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
|
|
38
|
+
import { IContextKeyService } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
39
|
+
import { IContextMenuService } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextview/browser/contextView.service';
|
|
40
|
+
import { registerAndCreateHistoryNavigationContext } from '@codingame/monaco-vscode-api/vscode/vs/platform/history/browser/contextScopedHistoryWidget';
|
|
41
|
+
import { IHoverService } from '@codingame/monaco-vscode-api/vscode/vs/platform/hover/browser/hover.service';
|
|
42
|
+
import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
43
|
+
import { ServiceCollection } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/serviceCollection';
|
|
44
|
+
import { IKeybindingService } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding.service';
|
|
45
|
+
import { KeybindingWeight } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybindingsRegistry';
|
|
46
|
+
import { WorkbenchAsyncDataTree } from '@codingame/monaco-vscode-api/vscode/vs/platform/list/browser/listService';
|
|
47
|
+
import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
|
|
48
|
+
import { IOpenerService } from '@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service';
|
|
49
|
+
import { StorageScope, StorageTarget } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage';
|
|
50
|
+
import { IStorageService } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service';
|
|
51
|
+
import { ITelemetryService } from '@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service';
|
|
52
|
+
import { resolveColorValue } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colorUtils';
|
|
53
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/baseColors';
|
|
54
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/chartsColors';
|
|
55
|
+
import { editorForeground } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/editorColors';
|
|
56
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/inputColors';
|
|
57
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/listColors';
|
|
58
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/menuColors';
|
|
59
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/minimapColors';
|
|
60
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/miscColors';
|
|
61
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/quickpickColors';
|
|
62
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/searchColors';
|
|
63
|
+
import { IThemeService } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service';
|
|
64
64
|
import { registerNavigableContainer } from '@codingame/monaco-vscode-b4efa70b-52b9-5670-ab5c-f10b10b6834e-common/vscode/vs/workbench/browser/actions/widgetNavigationCommands';
|
|
65
65
|
import { FilterViewPane, ViewAction } from '@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common/vscode/vs/workbench/browser/parts/views/viewPane';
|
|
66
|
-
import { IViewDescriptorService } from 'vscode/vscode/vs/workbench/common/views.service';
|
|
67
|
-
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
68
|
-
import { IViewsService } from 'vscode/vscode/vs/workbench/services/views/common/viewsService.service';
|
|
69
|
-
import { AccessibilityVerbositySettingId } from 'vscode/vscode/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration';
|
|
70
|
-
import { AccessibilityCommandId } from 'vscode/vscode/vs/workbench/contrib/accessibility/common/accessibilityCommands';
|
|
66
|
+
import { IViewDescriptorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service';
|
|
67
|
+
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
68
|
+
import { IViewsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/views/common/viewsService.service';
|
|
69
|
+
import { AccessibilityVerbositySettingId } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration';
|
|
70
|
+
import { AccessibilityCommandId } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/accessibility/common/accessibilityCommands';
|
|
71
71
|
import { getSimpleEditorOptions, getSimpleCodeEditorWidgetOptions } from '@codingame/monaco-vscode-b4efa70b-52b9-5670-ab5c-f10b10b6834e-common/vscode/vs/workbench/contrib/codeEditor/browser/simpleEditorOptions';
|
|
72
|
-
import { DEBUG_SCHEME, CONTEXT_MULTI_SESSION_REPL, State, CONTEXT_IN_DEBUG_REPL, REPL_VIEW_ID, CONTEXT_DEBUG_STATE, getStateLabel } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
|
|
73
|
-
import { IDebugService } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug.service';
|
|
72
|
+
import { DEBUG_SCHEME, CONTEXT_MULTI_SESSION_REPL, State, CONTEXT_IN_DEBUG_REPL, REPL_VIEW_ID, CONTEXT_DEBUG_STATE, getStateLabel } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug';
|
|
73
|
+
import { IDebugService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug.service';
|
|
74
74
|
import { Variable } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/common/debugModel';
|
|
75
75
|
import { ReplGroup, ReplEvaluationResult } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/common/replModel';
|
|
76
76
|
import { FocusSessionActionViewItem } from './debugActionViewItems.js';
|
|
@@ -100,7 +100,7 @@ let Repl = class Repl extends FilterViewPane {
|
|
|
100
100
|
super({
|
|
101
101
|
...options,
|
|
102
102
|
filterOptions: {
|
|
103
|
-
placeholder: ( localize(
|
|
103
|
+
placeholder: ( localize(5447, "Filter (e.g. text, !exclude, \\escape)")),
|
|
104
104
|
text: filterText,
|
|
105
105
|
history: JSON.parse(storageService.get(FILTER_HISTORY_STORAGE_KEY, StorageScope.WORKSPACE, '[]')),
|
|
106
106
|
}
|
|
@@ -502,7 +502,7 @@ let Repl = class Repl extends FilterViewPane {
|
|
|
502
502
|
await autoExpandElements(session.getReplElements());
|
|
503
503
|
}
|
|
504
504
|
const { total, filtered } = this.getFilterStats();
|
|
505
|
-
this.filterWidget.updateBadge(total === filtered || total === 0 ? undefined : ( localize(
|
|
505
|
+
this.filterWidget.updateBadge(total === filtered || total === 0 ? undefined : ( localize(5448, "Showing {0} of {1}", filtered, total)));
|
|
506
506
|
}, Repl_1.REFRESH_DELAY));
|
|
507
507
|
}
|
|
508
508
|
render() {
|
|
@@ -624,17 +624,17 @@ let Repl = class Repl extends FilterViewPane {
|
|
|
624
624
|
this._register(addStandardDisposableListener(this.replInputContainer, EventType.BLUR, () => this.replInputContainer.classList.remove('synthetic-focus')));
|
|
625
625
|
}
|
|
626
626
|
getAriaLabel() {
|
|
627
|
-
let ariaLabel = ( localize(
|
|
627
|
+
let ariaLabel = ( localize(5449, "Debug Console"));
|
|
628
628
|
if (!this.configurationService.getValue(AccessibilityVerbositySettingId.Debug)) {
|
|
629
629
|
return ariaLabel;
|
|
630
630
|
}
|
|
631
631
|
const keybinding = this.keybindingService.lookupKeybinding(AccessibilityCommandId.OpenAccessibilityHelp)?.getAriaLabel();
|
|
632
632
|
if (keybinding) {
|
|
633
|
-
ariaLabel = ( localize(
|
|
633
|
+
ariaLabel = ( localize(5450, "{0}, use ({1}) for accessibility help", ariaLabel, keybinding));
|
|
634
634
|
}
|
|
635
635
|
else {
|
|
636
636
|
ariaLabel = ( localize(
|
|
637
|
-
|
|
637
|
+
5451,
|
|
638
638
|
"{0}, run the command Open Accessibility Help which is currently not triggerable via keybinding.",
|
|
639
639
|
ariaLabel
|
|
640
640
|
));
|
|
@@ -673,7 +673,7 @@ let Repl = class Repl extends FilterViewPane {
|
|
|
673
673
|
},
|
|
674
674
|
renderOptions: {
|
|
675
675
|
after: {
|
|
676
|
-
contentText: ( localize(
|
|
676
|
+
contentText: ( localize(5452, "Please start a debug session to evaluate expressions")),
|
|
677
677
|
color: transparentForeground ? ( transparentForeground.toString()) : undefined
|
|
678
678
|
}
|
|
679
679
|
}
|
|
@@ -786,7 +786,7 @@ class AcceptReplInputAction extends EditorAction {
|
|
|
786
786
|
constructor() {
|
|
787
787
|
super({
|
|
788
788
|
id: 'repl.action.acceptInput',
|
|
789
|
-
label: ( localize2(
|
|
789
|
+
label: ( localize2(5453, "Debug Console: Accept Input")),
|
|
790
790
|
precondition: CONTEXT_IN_DEBUG_REPL,
|
|
791
791
|
kbOpts: {
|
|
792
792
|
kbExpr: EditorContextKeys.textInputFocus,
|
|
@@ -806,7 +806,7 @@ class FilterReplAction extends ViewAction {
|
|
|
806
806
|
super({
|
|
807
807
|
viewId: REPL_VIEW_ID,
|
|
808
808
|
id: 'repl.action.filter',
|
|
809
|
-
title: ( localize(
|
|
809
|
+
title: ( localize(5454, "Debug Console: Focus Filter")),
|
|
810
810
|
precondition: CONTEXT_IN_DEBUG_REPL,
|
|
811
811
|
keybinding: [{
|
|
812
812
|
when: EditorContextKeys.textInputFocus,
|
|
@@ -824,7 +824,7 @@ class FindReplAction extends ViewAction {
|
|
|
824
824
|
super({
|
|
825
825
|
viewId: REPL_VIEW_ID,
|
|
826
826
|
id: 'repl.action.find',
|
|
827
|
-
title: ( localize(
|
|
827
|
+
title: ( localize(5455, "Debug Console: Focus Find")),
|
|
828
828
|
precondition: CONTEXT_IN_DEBUG_REPL,
|
|
829
829
|
keybinding: [{
|
|
830
830
|
when: ( ContextKeyExpr.or(CONTEXT_IN_DEBUG_REPL, ( ContextKeyExpr.equals('focusedView', 'workbench.panel.repl.view')))),
|
|
@@ -852,7 +852,7 @@ class ReplCopyAllAction extends EditorAction {
|
|
|
852
852
|
constructor() {
|
|
853
853
|
super({
|
|
854
854
|
id: 'repl.action.copyAll',
|
|
855
|
-
label: ( localize(
|
|
855
|
+
label: ( localize(5456, "Debug: Console Copy All")),
|
|
856
856
|
alias: 'Debug Console Copy All',
|
|
857
857
|
precondition: CONTEXT_IN_DEBUG_REPL,
|
|
858
858
|
});
|
|
@@ -889,7 +889,7 @@ registerAction2(class extends ViewAction {
|
|
|
889
889
|
super({
|
|
890
890
|
id: selectReplCommandId,
|
|
891
891
|
viewId: REPL_VIEW_ID,
|
|
892
|
-
title: ( localize(
|
|
892
|
+
title: ( localize(5457, "Select Debug Console")),
|
|
893
893
|
f1: false,
|
|
894
894
|
menu: {
|
|
895
895
|
id: MenuId.ViewTitle,
|
|
@@ -918,9 +918,9 @@ registerAction2(class extends ViewAction {
|
|
|
918
918
|
super({
|
|
919
919
|
id: 'workbench.debug.panel.action.clearReplAction',
|
|
920
920
|
viewId: REPL_VIEW_ID,
|
|
921
|
-
title: ( localize2(
|
|
921
|
+
title: ( localize2(5458, 'Clear Console')),
|
|
922
922
|
metadata: {
|
|
923
|
-
description: ( localize2(
|
|
923
|
+
description: ( localize2(5459, 'Clears all program output from your debug REPL'))
|
|
924
924
|
},
|
|
925
925
|
f1: true,
|
|
926
926
|
icon: debugConsoleClearAll,
|
|
@@ -952,7 +952,7 @@ registerAction2(class extends ViewAction {
|
|
|
952
952
|
constructor() {
|
|
953
953
|
super({
|
|
954
954
|
id: 'debug.collapseRepl',
|
|
955
|
-
title: ( localize(
|
|
955
|
+
title: ( localize(5460, "Collapse All")),
|
|
956
956
|
viewId: REPL_VIEW_ID,
|
|
957
957
|
menu: {
|
|
958
958
|
id: MenuId.DebugConsoleContext,
|
|
@@ -970,7 +970,7 @@ registerAction2(class extends ViewAction {
|
|
|
970
970
|
constructor() {
|
|
971
971
|
super({
|
|
972
972
|
id: 'debug.replPaste',
|
|
973
|
-
title: ( localize(
|
|
973
|
+
title: ( localize(5461, "Paste")),
|
|
974
974
|
viewId: REPL_VIEW_ID,
|
|
975
975
|
precondition: ( CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(State.Inactive))),
|
|
976
976
|
menu: {
|
|
@@ -1000,7 +1000,7 @@ registerAction2(class extends ViewAction {
|
|
|
1000
1000
|
constructor() {
|
|
1001
1001
|
super({
|
|
1002
1002
|
id: 'workbench.debug.action.copyAll',
|
|
1003
|
-
title: ( localize(
|
|
1003
|
+
title: ( localize(5462, "Copy All")),
|
|
1004
1004
|
viewId: REPL_VIEW_ID,
|
|
1005
1005
|
menu: {
|
|
1006
1006
|
id: MenuId.DebugConsoleContext,
|
|
@@ -1018,7 +1018,7 @@ registerAction2(class extends Action2 {
|
|
|
1018
1018
|
constructor() {
|
|
1019
1019
|
super({
|
|
1020
1020
|
id: 'debug.replCopy',
|
|
1021
|
-
title: ( localize(
|
|
1021
|
+
title: ( localize(5463, "Copy")),
|
|
1022
1022
|
menu: {
|
|
1023
1023
|
id: MenuId.DebugConsoleContext,
|
|
1024
1024
|
group: '2_cutcopypaste',
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { ServicesAccessor } from "vscode/vscode/vs/editor/browser/editorExtensions";
|
|
2
|
-
import { AccessibleViewProviderId, AccessibleViewType, IAccessibleViewContentProvider } from "vscode/vscode/vs/platform/accessibility/browser/accessibleView";
|
|
3
|
-
import { IAccessibleViewImplentation } from "vscode/vscode/vs/platform/accessibility/browser/accessibleViewRegistry";
|
|
4
|
-
import { Disposable } from "vscode/vscode/vs/base/common/lifecycle";
|
|
1
|
+
import { ServicesAccessor } from "@codingame/monaco-vscode-api/vscode/vs/editor/browser/editorExtensions";
|
|
2
|
+
import { AccessibleViewProviderId, AccessibleViewType, IAccessibleViewContentProvider } from "@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/browser/accessibleView";
|
|
3
|
+
import { IAccessibleViewImplentation } from "@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/browser/accessibleViewRegistry";
|
|
4
|
+
import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
5
5
|
import { Repl } from "./repl.js";
|
|
6
|
-
import { AccessibilityVerbositySettingId } from "vscode/vscode/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration";
|
|
6
|
+
import { AccessibilityVerbositySettingId } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration";
|
|
7
7
|
export declare class ReplAccessibilityHelp implements IAccessibleViewImplentation {
|
|
8
8
|
priority: number;
|
|
9
9
|
name: string;
|
|
10
|
-
when: import("vscode/vscode/vs/platform/contextkey/common/contextkey").ContextKeyExpression;
|
|
10
|
+
when: import("@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey").ContextKeyExpression;
|
|
11
11
|
type: AccessibleViewType;
|
|
12
12
|
getProvider(accessor: ServicesAccessor): ReplAccessibilityHelpProvider | undefined;
|
|
13
13
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
import { AccessibleViewType, AccessibleViewProviderId } from 'vscode/vscode/vs/platform/accessibility/browser/accessibleView';
|
|
3
|
-
import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
4
|
-
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
2
|
+
import { AccessibleViewType, AccessibleViewProviderId } from '@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/browser/accessibleView';
|
|
3
|
+
import { ContextKeyExpr } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
|
|
4
|
+
import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
5
5
|
import { getReplView } from './repl.js';
|
|
6
|
-
import { IViewsService } from 'vscode/vscode/vs/workbench/services/views/common/viewsService.service';
|
|
7
|
-
import { AccessibilityVerbositySettingId } from 'vscode/vscode/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration';
|
|
8
|
-
import { localize } from 'vscode/vscode/vs/nls';
|
|
6
|
+
import { IViewsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/views/common/viewsService.service';
|
|
7
|
+
import { AccessibilityVerbositySettingId } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration';
|
|
8
|
+
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
9
9
|
|
|
10
10
|
class ReplAccessibilityHelp {
|
|
11
11
|
constructor() {
|
|
@@ -42,41 +42,41 @@ class ReplAccessibilityHelpProvider extends Disposable {
|
|
|
42
42
|
provideContent() {
|
|
43
43
|
return [
|
|
44
44
|
( localize(
|
|
45
|
-
|
|
45
|
+
5464,
|
|
46
46
|
"The debug console is a Read-Eval-Print-Loop that allows you to evaluate expressions and run commands and can be focused with{0}.",
|
|
47
47
|
'<keybinding:workbench.panel.repl.view.focus>'
|
|
48
48
|
)),
|
|
49
49
|
( localize(
|
|
50
|
-
|
|
50
|
+
5465,
|
|
51
51
|
"The debug console output can be navigated to from the input field with the Focus Previous Widget command{0}.",
|
|
52
52
|
'<keybinding:widgetNavigation.focusPrevious>'
|
|
53
53
|
)),
|
|
54
54
|
( localize(
|
|
55
|
-
|
|
55
|
+
5466,
|
|
56
56
|
"The debug console input can be navigated to from the output with the Focus Next Widget command{0}.",
|
|
57
57
|
'<keybinding:widgetNavigation.focusNext>'
|
|
58
58
|
)),
|
|
59
59
|
( localize(
|
|
60
|
-
|
|
60
|
+
5467,
|
|
61
61
|
"The debug console output history can be navigated with the up and down arrow keys."
|
|
62
62
|
)),
|
|
63
63
|
( localize(
|
|
64
|
-
|
|
64
|
+
5468,
|
|
65
65
|
"The Open Accessible View command{0} will allow character by character navigation of the console output.",
|
|
66
66
|
'<keybinding:editor.action.accessibleView>'
|
|
67
67
|
)),
|
|
68
68
|
( localize(
|
|
69
|
-
|
|
69
|
+
5469,
|
|
70
70
|
"The Show Run and Debug view command{0} will open the Run and Debug view and provides more information about debugging.",
|
|
71
71
|
'<keybinding:workbench.view.debug>'
|
|
72
72
|
)),
|
|
73
73
|
( localize(
|
|
74
|
-
|
|
74
|
+
5470,
|
|
75
75
|
"The Debug: Clear Console command{0} will clear the console output.",
|
|
76
76
|
'<keybinding:workbench.debug.panel.action.clearReplAction>'
|
|
77
77
|
)),
|
|
78
78
|
( localize(
|
|
79
|
-
|
|
79
|
+
5471,
|
|
80
80
|
"The setting `debug.expandLazyVariables` controls whether variables are evaluated automatically. This is enabled by default when using a screen reader."
|
|
81
81
|
)),
|
|
82
82
|
].join('\n');
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { AccessibleViewProviderId, AccessibleViewType, IAccessibleViewContentProvider } from "vscode/vscode/vs/platform/accessibility/browser/accessibleView";
|
|
2
|
-
import { IAccessibleViewService } from "vscode/vscode/vs/platform/accessibility/browser/accessibleView.service";
|
|
3
|
-
import { AccessibilityVerbositySettingId } from "vscode/vscode/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration";
|
|
4
|
-
import { IReplElement } from "vscode/vscode/vs/workbench/contrib/debug/common/debug";
|
|
5
|
-
import { IAccessibleViewImplentation } from "vscode/vscode/vs/platform/accessibility/browser/accessibleViewRegistry";
|
|
6
|
-
import { ServicesAccessor } from "vscode/vscode/vs/platform/instantiation/common/instantiation";
|
|
1
|
+
import { AccessibleViewProviderId, AccessibleViewType, IAccessibleViewContentProvider } from "@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/browser/accessibleView";
|
|
2
|
+
import { IAccessibleViewService } from "@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/browser/accessibleView.service";
|
|
3
|
+
import { AccessibilityVerbositySettingId } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration";
|
|
4
|
+
import { IReplElement } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug";
|
|
5
|
+
import { IAccessibleViewImplentation } from "@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/browser/accessibleViewRegistry";
|
|
6
|
+
import { ServicesAccessor } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
|
|
7
7
|
import { Repl } from "./repl.js";
|
|
8
|
-
import { Event } from "vscode/vscode/vs/base/common/event";
|
|
9
|
-
import { Disposable } from "vscode/vscode/vs/base/common/lifecycle";
|
|
8
|
+
import { Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event";
|
|
9
|
+
import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
10
10
|
export declare class ReplAccessibleView implements IAccessibleViewImplentation {
|
|
11
11
|
priority: number;
|
|
12
12
|
name: string;
|
|
13
|
-
when: import("vscode/vscode/vs/platform/contextkey/common/contextkey").ContextKeyExpression;
|
|
13
|
+
when: import("@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey").ContextKeyExpression;
|
|
14
14
|
type: AccessibleViewType;
|
|
15
15
|
getProvider(accessor: ServicesAccessor): ReplOutputAccessibleViewProvider | undefined;
|
|
16
16
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
3
|
-
import { AccessibleViewType, AccessibleViewProviderId } from 'vscode/vscode/vs/platform/accessibility/browser/accessibleView';
|
|
4
|
-
import { IAccessibleViewService } from 'vscode/vscode/vs/platform/accessibility/browser/accessibleView.service';
|
|
5
|
-
import { AccessibilityVerbositySettingId } from 'vscode/vscode/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
+
import { AccessibleViewType, AccessibleViewProviderId } from '@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/browser/accessibleView';
|
|
4
|
+
import { IAccessibleViewService } from '@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/browser/accessibleView.service';
|
|
5
|
+
import { AccessibilityVerbositySettingId } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration';
|
|
6
6
|
import { getReplView } from './repl.js';
|
|
7
|
-
import { IViewsService } from 'vscode/vscode/vs/workbench/services/views/common/viewsService.service';
|
|
8
|
-
import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
9
|
-
import { Emitter } from 'vscode/vscode/vs/base/common/event';
|
|
10
|
-
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
11
|
-
import { Position } from 'vscode/vscode/vs/editor/common/core/position';
|
|
7
|
+
import { IViewsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/views/common/viewsService.service';
|
|
8
|
+
import { ContextKeyExpr } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
|
|
9
|
+
import { Emitter } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
|
|
10
|
+
import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
11
|
+
import { Position } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/core/position';
|
|
12
12
|
|
|
13
13
|
class ReplAccessibleView {
|
|
14
14
|
constructor() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { FuzzyScore, matchesFuzzy } from "vscode/vscode/vs/base/common/filters";
|
|
2
|
-
import { ITreeFilter, TreeVisibility, TreeFilterResult } from "vscode/vscode/vs/base/browser/ui/tree/tree";
|
|
3
|
-
import { IReplElement } from "vscode/vscode/vs/workbench/contrib/debug/common/debug";
|
|
1
|
+
import { FuzzyScore, matchesFuzzy } from "@codingame/monaco-vscode-api/vscode/vs/base/common/filters";
|
|
2
|
+
import { ITreeFilter, TreeVisibility, TreeFilterResult } from "@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/tree/tree";
|
|
3
|
+
import { IReplElement } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug";
|
|
4
4
|
export declare class ReplFilter implements ITreeFilter<IReplElement, FuzzyScore> {
|
|
5
5
|
static matchQuery: typeof matchesFuzzy;
|
|
6
6
|
private _parsedQueries;
|