@codingame/monaco-vscode-markers-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 +1 -1
- package/package.json +8 -10
- package/vscode/src/vs/workbench/contrib/markers/browser/markers.contribution.js +67 -67
- package/vscode/src/vs/workbench/contrib/markers/browser/markers.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/markers/browser/markersFileDecorations.js +25 -25
- package/vscode/src/vs/workbench/contrib/markers/browser/markersFilterOptions.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/markers/browser/markersFilterOptions.js +5 -5
- package/vscode/src/vs/workbench/contrib/markers/browser/markersModel.d.ts +5 -5
- package/vscode/src/vs/workbench/contrib/markers/browser/markersModel.js +9 -9
- package/vscode/src/vs/workbench/contrib/markers/browser/markersTable.d.ts +7 -7
- package/vscode/src/vs/workbench/contrib/markers/browser/markersTable.js +24 -24
- package/vscode/src/vs/workbench/contrib/markers/browser/markersTreeViewer.d.ts +17 -17
- package/vscode/src/vs/workbench/contrib/markers/browser/markersTreeViewer.js +43 -43
- package/vscode/src/vs/workbench/contrib/markers/browser/markersView.d.ts +19 -19
- package/vscode/src/vs/workbench/contrib/markers/browser/markersView.js +43 -43
- package/vscode/src/vs/workbench/contrib/markers/browser/markersViewActions.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/markers/browser/markersViewActions.d.ts +7 -7
- package/vscode/src/vs/workbench/contrib/markers/browser/markersViewActions.js +9 -9
- package/vscode/src/vs/workbench/contrib/markers/browser/media/markers.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/markers/browser/messages.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/markers/browser/messages.js +50 -50
package/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type IEditorOverrideServices } from "vscode/vscode/vs/editor/standalone/browser/standaloneServices";
|
|
1
|
+
import { type IEditorOverrideServices } from "@codingame/monaco-vscode-api/vscode/vs/editor/standalone/browser/standaloneServices";
|
|
2
2
|
export default function getServiceOverride(): IEditorOverrideServices;
|
package/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import 'vscode/vscode/vs/editor/standalone/browser/standaloneServices';
|
|
2
|
+
import '@codingame/monaco-vscode-api/vscode/vs/editor/standalone/browser/standaloneServices';
|
|
3
3
|
import './vscode/src/vs/workbench/contrib/markers/browser/markers.contribution.js';
|
|
4
4
|
|
|
5
5
|
function getServiceOverride() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-markers-service-override",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "13.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - markers service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,16 +15,14 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-2448342b-297f-5823-9f41-f18eef0f6ee8-common": "
|
|
19
|
-
"@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common": "
|
|
20
|
-
"@codingame/monaco-vscode-9e888134-1a6f-58d9-b0e6-0fc047448366-common": "
|
|
21
|
-
"@codingame/monaco-vscode-a7c9ae3c-16d2-5d17-86b2-981be7094566-common": "
|
|
22
|
-
"@codingame/monaco-vscode-
|
|
23
|
-
"@codingame/monaco-vscode-
|
|
24
|
-
"
|
|
18
|
+
"@codingame/monaco-vscode-2448342b-297f-5823-9f41-f18eef0f6ee8-common": "13.1.0",
|
|
19
|
+
"@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common": "13.1.0",
|
|
20
|
+
"@codingame/monaco-vscode-9e888134-1a6f-58d9-b0e6-0fc047448366-common": "13.1.0",
|
|
21
|
+
"@codingame/monaco-vscode-a7c9ae3c-16d2-5d17-86b2-981be7094566-common": "13.1.0",
|
|
22
|
+
"@codingame/monaco-vscode-api": "13.1.0",
|
|
23
|
+
"@codingame/monaco-vscode-b4efa70b-52b9-5670-ab5c-f10b10b6834e-common": "13.1.0",
|
|
24
|
+
"@codingame/monaco-vscode-e7080bda-ce3e-5243-9a35-98cd9634dbda-common": "13.1.0"
|
|
25
25
|
},
|
|
26
|
-
"peerDependencies": {},
|
|
27
|
-
"peerDependenciesMeta": {},
|
|
28
26
|
"main": "index.js",
|
|
29
27
|
"module": "index.js",
|
|
30
28
|
"types": "index.d.ts",
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
3
|
import './markersFileDecorations.js';
|
|
4
|
-
import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
5
|
-
import { Extensions } from 'vscode/vscode/vs/platform/configuration/common/configurationRegistry';
|
|
6
|
-
import { Categories } from 'vscode/vscode/vs/platform/action/common/actionCommonCategories';
|
|
7
|
-
import { KeybindingsRegistry, KeybindingWeight } from 'vscode/vscode/vs/platform/keybinding/common/keybindingsRegistry';
|
|
8
|
-
import { KeyCode, KeyMod } from 'vscode/vscode/vs/base/common/keyCodes';
|
|
9
|
-
import { localize, localize2 } from 'vscode/vscode/vs/nls';
|
|
4
|
+
import { ContextKeyExpr } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
|
|
5
|
+
import { Extensions } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configurationRegistry';
|
|
6
|
+
import { Categories } from '@codingame/monaco-vscode-api/vscode/vs/platform/action/common/actionCommonCategories';
|
|
7
|
+
import { KeybindingsRegistry, KeybindingWeight } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybindingsRegistry';
|
|
8
|
+
import { KeyCode, KeyMod } from '@codingame/monaco-vscode-api/vscode/vs/base/common/keyCodes';
|
|
9
|
+
import { localize, localize2 } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
10
10
|
import { Marker, ResourceMarkers, RelatedInformation } from './markersModel.js';
|
|
11
11
|
import { MarkersView } from './markersView.js';
|
|
12
|
-
import { registerAction2, MenuId, Action2 } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
13
|
-
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
12
|
+
import { registerAction2, MenuId, Action2 } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
13
|
+
import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
|
|
14
14
|
import { Markers, MarkersContextKeys, MarkersViewMode } from '@codingame/monaco-vscode-2448342b-297f-5823-9f41-f18eef0f6ee8-common/vscode/vs/workbench/contrib/markers/common/markers';
|
|
15
15
|
import Messages from './messages.js';
|
|
16
|
-
import { Extensions as Extensions$2 } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
17
|
-
import { LifecyclePhase } from 'vscode/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
18
|
-
import { IClipboardService } from 'vscode/vscode/vs/platform/clipboard/common/clipboardService.service';
|
|
19
|
-
import { Disposable, MutableDisposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
20
|
-
import { StatusbarAlignment } from 'vscode/vscode/vs/workbench/services/statusbar/browser/statusbar';
|
|
21
|
-
import { IStatusbarService } from 'vscode/vscode/vs/workbench/services/statusbar/browser/statusbar.service';
|
|
22
|
-
import { IMarkerService } from 'vscode/vscode/vs/platform/markers/common/markers.service';
|
|
23
|
-
import { Extensions as Extensions$1, ViewContainerLocation } from 'vscode/vscode/vs/workbench/common/views';
|
|
24
|
-
import { IViewsService } from 'vscode/vscode/vs/workbench/services/views/common/viewsService.service';
|
|
25
|
-
import { FocusedViewContext, getVisbileViewContextKey } from 'vscode/vscode/vs/workbench/common/contextkeys';
|
|
16
|
+
import { Extensions as Extensions$2 } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
|
|
17
|
+
import { LifecyclePhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
18
|
+
import { IClipboardService } from '@codingame/monaco-vscode-api/vscode/vs/platform/clipboard/common/clipboardService.service';
|
|
19
|
+
import { Disposable, MutableDisposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
20
|
+
import { StatusbarAlignment } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/statusbar/browser/statusbar';
|
|
21
|
+
import { IStatusbarService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/statusbar/browser/statusbar.service';
|
|
22
|
+
import { IMarkerService } from '@codingame/monaco-vscode-api/vscode/vs/platform/markers/common/markers.service';
|
|
23
|
+
import { Extensions as Extensions$1, ViewContainerLocation } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/views';
|
|
24
|
+
import { IViewsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/views/common/viewsService.service';
|
|
25
|
+
import { FocusedViewContext, getVisbileViewContextKey } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contextkeys';
|
|
26
26
|
import { ViewPaneContainer } from '@codingame/monaco-vscode-9e888134-1a6f-58d9-b0e6-0fc047448366-common/vscode/vs/workbench/browser/parts/views/viewPaneContainer';
|
|
27
|
-
import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
|
|
28
|
-
import { Codicon } from 'vscode/vscode/vs/base/common/codicons';
|
|
29
|
-
import { registerIcon } from 'vscode/vscode/vs/platform/theme/common/iconRegistry';
|
|
27
|
+
import { SyncDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/descriptors';
|
|
28
|
+
import { Codicon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/codicons';
|
|
29
|
+
import { registerIcon } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/iconRegistry';
|
|
30
30
|
import { ViewAction } from '@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common/vscode/vs/workbench/browser/parts/views/viewPane';
|
|
31
31
|
import { NumberBadge } from '@codingame/monaco-vscode-a7c9ae3c-16d2-5d17-86b2-981be7094566-common/vscode/vs/workbench/services/activity/common/activity';
|
|
32
|
-
import { IActivityService } from 'vscode/vscode/vs/workbench/services/activity/common/activity.service';
|
|
32
|
+
import { IActivityService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/activity/common/activity.service';
|
|
33
33
|
import { viewFilterSubmenu } from '@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common/vscode/vs/workbench/browser/parts/views/viewFilter';
|
|
34
|
-
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
35
|
-
import { problemsConfigurationNodeBase } from 'vscode/vscode/vs/workbench/common/configuration';
|
|
34
|
+
import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
35
|
+
import { problemsConfigurationNodeBase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/configuration';
|
|
36
36
|
|
|
37
37
|
KeybindingsRegistry.registerCommandAndKeybindingRule({
|
|
38
38
|
id: Markers.MARKER_OPEN_ACTION_ID,
|
|
@@ -114,7 +114,7 @@ KeybindingsRegistry.registerCommandAndKeybindingRule({
|
|
|
114
114
|
},
|
|
115
115
|
}
|
|
116
116
|
});
|
|
117
|
-
const markersViewIcon = registerIcon('markers-view-icon', Codicon.warning, ( localize(
|
|
117
|
+
const markersViewIcon = registerIcon('markers-view-icon', Codicon.warning, ( localize(7062, 'View icon of the markers view.')));
|
|
118
118
|
const VIEW_CONTAINER = ( Registry.as(Extensions$1.ViewContainersRegistry)).registerViewContainer({
|
|
119
119
|
id: Markers.MARKERS_CONTAINER_ID,
|
|
120
120
|
title: Messages.MARKERS_PANEL_TITLE_PROBLEMS,
|
|
@@ -136,7 +136,7 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$1.ViewContainersRegistry)).regis
|
|
|
136
136
|
ctorDescriptor: ( new SyncDescriptor(MarkersView)),
|
|
137
137
|
openCommandActionDescriptor: {
|
|
138
138
|
id: 'workbench.actions.view.problems',
|
|
139
|
-
mnemonicTitle: ( localize(
|
|
139
|
+
mnemonicTitle: ( localize(7063, "&&Problems")),
|
|
140
140
|
keybindings: { primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyM },
|
|
141
141
|
order: 0,
|
|
142
142
|
}
|
|
@@ -146,9 +146,9 @@ registerAction2(class extends ViewAction {
|
|
|
146
146
|
constructor() {
|
|
147
147
|
super({
|
|
148
148
|
id: `workbench.actions.table.${Markers.MARKERS_VIEW_ID}.viewAsTree`,
|
|
149
|
-
title: ( localize(
|
|
149
|
+
title: ( localize(7064, "View as Tree")),
|
|
150
150
|
metadata: {
|
|
151
|
-
description: ( localize2(
|
|
151
|
+
description: ( localize2(7065, "Show the problems view as a tree."))
|
|
152
152
|
},
|
|
153
153
|
menu: {
|
|
154
154
|
id: MenuId.ViewTitle,
|
|
@@ -168,9 +168,9 @@ registerAction2(class extends ViewAction {
|
|
|
168
168
|
constructor() {
|
|
169
169
|
super({
|
|
170
170
|
id: `workbench.actions.table.${Markers.MARKERS_VIEW_ID}.viewAsTable`,
|
|
171
|
-
title: ( localize(
|
|
171
|
+
title: ( localize(7066, "View as Table")),
|
|
172
172
|
metadata: {
|
|
173
|
-
description: ( localize2(
|
|
173
|
+
description: ( localize2(7067, "Show the problems view as a table."))
|
|
174
174
|
},
|
|
175
175
|
menu: {
|
|
176
176
|
id: MenuId.ViewTitle,
|
|
@@ -190,11 +190,11 @@ registerAction2(class extends ViewAction {
|
|
|
190
190
|
constructor() {
|
|
191
191
|
super({
|
|
192
192
|
id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleErrors`,
|
|
193
|
-
title: ( localize(
|
|
193
|
+
title: ( localize(7068, "Show Errors")),
|
|
194
194
|
metadata: {
|
|
195
|
-
description: ( localize2(
|
|
195
|
+
description: ( localize2(7069, "Show or hide errors in the problems view."))
|
|
196
196
|
},
|
|
197
|
-
category: ( localize(
|
|
197
|
+
category: ( localize(7070, "Problems")),
|
|
198
198
|
toggled: MarkersContextKeys.ShowErrorsFilterContextKey,
|
|
199
199
|
menu: {
|
|
200
200
|
id: viewFilterSubmenu,
|
|
@@ -213,11 +213,11 @@ registerAction2(class extends ViewAction {
|
|
|
213
213
|
constructor() {
|
|
214
214
|
super({
|
|
215
215
|
id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleWarnings`,
|
|
216
|
-
title: ( localize(
|
|
216
|
+
title: ( localize(7071, "Show Warnings")),
|
|
217
217
|
metadata: {
|
|
218
|
-
description: ( localize2(
|
|
218
|
+
description: ( localize2(7072, "Show or hide warnings in the problems view."))
|
|
219
219
|
},
|
|
220
|
-
category: ( localize(
|
|
220
|
+
category: ( localize(7070, "Problems")),
|
|
221
221
|
toggled: MarkersContextKeys.ShowWarningsFilterContextKey,
|
|
222
222
|
menu: {
|
|
223
223
|
id: viewFilterSubmenu,
|
|
@@ -236,11 +236,11 @@ registerAction2(class extends ViewAction {
|
|
|
236
236
|
constructor() {
|
|
237
237
|
super({
|
|
238
238
|
id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleInfos`,
|
|
239
|
-
title: ( localize(
|
|
240
|
-
category: ( localize(
|
|
239
|
+
title: ( localize(7073, "Show Infos")),
|
|
240
|
+
category: ( localize(7070, "Problems")),
|
|
241
241
|
toggled: MarkersContextKeys.ShowInfoFilterContextKey,
|
|
242
242
|
metadata: {
|
|
243
|
-
description: ( localize2(
|
|
243
|
+
description: ( localize2(7074, "Show or hide infos in the problems view."))
|
|
244
244
|
},
|
|
245
245
|
menu: {
|
|
246
246
|
id: viewFilterSubmenu,
|
|
@@ -259,14 +259,14 @@ registerAction2(class extends ViewAction {
|
|
|
259
259
|
constructor() {
|
|
260
260
|
super({
|
|
261
261
|
id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleActiveFile`,
|
|
262
|
-
title: ( localize(
|
|
262
|
+
title: ( localize(7075, "Show Active File Only")),
|
|
263
263
|
metadata: {
|
|
264
264
|
description: ( localize2(
|
|
265
|
-
|
|
265
|
+
7076,
|
|
266
266
|
"Show or hide problems (errors, warnings, info) only from the active file in the problems view."
|
|
267
267
|
))
|
|
268
268
|
},
|
|
269
|
-
category: ( localize(
|
|
269
|
+
category: ( localize(7070, "Problems")),
|
|
270
270
|
toggled: MarkersContextKeys.ShowActiveFileFilterContextKey,
|
|
271
271
|
menu: {
|
|
272
272
|
id: viewFilterSubmenu,
|
|
@@ -285,11 +285,11 @@ registerAction2(class extends ViewAction {
|
|
|
285
285
|
constructor() {
|
|
286
286
|
super({
|
|
287
287
|
id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleExcludedFiles`,
|
|
288
|
-
title: ( localize(
|
|
288
|
+
title: ( localize(7077, "Show Excluded Files")),
|
|
289
289
|
metadata: {
|
|
290
|
-
description: ( localize2(
|
|
290
|
+
description: ( localize2(7078, "Show or hide excluded files in the problems view."))
|
|
291
291
|
},
|
|
292
|
-
category: ( localize(
|
|
292
|
+
category: ( localize(7070, "Problems")),
|
|
293
293
|
toggled: ( MarkersContextKeys.ShowExcludedFilesFilterContextKey.negate()),
|
|
294
294
|
menu: {
|
|
295
295
|
id: viewFilterSubmenu,
|
|
@@ -322,7 +322,7 @@ registerAction2(class extends ViewAction {
|
|
|
322
322
|
const when = ( ContextKeyExpr.and(( FocusedViewContext.isEqualTo(Markers.MARKERS_VIEW_ID)), MarkersContextKeys.MarkersTreeVisibilityContextKey, ( MarkersContextKeys.RelatedInformationFocusContextKey.toNegated())));
|
|
323
323
|
super({
|
|
324
324
|
id: Markers.MARKER_COPY_ACTION_ID,
|
|
325
|
-
title: ( localize2(
|
|
325
|
+
title: ( localize2(7079, 'Copy')),
|
|
326
326
|
menu: {
|
|
327
327
|
id: MenuId.ProblemsPanelContext,
|
|
328
328
|
when,
|
|
@@ -362,7 +362,7 @@ registerAction2(class extends ViewAction {
|
|
|
362
362
|
constructor() {
|
|
363
363
|
super({
|
|
364
364
|
id: Markers.MARKER_COPY_MESSAGE_ACTION_ID,
|
|
365
|
-
title: ( localize2(
|
|
365
|
+
title: ( localize2(7080, 'Copy Message')),
|
|
366
366
|
menu: {
|
|
367
367
|
id: MenuId.ProblemsPanelContext,
|
|
368
368
|
when: MarkersContextKeys.MarkerFocusContextKey,
|
|
@@ -383,7 +383,7 @@ registerAction2(class extends ViewAction {
|
|
|
383
383
|
constructor() {
|
|
384
384
|
super({
|
|
385
385
|
id: Markers.RELATED_INFORMATION_COPY_MESSAGE_ACTION_ID,
|
|
386
|
-
title: ( localize2(
|
|
386
|
+
title: ( localize2(7080, 'Copy Message')),
|
|
387
387
|
menu: {
|
|
388
388
|
id: MenuId.ProblemsPanelContext,
|
|
389
389
|
when: MarkersContextKeys.RelatedInformationFocusContextKey,
|
|
@@ -404,7 +404,7 @@ registerAction2(class extends ViewAction {
|
|
|
404
404
|
constructor() {
|
|
405
405
|
super({
|
|
406
406
|
id: Markers.FOCUS_PROBLEMS_FROM_FILTER,
|
|
407
|
-
title: ( localize(
|
|
407
|
+
title: ( localize(7081, "Focus problems view")),
|
|
408
408
|
keybinding: {
|
|
409
409
|
when: MarkersContextKeys.MarkerViewFilterFocusContextKey,
|
|
410
410
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -421,7 +421,7 @@ registerAction2(class extends ViewAction {
|
|
|
421
421
|
constructor() {
|
|
422
422
|
super({
|
|
423
423
|
id: Markers.MARKERS_VIEW_FOCUS_FILTER,
|
|
424
|
-
title: ( localize(
|
|
424
|
+
title: ( localize(7082, "Focus problems filter")),
|
|
425
425
|
keybinding: {
|
|
426
426
|
when: ( FocusedViewContext.isEqualTo(Markers.MARKERS_VIEW_ID)),
|
|
427
427
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -438,8 +438,8 @@ registerAction2(class extends ViewAction {
|
|
|
438
438
|
constructor() {
|
|
439
439
|
super({
|
|
440
440
|
id: Markers.MARKERS_VIEW_SHOW_MULTILINE_MESSAGE,
|
|
441
|
-
title: ( localize2(
|
|
442
|
-
category: ( localize(
|
|
441
|
+
title: ( localize2(7083, "Show message in multiple lines")),
|
|
442
|
+
category: ( localize(7070, "Problems")),
|
|
443
443
|
menu: {
|
|
444
444
|
id: MenuId.CommandPalette,
|
|
445
445
|
when: ( ContextKeyExpr.has(getVisbileViewContextKey(Markers.MARKERS_VIEW_ID)))
|
|
@@ -455,8 +455,8 @@ registerAction2(class extends ViewAction {
|
|
|
455
455
|
constructor() {
|
|
456
456
|
super({
|
|
457
457
|
id: Markers.MARKERS_VIEW_SHOW_SINGLELINE_MESSAGE,
|
|
458
|
-
title: ( localize2(
|
|
459
|
-
category: ( localize(
|
|
458
|
+
title: ( localize2(7084, "Show message in single line")),
|
|
459
|
+
category: ( localize(7070, "Problems")),
|
|
460
460
|
menu: {
|
|
461
461
|
id: MenuId.CommandPalette,
|
|
462
462
|
when: ( ContextKeyExpr.has(getVisbileViewContextKey(Markers.MARKERS_VIEW_ID)))
|
|
@@ -472,8 +472,8 @@ registerAction2(class extends ViewAction {
|
|
|
472
472
|
constructor() {
|
|
473
473
|
super({
|
|
474
474
|
id: Markers.MARKERS_VIEW_CLEAR_FILTER_TEXT,
|
|
475
|
-
title: ( localize(
|
|
476
|
-
category: ( localize(
|
|
475
|
+
title: ( localize(7085, "Clear filters text")),
|
|
476
|
+
category: ( localize(7070, "Problems")),
|
|
477
477
|
keybinding: {
|
|
478
478
|
when: MarkersContextKeys.MarkerViewFilterFocusContextKey,
|
|
479
479
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -490,7 +490,7 @@ registerAction2(class extends ViewAction {
|
|
|
490
490
|
constructor() {
|
|
491
491
|
super({
|
|
492
492
|
id: `workbench.actions.treeView.${Markers.MARKERS_VIEW_ID}.collapseAll`,
|
|
493
|
-
title: ( localize(
|
|
493
|
+
title: ( localize(7086, "Collapse All")),
|
|
494
494
|
menu: {
|
|
495
495
|
id: MenuId.ViewTitle,
|
|
496
496
|
when: ( ContextKeyExpr.and(( ContextKeyExpr.equals('view', Markers.MARKERS_VIEW_ID)), ( MarkersContextKeys.MarkersViewModeContextKey.isEqualTo(MarkersViewMode.Tree)))),
|
|
@@ -557,7 +557,7 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
|
|
|
557
557
|
const markersStatistics = this.markerService.getStatistics();
|
|
558
558
|
const tooltip = this.getMarkersTooltip(markersStatistics);
|
|
559
559
|
return {
|
|
560
|
-
name: ( localize(
|
|
560
|
+
name: ( localize(7087, "Problems")),
|
|
561
561
|
text: this.getMarkersText(markersStatistics),
|
|
562
562
|
ariaLabel: tooltip,
|
|
563
563
|
tooltip,
|
|
@@ -568,9 +568,9 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
|
|
|
568
568
|
this.statusbarService.updateEntryVisibility('status.problemsVisibility', true);
|
|
569
569
|
const openSettingsCommand = 'workbench.action.openSettings';
|
|
570
570
|
const configureSettingsLabel = '@id:problems.visibility';
|
|
571
|
-
const tooltip = ( localize(
|
|
571
|
+
const tooltip = ( localize(7088, "Problems are turned off. Click to open settings."));
|
|
572
572
|
return {
|
|
573
|
-
name: ( localize(
|
|
573
|
+
name: ( localize(7089, "Problems Visibility")),
|
|
574
574
|
text: '$(whole-word)',
|
|
575
575
|
ariaLabel: tooltip,
|
|
576
576
|
tooltip,
|
|
@@ -579,9 +579,9 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
|
|
|
579
579
|
};
|
|
580
580
|
}
|
|
581
581
|
getMarkersTooltip(stats) {
|
|
582
|
-
const errorTitle = (n) => ( localize(
|
|
583
|
-
const warningTitle = (n) => ( localize(
|
|
584
|
-
const infoTitle = (n) => ( localize(
|
|
582
|
+
const errorTitle = (n) => ( localize(7090, "Errors: {0}", n));
|
|
583
|
+
const warningTitle = (n) => ( localize(7091, "Warnings: {0}", n));
|
|
584
|
+
const infoTitle = (n) => ( localize(7092, "Infos: {0}", n));
|
|
585
585
|
const titles = [];
|
|
586
586
|
if (stats.errors > 0) {
|
|
587
587
|
titles.push(errorTitle(stats.errors));
|
|
@@ -593,7 +593,7 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
|
|
|
593
593
|
titles.push(infoTitle(stats.infos));
|
|
594
594
|
}
|
|
595
595
|
if (titles.length === 0) {
|
|
596
|
-
return localize(
|
|
596
|
+
return localize(7093, "No Problems");
|
|
597
597
|
}
|
|
598
598
|
return titles.join(', ');
|
|
599
599
|
}
|
|
@@ -607,7 +607,7 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
|
|
|
607
607
|
return problemsText.join(' ');
|
|
608
608
|
}
|
|
609
609
|
packNumber(n) {
|
|
610
|
-
const manyProblems = ( localize(
|
|
610
|
+
const manyProblems = ( localize(7094, "10K+"));
|
|
611
611
|
return n > 9999 ? manyProblems : n > 999 ? ( n.toString()).charAt(0) + 'K' : ( n.toString());
|
|
612
612
|
}
|
|
613
613
|
};
|
|
@@ -630,7 +630,7 @@ let ActivityUpdater = class ActivityUpdater extends Disposable {
|
|
|
630
630
|
const { errors, warnings, infos } = this.markerService.getStatistics();
|
|
631
631
|
const total = errors + warnings + infos;
|
|
632
632
|
if (total > 0) {
|
|
633
|
-
const message = ( localize(
|
|
633
|
+
const message = ( localize(7095, 'Total {0} Problems', total));
|
|
634
634
|
this.activity.value = this.activityService.showViewActivity(Markers.MARKERS_VIEW_ID, { badge: ( new NumberBadge(total, () => message)) });
|
|
635
635
|
}
|
|
636
636
|
else {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MarkersFilters } from "./markersViewActions.js";
|
|
2
|
-
import { IView } from "vscode/vscode/vs/workbench/common/views";
|
|
2
|
+
import { IView } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/views";
|
|
3
3
|
import { MarkerElement, ResourceMarkers } from "./markersModel.js";
|
|
4
4
|
import { MarkersViewMode } from "@codingame/monaco-vscode-2448342b-297f-5823-9f41-f18eef0f6ee8-common/vscode/vs/workbench/contrib/markers/common/markers";
|
|
5
5
|
export interface IMarkersView extends IView {
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
3
|
-
import { Extensions as Extensions$1 } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
4
|
-
import { MarkerSeverity } from 'vscode/vscode/vs/platform/markers/common/markers';
|
|
5
|
-
import { IMarkerService } from 'vscode/vscode/vs/platform/markers/common/markers.service';
|
|
6
|
-
import { IDecorationsService } from 'vscode/vscode/vs/workbench/services/decorations/common/decorations.service';
|
|
7
|
-
import { dispose } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
8
|
-
import { localize } from 'vscode/vscode/vs/nls';
|
|
9
|
-
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
10
|
-
import 'vscode/vscode/vs/platform/theme/common/colorUtils';
|
|
11
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/baseColors';
|
|
12
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/chartsColors';
|
|
13
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/editorColors';
|
|
14
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/inputColors';
|
|
15
|
-
import { listErrorForeground, listWarningForeground } from 'vscode/vscode/vs/platform/theme/common/colors/listColors';
|
|
16
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/menuColors';
|
|
17
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/minimapColors';
|
|
18
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/miscColors';
|
|
19
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/quickpickColors';
|
|
20
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/searchColors';
|
|
21
|
-
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
22
|
-
import { Extensions } from 'vscode/vscode/vs/platform/configuration/common/configurationRegistry';
|
|
23
|
-
import { LifecyclePhase } from 'vscode/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
+
import { Extensions as Extensions$1 } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
|
|
4
|
+
import { MarkerSeverity } from '@codingame/monaco-vscode-api/vscode/vs/platform/markers/common/markers';
|
|
5
|
+
import { IMarkerService } from '@codingame/monaco-vscode-api/vscode/vs/platform/markers/common/markers.service';
|
|
6
|
+
import { IDecorationsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/decorations/common/decorations.service';
|
|
7
|
+
import { dispose } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
8
|
+
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
9
|
+
import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
|
|
10
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colorUtils';
|
|
11
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/baseColors';
|
|
12
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/chartsColors';
|
|
13
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/editorColors';
|
|
14
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/inputColors';
|
|
15
|
+
import { listErrorForeground, listWarningForeground } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/listColors';
|
|
16
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/menuColors';
|
|
17
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/minimapColors';
|
|
18
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/miscColors';
|
|
19
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/quickpickColors';
|
|
20
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/searchColors';
|
|
21
|
+
import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
22
|
+
import { Extensions } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configurationRegistry';
|
|
23
|
+
import { LifecyclePhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
24
24
|
|
|
25
25
|
class MarkersDecorationsProvider {
|
|
26
26
|
constructor(_markerService) {
|
|
27
27
|
this._markerService = _markerService;
|
|
28
|
-
this.label = ( localize(
|
|
28
|
+
this.label = ( localize(7096, "Problems"));
|
|
29
29
|
this.onDidChange = _markerService.onMarkerChanged;
|
|
30
30
|
}
|
|
31
31
|
provideDecorations(resource) {
|
|
@@ -45,7 +45,7 @@ class MarkersDecorationsProvider {
|
|
|
45
45
|
return {
|
|
46
46
|
weight: 100 * first.severity,
|
|
47
47
|
bubble: true,
|
|
48
|
-
tooltip: markers.length === 1 ? ( localize(
|
|
48
|
+
tooltip: markers.length === 1 ? ( localize(7097, "1 problem in this file")) : ( localize(7098, "{0} problems in this file", markers.length)),
|
|
49
49
|
letter: markers.length < 10 ? ( markers.length.toString()) : '9+',
|
|
50
50
|
color: first.severity === MarkerSeverity.Error ? listErrorForeground : listWarningForeground,
|
|
51
51
|
};
|
|
@@ -105,7 +105,7 @@ MarkersFileDecorations = ( __decorate([
|
|
|
105
105
|
'properties': {
|
|
106
106
|
'problems.decorations.enabled': {
|
|
107
107
|
'markdownDescription': ( localize(
|
|
108
|
-
|
|
108
|
+
7099,
|
|
109
109
|
"Show Errors & Warnings on files and folder. Overwritten by {0} when it is off.",
|
|
110
110
|
'`#problems.visibility#`'
|
|
111
111
|
)),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { IFilter } from "vscode/vscode/vs/base/common/filters";
|
|
2
|
-
import { IExpression } from "vscode/vscode/vs/base/common/glob";
|
|
3
|
-
import { URI } from "vscode/vscode/vs/base/common/uri";
|
|
4
|
-
import { IUriIdentityService } from "vscode/vscode/vs/platform/uriIdentity/common/uriIdentity.service";
|
|
1
|
+
import { IFilter } from "@codingame/monaco-vscode-api/vscode/vs/base/common/filters";
|
|
2
|
+
import { IExpression } from "@codingame/monaco-vscode-api/vscode/vs/base/common/glob";
|
|
3
|
+
import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
|
|
4
|
+
import { IUriIdentityService } from "@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service";
|
|
5
5
|
export declare class ResourceGlobMatcher {
|
|
6
6
|
private readonly globalExpression;
|
|
7
7
|
private readonly expressionsByRoot;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
import { matchesFuzzy2, matchesFuzzy } from 'vscode/vscode/vs/base/common/filters';
|
|
3
|
-
import { parse, getEmptyExpression, splitGlobAware } from 'vscode/vscode/vs/base/common/glob';
|
|
4
|
-
import { rtrim, ltrim } from 'vscode/vscode/vs/base/common/strings';
|
|
5
|
-
import { relativePath } from 'vscode/vscode/vs/base/common/resources';
|
|
6
|
-
import { TernarySearchTree } from 'vscode/vscode/vs/base/common/ternarySearchTree';
|
|
2
|
+
import { matchesFuzzy2, matchesFuzzy } from '@codingame/monaco-vscode-api/vscode/vs/base/common/filters';
|
|
3
|
+
import { parse, getEmptyExpression, splitGlobAware } from '@codingame/monaco-vscode-api/vscode/vs/base/common/glob';
|
|
4
|
+
import { rtrim, ltrim } from '@codingame/monaco-vscode-api/vscode/vs/base/common/strings';
|
|
5
|
+
import { relativePath } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
|
|
6
|
+
import { TernarySearchTree } from '@codingame/monaco-vscode-api/vscode/vs/base/common/ternarySearchTree';
|
|
7
7
|
|
|
8
8
|
class ResourceGlobMatcher {
|
|
9
9
|
constructor(globalExpression, rootExpressions, uriIdentityService) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Event } from "vscode/vscode/vs/base/common/event";
|
|
2
|
-
import { IMatch } from "vscode/vscode/vs/base/common/filters";
|
|
3
|
-
import { URI } from "vscode/vscode/vs/base/common/uri";
|
|
4
|
-
import { IRange } from "vscode/vscode/vs/editor/common/core/range";
|
|
5
|
-
import { IMarker, IRelatedInformation } from "vscode/vscode/vs/platform/markers/common/markers";
|
|
1
|
+
import { Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event";
|
|
2
|
+
import { IMatch } from "@codingame/monaco-vscode-api/vscode/vs/base/common/filters";
|
|
3
|
+
import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
|
|
4
|
+
import { IRange } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/core/range";
|
|
5
|
+
import { IMarker, IRelatedInformation } from "@codingame/monaco-vscode-api/vscode/vs/platform/markers/common/markers";
|
|
6
6
|
export type MarkerElement = ResourceMarkers | Marker | RelatedInformation;
|
|
7
7
|
export declare function compareMarkersByUri(a: IMarker, b: IMarker): number;
|
|
8
8
|
export declare class ResourceMarkers {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
|
|
2
|
-
import { isNonEmptyArray } from 'vscode/vscode/vs/base/common/arrays';
|
|
3
|
-
import { Emitter } from 'vscode/vscode/vs/base/common/event';
|
|
4
|
-
import { hash } from 'vscode/vscode/vs/base/common/hash';
|
|
5
|
-
import { ResourceMap } from 'vscode/vscode/vs/base/common/map';
|
|
6
|
-
import { extUri, basename } from 'vscode/vscode/vs/base/common/resources';
|
|
7
|
-
import { splitLines } from 'vscode/vscode/vs/base/common/strings';
|
|
8
|
-
import { Range } from 'vscode/vscode/vs/editor/common/core/range';
|
|
9
|
-
import { MarkerSeverity, IMarkerData } from 'vscode/vscode/vs/platform/markers/common/markers';
|
|
10
|
-
import { unsupportedSchemas } from 'vscode/vscode/vs/platform/markers/common/markerService';
|
|
2
|
+
import { isNonEmptyArray } from '@codingame/monaco-vscode-api/vscode/vs/base/common/arrays';
|
|
3
|
+
import { Emitter } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
|
|
4
|
+
import { hash } from '@codingame/monaco-vscode-api/vscode/vs/base/common/hash';
|
|
5
|
+
import { ResourceMap } from '@codingame/monaco-vscode-api/vscode/vs/base/common/map';
|
|
6
|
+
import { extUri, basename } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
|
|
7
|
+
import { splitLines } from '@codingame/monaco-vscode-api/vscode/vs/base/common/strings';
|
|
8
|
+
import { Range } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/core/range';
|
|
9
|
+
import { MarkerSeverity, IMarkerData } from '@codingame/monaco-vscode-api/vscode/vs/platform/markers/common/markers';
|
|
10
|
+
import { unsupportedSchemas } from '@codingame/monaco-vscode-api/vscode/vs/platform/markers/common/markerService';
|
|
11
11
|
|
|
12
12
|
function compareMarkersByUri(a, b) {
|
|
13
13
|
return extUri.compare(a.resource, b.resource);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Event } from "vscode/vscode/vs/base/common/event";
|
|
2
|
-
import { ITableContextMenuEvent, ITableEvent } from "vscode/vscode/vs/base/browser/ui/table/table";
|
|
3
|
-
import { Disposable } from "vscode/vscode/vs/base/common/lifecycle";
|
|
4
|
-
import { IInstantiationService } from "vscode/vscode/vs/platform/instantiation/common/instantiation";
|
|
5
|
-
import { IOpenEvent, IWorkbenchTableOptions } from "vscode/vscode/vs/platform/list/browser/listService";
|
|
1
|
+
import { Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event";
|
|
2
|
+
import { ITableContextMenuEvent, ITableEvent } from "@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/table/table";
|
|
3
|
+
import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
4
|
+
import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
|
|
5
|
+
import { IOpenEvent, IWorkbenchTableOptions } from "@codingame/monaco-vscode-api/vscode/vs/platform/list/browser/listService";
|
|
6
6
|
import { Marker, MarkerTableItem, ResourceMarkers } from "./markersModel.js";
|
|
7
|
-
import { ILabelService } from "vscode/vscode/vs/platform/label/common/label.service";
|
|
7
|
+
import { ILabelService } from "@codingame/monaco-vscode-api/vscode/vs/platform/label/common/label.service";
|
|
8
8
|
import { FilterOptions } from "./markersFilterOptions.js";
|
|
9
9
|
import { MarkersViewModel } from "./markersTreeViewer.js";
|
|
10
10
|
import { IProblemsWidget } from "./markersView.js";
|
|
11
|
-
import { IContextKeyService } from "vscode/vscode/vs/platform/contextkey/common/contextkey.service";
|
|
11
|
+
import { IContextKeyService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service";
|
|
12
12
|
export declare class MarkersTable extends Disposable implements IProblemsWidget {
|
|
13
13
|
private readonly container;
|
|
14
14
|
private readonly markersViewModel;
|