@codingame/monaco-vscode-api 4.2.1 → 4.3.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/README.md
CHANGED
|
@@ -162,15 +162,15 @@ Additionally, several packages that include the VSCode version of some services
|
|
|
162
162
|
- **Preferences**: `@codingame/monaco-vscode-preferences-service-override`
|
|
163
163
|
- Allow to read and write preferences
|
|
164
164
|
- **Output**: `@codingame/monaco-vscode-output-service-override`
|
|
165
|
-
- Output panel support. *Hint*: It only makes sense to enable it when *Views* service
|
|
165
|
+
- Output panel support. *Hint*: It only makes sense to enable it when *Views* or *Workbench* service are used.
|
|
166
166
|
- **Terminal**: `@codingame/monaco-vscode-terminal-service-override`
|
|
167
|
-
- Terminal panel support. *Hint*: It only makes sense to enable it when *Views* service
|
|
167
|
+
- Terminal panel support. *Hint*: It only makes sense to enable it when *Views* or *Workbench* service are used.
|
|
168
168
|
- **Search**: `@codingame/monaco-vscode-search-service-override`
|
|
169
|
-
- search panel support. *Hint*: It only makes sense to enable it when *Views* service
|
|
169
|
+
- search panel support. *Hint*: It only makes sense to enable it when *Views* or *Workbench* service are used.
|
|
170
170
|
- **Markers**: `@codingame/monaco-vscode-markers-service-override`
|
|
171
|
-
- It adds the problems panel tab. *Hint*: It only makes sense to enable it when *Views* service
|
|
171
|
+
- It adds the problems panel tab. *Hint*: It only makes sense to enable it when *Views* or *Workbench* service are used.
|
|
172
172
|
- **SCM**: `@codingame/monaco-vscode-scm-service-override`
|
|
173
|
-
- It adds the SCM API that can be used to implement source control. *Hint*: It only makes sense to enable it when *Views* service
|
|
173
|
+
- It adds the SCM API that can be used to implement source control. *Hint*: It only makes sense to enable it when *Views* or *Workbench* service are used.
|
|
174
174
|
- **Testing**: `@codingame/monaco-vscode-testing-service-override`
|
|
175
175
|
- It adds the Tests API. *Hint*: It makes more sense to enable it when *Views* service is used.
|
|
176
176
|
- **Language detection worker**: `@codingame/monaco-vscode-language-detection-worker-service-override`
|
|
@@ -201,7 +201,9 @@ Additionally, several packages that include the VSCode version of some services
|
|
|
201
201
|
- **Notebook**: `@codingame/monaco-vscode-notebook-service-override`
|
|
202
202
|
- Support for Jupyter notebooks
|
|
203
203
|
- **Welcome**: `@codingame/monaco-vscode-welcome-service-override`
|
|
204
|
-
- Support for
|
|
204
|
+
- Support for [viewsWelcome contribution point](https://code.visualstudio.com/api/references/contribution-points#contributes.viewsWelcome). *Hint*: It only makes sense to enable it when *Views* or *Workbench* service are used.
|
|
205
|
+
- **Walkthrough**: `@codingame/monaco-vscode-walkthrough-service-override`
|
|
206
|
+
- Getting Started page and support for [walkthrough contribution point](https://code.visualstudio.com/api/references/contribution-points#contributes.walkthroughs). *Hint*: It only makes sense to enable it when *Views* or *Workbench* service are used.
|
|
205
207
|
- **User data sync**: `@codingame/monaco-vscode-user-data-sync-service-override`
|
|
206
208
|
- Support for user data sync. ⚠️ It can't really be used as it relies on a [closed source backend from microsoft](https://code.visualstudio.com/docs/editor/settings-sync#_can-i-use-a-different-backend-or-service-for-settings-sync) for the moment ⚠️
|
|
207
209
|
- **Ai**: `@codingame/monaco-vscode-ai-service-override`
|
|
@@ -209,9 +211,9 @@ Additionally, several packages that include the VSCode version of some services
|
|
|
209
211
|
- **Task**: `@codingame/monaco-vscode-task-service-override`
|
|
210
212
|
- Task management
|
|
211
213
|
- **Outline**: `@codingame/monaco-vscode-outline-service-override`
|
|
212
|
-
- Support for the outline view. *Hint*: It only makes sense to enable it when *Views* service
|
|
214
|
+
- Support for the outline view. *Hint*: It only makes sense to enable it when *Views* or *Workbench* service are used.
|
|
213
215
|
- **Timeline**: `@codingame/monaco-vscode-timeline-service-override`
|
|
214
|
-
- Support for the timeline view. *Hint*: It only makes sense to enable it when *Views* service
|
|
216
|
+
- Support for the timeline view. *Hint*: It only makes sense to enable it when *Views* or *Workbench* service are used.
|
|
215
217
|
- **Workbench**: `@codingame/monaco-vscode-workbench-service-override`
|
|
216
218
|
- Allows to render the full workbench layout. Is exclusive with the `views` service. Do not use both services at the same time.
|
|
217
219
|
- **Comments**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-api",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.0",
|
|
4
4
|
"description": "VSCode public API plugged on the monaco editor",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": {
|
|
@@ -63,6 +63,9 @@
|
|
|
63
63
|
},
|
|
64
64
|
"./vscode/*": {
|
|
65
65
|
"default": "./vscode/src/*.js"
|
|
66
|
+
},
|
|
67
|
+
"./external/*": {
|
|
68
|
+
"default": "./external/*"
|
|
66
69
|
}
|
|
67
70
|
},
|
|
68
71
|
"typesVersions": {
|
|
@@ -94,12 +97,12 @@
|
|
|
94
97
|
}
|
|
95
98
|
},
|
|
96
99
|
"dependencies": {
|
|
97
|
-
"@codingame/monaco-vscode-
|
|
98
|
-
"@codingame/monaco-vscode-
|
|
99
|
-
"@codingame/monaco-vscode-
|
|
100
|
-
"@codingame/monaco-vscode-environment-service-override": "4.
|
|
101
|
-
"@codingame/monaco-vscode-layout-service-override": "4.
|
|
102
|
-
"@codingame/monaco-vscode-host-service-override": "4.
|
|
103
|
-
"@codingame/monaco-vscode-base-service-override": "4.
|
|
100
|
+
"@codingame/monaco-vscode-extensions-service-override": "4.3.0",
|
|
101
|
+
"@codingame/monaco-vscode-files-service-override": "4.3.0",
|
|
102
|
+
"@codingame/monaco-vscode-quickaccess-service-override": "4.3.0",
|
|
103
|
+
"@codingame/monaco-vscode-environment-service-override": "4.3.0",
|
|
104
|
+
"@codingame/monaco-vscode-layout-service-override": "4.3.0",
|
|
105
|
+
"@codingame/monaco-vscode-host-service-override": "4.3.0",
|
|
106
|
+
"@codingame/monaco-vscode-base-service-override": "4.3.0"
|
|
104
107
|
}
|
|
105
108
|
}
|
package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService.js
CHANGED
|
@@ -3,7 +3,6 @@ import { createDecorator, IInstantiationService } from '../../../../platform/ins
|
|
|
3
3
|
import { Emitter } from '../../../../base/common/event.js';
|
|
4
4
|
import { IStorageService } from '../../../../platform/storage/common/storage.js';
|
|
5
5
|
import { Memento } from '../../../common/memento.js';
|
|
6
|
-
import { registerAction2, Action2 } from '../../../../platform/actions/common/actions.js';
|
|
7
6
|
import { ICommandService } from '../../../../platform/commands/common/commands.js';
|
|
8
7
|
import { ContextKeyExpr, IContextKeyService, RawContextKey } from '../../../../platform/contextkey/common/contextkey.js';
|
|
9
8
|
import { Disposable } from '../../../../base/common/lifecycle.js';
|
|
@@ -21,7 +20,7 @@ import { walkthroughsExtensionPoint } from './gettingStartedExtensionPoint.js';
|
|
|
21
20
|
import { dirname } from '../../../../base/common/path.js';
|
|
22
21
|
import { coalesce, flatten } from '../../../../base/common/arrays.js';
|
|
23
22
|
import { IViewsService } from '../../../services/views/common/viewsService.js';
|
|
24
|
-
import {
|
|
23
|
+
import { localizeWithPath } from '../../../../nls.js';
|
|
25
24
|
import { ITelemetryService } from '../../../../platform/telemetry/common/telemetry.js';
|
|
26
25
|
import { checkGlobFileExists } from '../../../services/extensions/common/workspaceContains.js';
|
|
27
26
|
import { IWorkspaceContextService } from '../../../../platform/workspace/common/workspace.js';
|
|
@@ -523,41 +522,4 @@ const convertInternalMediaPathsToBrowserURIs = (path) => {
|
|
|
523
522
|
};
|
|
524
523
|
}
|
|
525
524
|
};
|
|
526
|
-
registerAction2(class extends Action2 {
|
|
527
|
-
constructor() {
|
|
528
|
-
super({
|
|
529
|
-
id: 'resetGettingStartedProgress',
|
|
530
|
-
category: ( localize2WithPath(
|
|
531
|
-
'vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService',
|
|
532
|
-
'developer',
|
|
533
|
-
"Developer"
|
|
534
|
-
)),
|
|
535
|
-
title: ( localize2WithPath(
|
|
536
|
-
'vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService',
|
|
537
|
-
'resetWelcomePageWalkthroughProgress',
|
|
538
|
-
"Reset Welcome Page Walkthrough Progress"
|
|
539
|
-
)),
|
|
540
|
-
f1: true
|
|
541
|
-
});
|
|
542
|
-
}
|
|
543
|
-
run(accessor) {
|
|
544
|
-
const gettingStartedService = accessor.get(IWalkthroughsService);
|
|
545
|
-
const storageService = accessor.get(IStorageService);
|
|
546
|
-
storageService.store(hiddenEntriesConfigurationKey, JSON.stringify([]), 0 , 0 );
|
|
547
|
-
storageService.store(walkthroughMetadataConfigurationKey, JSON.stringify([]), 0 , 0 );
|
|
548
|
-
const memento = ( new Memento('gettingStartedService', accessor.get(IStorageService)));
|
|
549
|
-
const record = memento.getMemento(0 , 0 );
|
|
550
|
-
for (const key in record) {
|
|
551
|
-
if (Object.prototype.hasOwnProperty.call(record, key)) {
|
|
552
|
-
try {
|
|
553
|
-
gettingStartedService.deprogressStep(key);
|
|
554
|
-
}
|
|
555
|
-
catch (e) {
|
|
556
|
-
console.error(e);
|
|
557
|
-
}
|
|
558
|
-
}
|
|
559
|
-
}
|
|
560
|
-
memento.saveMemento();
|
|
561
|
-
}
|
|
562
|
-
});
|
|
563
525
|
export { HasMultipleNewFileEntries, IWalkthroughsService, WalkthroughsService, convertInternalMediaPathToFileURI, hiddenEntriesConfigurationKey, parseDescription, walkthroughMetadataConfigurationKey };
|