@codingame/monaco-vscode-workspace-trust-service-override 4.5.0 → 4.5.2

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.
@@ -5,18 +5,15 @@ import { localizeWithPath } from 'vscode/vscode/vs/nls';
5
5
  import { registerIcon } from 'vscode/vscode/vs/platform/theme/common/iconRegistry';
6
6
  import { EditorInput } from 'vscode/vscode/vs/workbench/common/editor/editorInput';
7
7
 
8
- const WorkspaceTrustEditorIcon = registerIcon('workspace-trust-editor-label-icon', Codicon.shield, ( localizeWithPath(
9
- 'vs/workbench/services/workspaces/browser/workspaceTrustEditorInput',
10
- 'workspaceTrustEditorLabelIcon',
11
- 'Icon of the workspace trust editor label.'
12
- )));
8
+ const _moduleId = "vs/workbench/services/workspaces/browser/workspaceTrustEditorInput";
9
+ const WorkspaceTrustEditorIcon = registerIcon('workspace-trust-editor-label-icon', Codicon.shield, ( localizeWithPath(_moduleId, 0, 'Icon of the workspace trust editor label.')));
13
10
  class WorkspaceTrustEditorInput extends EditorInput {
14
11
  constructor() {
15
12
  super(...arguments);
16
- this.resource = ( URI.from({
13
+ this.resource = ( (URI.from({
17
14
  scheme: Schemas.vscodeWorkspaceTrust,
18
15
  path: `workspaceTrustEditor`
19
- }));
16
+ })));
20
17
  }
21
18
  static { this.ID = 'workbench.input.workspaceTrust'; }
22
19
  get capabilities() {
@@ -29,11 +26,7 @@ class WorkspaceTrustEditorInput extends EditorInput {
29
26
  return super.matches(otherInput) || otherInput instanceof WorkspaceTrustEditorInput;
30
27
  }
31
28
  getName() {
32
- return ( localizeWithPath(
33
- 'vs/workbench/services/workspaces/browser/workspaceTrustEditorInput',
34
- 'workspaceTrustEditorInputName',
35
- "Workspace Trust"
36
- ));
29
+ return ( localizeWithPath(_moduleId, 1, "Workspace Trust"));
37
30
  }
38
31
  getIcon() {
39
32
  return WorkspaceTrustEditorIcon;
@@ -1,5 +0,0 @@
1
- import { IEditorOverrideServices } from 'vscode/vscode/vs/editor/standalone/browser/standaloneServices';
2
-
3
- declare function getServiceOverride(): IEditorOverrideServices;
4
-
5
- export { getServiceOverride as default };