@codingame/monaco-vscode-user-data-profile-service-override 25.1.2 → 26.0.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.
Files changed (25) hide show
  1. package/package.json +2 -2
  2. package/vscode/src/vs/platform/userDataProfile/browser/userDataProfile.js +18 -15
  3. package/vscode/src/vs/platform/userDataProfile/common/userDataProfileStorageService.js +31 -19
  4. package/vscode/src/vs/workbench/contrib/userDataProfile/browser/media/userDataProfilesEditor.css +9 -4
  5. package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfile.js +144 -115
  6. package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfileActions.js +16 -10
  7. package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfilesEditor.js +889 -623
  8. package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfilesEditorModel.js +449 -296
  9. package/vscode/src/vs/workbench/services/userData/browser/userDataInit.js +6 -8
  10. package/vscode/src/vs/workbench/services/userDataProfile/browser/extensionsResource.js +135 -77
  11. package/vscode/src/vs/workbench/services/userDataProfile/browser/globalStateResource.js +33 -32
  12. package/vscode/src/vs/workbench/services/userDataProfile/browser/keybindingsResource.js +33 -34
  13. package/vscode/src/vs/workbench/services/userDataProfile/browser/mcpProfileResource.js +28 -33
  14. package/vscode/src/vs/workbench/services/userDataProfile/browser/settingsResource.js +42 -40
  15. package/vscode/src/vs/workbench/services/userDataProfile/browser/snippetsResource.js +23 -28
  16. package/vscode/src/vs/workbench/services/userDataProfile/browser/tasksResource.js +28 -33
  17. package/vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileImportExportService.js +209 -153
  18. package/vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileInit.js +28 -25
  19. package/vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileManagement.js +55 -41
  20. package/vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileStorageService.js +20 -9
  21. package/vscode/src/vs/workbench/services/userDataSync/browser/userDataSyncInit.js +111 -73
  22. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSyncUtil.js +20 -15
  23. package/vscode/src/vs/base/browser/ui/radio/radio.css +0 -69
  24. package/vscode/src/vs/base/browser/ui/radio/radio.d.ts +0 -37
  25. package/vscode/src/vs/base/browser/ui/radio/radio.js +0 -72
@@ -24,14 +24,13 @@ let McpResourceInitializer = class McpResourceInitializer {
24
24
  this.logService.info(`Initializing Profile: No MCP servers to apply...`);
25
25
  return;
26
26
  }
27
- await this.fileService.writeFile(this.userDataProfileService.currentProfile.mcpResource, VSBuffer.fromString(mcpContent.mcp));
27
+ await this.fileService.writeFile(
28
+ this.userDataProfileService.currentProfile.mcpResource,
29
+ VSBuffer.fromString(mcpContent.mcp)
30
+ );
28
31
  }
29
32
  };
30
- McpResourceInitializer = ( __decorate([
31
- ( __param(0, IUserDataProfileService)),
32
- ( __param(1, IFileService)),
33
- ( __param(2, ILogService))
34
- ], McpResourceInitializer));
33
+ McpResourceInitializer = ( __decorate([( __param(0, IUserDataProfileService)), ( __param(1, IFileService)), ( __param(2, ILogService))], McpResourceInitializer));
35
34
  let McpProfileResource = class McpProfileResource {
36
35
  constructor(fileService, logService) {
37
36
  this.fileService = fileService;
@@ -43,7 +42,9 @@ let McpProfileResource = class McpProfileResource {
43
42
  }
44
43
  async getMcpResourceContent(profile) {
45
44
  const mcpContent = await this.getMcpContent(profile);
46
- return { mcp: mcpContent };
45
+ return {
46
+ mcp: mcpContent
47
+ };
47
48
  }
48
49
  async apply(content, profile) {
49
50
  const mcpContent = JSON.parse(content);
@@ -57,21 +58,16 @@ let McpProfileResource = class McpProfileResource {
57
58
  try {
58
59
  const content = await this.fileService.readFile(profile.mcpResource);
59
60
  return ( content.value.toString());
60
- }
61
- catch (error) {
61
+ } catch (error) {
62
62
  if (error instanceof FileOperationError && error.fileOperationResult === FileOperationResult.FILE_NOT_FOUND) {
63
63
  return null;
64
- }
65
- else {
64
+ } else {
66
65
  throw error;
67
66
  }
68
67
  }
69
68
  }
70
69
  };
71
- McpProfileResource = ( __decorate([
72
- ( __param(0, IFileService)),
73
- ( __param(1, ILogService))
74
- ], McpProfileResource));
70
+ McpProfileResource = ( __decorate([( __param(0, IFileService)), ( __param(1, ILogService))], McpProfileResource));
75
71
  let McpResourceTreeItem = class McpResourceTreeItem {
76
72
  constructor(profile, uriIdentityService, instantiationService) {
77
73
  this.profile = profile;
@@ -79,24 +75,26 @@ let McpResourceTreeItem = class McpResourceTreeItem {
79
75
  this.instantiationService = instantiationService;
80
76
  this.type = ProfileResourceType.Mcp;
81
77
  this.handle = ProfileResourceType.Mcp;
82
- this.label = { label: ( localize(14517, "MCP Servers")) };
78
+ this.label = {
79
+ label: ( localize(14914, "MCP Servers"))
80
+ };
83
81
  this.collapsibleState = TreeItemCollapsibleState.Expanded;
84
82
  }
85
83
  async getChildren() {
86
84
  return [{
87
- handle: ( this.profile.mcpResource.toString()),
88
- resourceUri: this.profile.mcpResource,
89
- collapsibleState: TreeItemCollapsibleState.None,
90
- parent: this,
91
- accessibilityInformation: {
92
- label: this.uriIdentityService.extUri.basename(this.profile.mcpResource)
93
- },
94
- command: {
95
- id: API_OPEN_EDITOR_COMMAND_ID,
96
- title: '',
97
- arguments: [this.profile.mcpResource, undefined, undefined]
98
- }
99
- }];
85
+ handle: ( this.profile.mcpResource.toString()),
86
+ resourceUri: this.profile.mcpResource,
87
+ collapsibleState: TreeItemCollapsibleState.None,
88
+ parent: this,
89
+ accessibilityInformation: {
90
+ label: this.uriIdentityService.extUri.basename(this.profile.mcpResource)
91
+ },
92
+ command: {
93
+ id: API_OPEN_EDITOR_COMMAND_ID,
94
+ title: "",
95
+ arguments: [this.profile.mcpResource, undefined, undefined]
96
+ }
97
+ }];
100
98
  }
101
99
  async hasContent() {
102
100
  const mcpContent = await this.instantiationService.createInstance(McpProfileResource).getMcpResourceContent(this.profile);
@@ -109,9 +107,6 @@ let McpResourceTreeItem = class McpResourceTreeItem {
109
107
  return !this.profile.isDefault && !!this.profile.useDefaultFlags?.mcp;
110
108
  }
111
109
  };
112
- McpResourceTreeItem = ( __decorate([
113
- ( __param(1, IUriIdentityService)),
114
- ( __param(2, IInstantiationService))
115
- ], McpResourceTreeItem));
110
+ McpResourceTreeItem = ( __decorate([( __param(1, IUriIdentityService)), ( __param(2, IInstantiationService))], McpResourceTreeItem));
116
111
 
117
112
  export { McpProfileResource, McpResourceInitializer, McpResourceTreeItem };
@@ -28,14 +28,13 @@ let SettingsResourceInitializer = class SettingsResourceInitializer {
28
28
  this.logService.info(`Initializing Profile: No settings to apply...`);
29
29
  return;
30
30
  }
31
- await this.fileService.writeFile(this.userDataProfileService.currentProfile.settingsResource, VSBuffer.fromString(settingsContent.settings));
31
+ await this.fileService.writeFile(
32
+ this.userDataProfileService.currentProfile.settingsResource,
33
+ VSBuffer.fromString(settingsContent.settings)
34
+ );
32
35
  }
33
36
  };
34
- SettingsResourceInitializer = ( __decorate([
35
- ( __param(0, IUserDataProfileService)),
36
- ( __param(1, IFileService)),
37
- ( __param(2, ILogService))
38
- ], SettingsResourceInitializer));
37
+ SettingsResourceInitializer = ( __decorate([( __param(0, IUserDataProfileService)), ( __param(1, IFileService)), ( __param(2, ILogService))], SettingsResourceInitializer));
39
38
  let SettingsResource = class SettingsResource {
40
39
  constructor(fileService, userDataSyncUtilService, logService) {
41
40
  this.fileService = fileService;
@@ -49,13 +48,16 @@ let SettingsResource = class SettingsResource {
49
48
  async getSettingsContent(profile) {
50
49
  const localContent = await this.getLocalFileContent(profile);
51
50
  if (localContent === null) {
52
- return { settings: null };
53
- }
54
- else {
51
+ return {
52
+ settings: null
53
+ };
54
+ } else {
55
55
  const ignoredSettings = this.getIgnoredSettings();
56
56
  const formattingOptions = await this.userDataSyncUtilService.resolveFormattingOptions(profile.settingsResource);
57
- const settings = updateIgnoredSettings(localContent || '{}', '{}', ignoredSettings, formattingOptions);
58
- return { settings };
57
+ const settings = updateIgnoredSettings(localContent || "{}", "{}", ignoredSettings, formattingOptions);
58
+ return {
59
+ settings
60
+ };
59
61
  }
60
62
  }
61
63
  async apply(content, profile) {
@@ -66,34 +68,35 @@ let SettingsResource = class SettingsResource {
66
68
  }
67
69
  const localSettingsContent = await this.getLocalFileContent(profile);
68
70
  const formattingOptions = await this.userDataSyncUtilService.resolveFormattingOptions(profile.settingsResource);
69
- const contentToUpdate = updateIgnoredSettings(settingsContent.settings, localSettingsContent || '{}', this.getIgnoredSettings(), formattingOptions);
71
+ const contentToUpdate = updateIgnoredSettings(
72
+ settingsContent.settings,
73
+ localSettingsContent || "{}",
74
+ this.getIgnoredSettings(),
75
+ formattingOptions
76
+ );
70
77
  await this.fileService.writeFile(profile.settingsResource, VSBuffer.fromString(contentToUpdate));
71
78
  }
72
79
  getIgnoredSettings() {
73
80
  const allSettings = ( Registry.as(Extensions.Configuration)).getConfigurationProperties();
74
- const ignoredSettings = ( Object.keys(allSettings)).filter(key => allSettings[key]?.scope === ConfigurationScope.MACHINE || allSettings[key]?.scope === ConfigurationScope.APPLICATION_MACHINE || allSettings[key]?.scope === ConfigurationScope.MACHINE_OVERRIDABLE);
81
+ const ignoredSettings = ( Object.keys(allSettings)).filter(
82
+ key => allSettings[key]?.scope === ConfigurationScope.MACHINE || allSettings[key]?.scope === ConfigurationScope.APPLICATION_MACHINE || allSettings[key]?.scope === ConfigurationScope.MACHINE_OVERRIDABLE
83
+ );
75
84
  return ignoredSettings;
76
85
  }
77
86
  async getLocalFileContent(profile) {
78
87
  try {
79
88
  const content = await this.fileService.readFile(profile.settingsResource);
80
89
  return ( content.value.toString());
81
- }
82
- catch (error) {
90
+ } catch (error) {
83
91
  if (error instanceof FileOperationError && error.fileOperationResult === FileOperationResult.FILE_NOT_FOUND) {
84
92
  return null;
85
- }
86
- else {
93
+ } else {
87
94
  throw error;
88
95
  }
89
96
  }
90
97
  }
91
98
  };
92
- SettingsResource = ( __decorate([
93
- ( __param(0, IFileService)),
94
- ( __param(1, IUserDataSyncUtilService)),
95
- ( __param(2, ILogService))
96
- ], SettingsResource));
99
+ SettingsResource = ( __decorate([( __param(0, IFileService)), ( __param(1, IUserDataSyncUtilService)), ( __param(2, ILogService))], SettingsResource));
97
100
  let SettingsResourceTreeItem = class SettingsResourceTreeItem {
98
101
  constructor(profile, uriIdentityService, instantiationService) {
99
102
  this.profile = profile;
@@ -101,24 +104,26 @@ let SettingsResourceTreeItem = class SettingsResourceTreeItem {
101
104
  this.instantiationService = instantiationService;
102
105
  this.type = ProfileResourceType.Settings;
103
106
  this.handle = ProfileResourceType.Settings;
104
- this.label = { label: ( localize(14518, "Settings")) };
107
+ this.label = {
108
+ label: ( localize(14915, "Settings"))
109
+ };
105
110
  this.collapsibleState = TreeItemCollapsibleState.Expanded;
106
111
  }
107
112
  async getChildren() {
108
113
  return [{
109
- handle: ( this.profile.settingsResource.toString()),
110
- resourceUri: this.profile.settingsResource,
111
- collapsibleState: TreeItemCollapsibleState.None,
112
- parent: this,
113
- accessibilityInformation: {
114
- label: this.uriIdentityService.extUri.basename(this.profile.settingsResource)
115
- },
116
- command: {
117
- id: API_OPEN_EDITOR_COMMAND_ID,
118
- title: '',
119
- arguments: [this.profile.settingsResource, undefined, undefined]
120
- }
121
- }];
114
+ handle: ( this.profile.settingsResource.toString()),
115
+ resourceUri: this.profile.settingsResource,
116
+ collapsibleState: TreeItemCollapsibleState.None,
117
+ parent: this,
118
+ accessibilityInformation: {
119
+ label: this.uriIdentityService.extUri.basename(this.profile.settingsResource)
120
+ },
121
+ command: {
122
+ id: API_OPEN_EDITOR_COMMAND_ID,
123
+ title: "",
124
+ arguments: [this.profile.settingsResource, undefined, undefined]
125
+ }
126
+ }];
122
127
  }
123
128
  async hasContent() {
124
129
  const settingsContent = await this.instantiationService.createInstance(SettingsResource).getSettingsContent(this.profile);
@@ -131,9 +136,6 @@ let SettingsResourceTreeItem = class SettingsResourceTreeItem {
131
136
  return !this.profile.isDefault && !!this.profile.useDefaultFlags?.settings;
132
137
  }
133
138
  };
134
- SettingsResourceTreeItem = ( __decorate([
135
- ( __param(1, IUriIdentityService)),
136
- ( __param(2, IInstantiationService))
137
- ], SettingsResourceTreeItem));
139
+ SettingsResourceTreeItem = ( __decorate([( __param(1, IUriIdentityService)), ( __param(2, IInstantiationService))], SettingsResourceTreeItem));
138
140
 
139
141
  export { SettingsResource, SettingsResourceInitializer, SettingsResourceTreeItem };
@@ -26,11 +26,7 @@ let SnippetsResourceInitializer = class SnippetsResourceInitializer {
26
26
  }
27
27
  }
28
28
  };
29
- SnippetsResourceInitializer = ( __decorate([
30
- ( __param(0, IUserDataProfileService)),
31
- ( __param(1, IFileService)),
32
- ( __param(2, IUriIdentityService))
33
- ], SnippetsResourceInitializer));
29
+ SnippetsResourceInitializer = ( __decorate([( __param(0, IUserDataProfileService)), ( __param(1, IFileService)), ( __param(2, IUriIdentityService))], SnippetsResourceInitializer));
34
30
  let SnippetsResource = class SnippetsResource {
35
31
  constructor(fileService, uriIdentityService) {
36
32
  this.fileService = fileService;
@@ -38,7 +34,9 @@ let SnippetsResource = class SnippetsResource {
38
34
  }
39
35
  async getContent(profile, excluded) {
40
36
  const snippets = await this.getSnippets(profile, excluded);
41
- return JSON.stringify({ snippets });
37
+ return JSON.stringify({
38
+ snippets
39
+ });
42
40
  }
43
41
  async apply(content, profile) {
44
42
  const snippetsContent = JSON.parse(content);
@@ -62,38 +60,37 @@ let SnippetsResource = class SnippetsResource {
62
60
  let stat;
63
61
  try {
64
62
  stat = await this.fileService.resolve(profile.snippetsHome);
65
- }
66
- catch (e) {
63
+ } catch (e) {
67
64
  if (e instanceof FileOperationError && e.fileOperationResult === FileOperationResult.FILE_NOT_FOUND) {
68
65
  return snippets;
69
- }
70
- else {
66
+ } else {
71
67
  throw e;
72
68
  }
73
69
  }
74
- for (const { resource } of stat.children || []) {
70
+ for (const {
71
+ resource
72
+ } of stat.children || []) {
75
73
  if (excluded?.has(resource)) {
76
74
  continue;
77
75
  }
78
76
  const extension = this.uriIdentityService.extUri.extname(resource);
79
- if (extension === '.json' || extension === '.code-snippets') {
77
+ if (extension === ".json" || extension === ".code-snippets") {
80
78
  snippets.push(resource);
81
79
  }
82
80
  }
83
81
  return snippets;
84
82
  }
85
83
  };
86
- SnippetsResource = ( __decorate([
87
- ( __param(0, IFileService)),
88
- ( __param(1, IUriIdentityService))
89
- ], SnippetsResource));
84
+ SnippetsResource = ( __decorate([( __param(0, IFileService)), ( __param(1, IUriIdentityService))], SnippetsResource));
90
85
  let SnippetsResourceTreeItem = class SnippetsResourceTreeItem {
91
86
  constructor(profile, instantiationService, uriIdentityService) {
92
87
  this.profile = profile;
93
88
  this.instantiationService = instantiationService;
94
89
  this.uriIdentityService = uriIdentityService;
95
90
  this.type = ProfileResourceType.Snippets;
96
- this.label = { label: ( localize(14519, "Snippets")) };
91
+ this.label = {
92
+ label: ( localize(14916, "Snippets"))
93
+ };
97
94
  this.collapsibleState = TreeItemCollapsibleState.Collapsed;
98
95
  this.excludedSnippets = ( new ResourceSet());
99
96
  this.handle = ( this.profile.snippetsHome.toString());
@@ -107,29 +104,30 @@ let SnippetsResourceTreeItem = class SnippetsResourceTreeItem {
107
104
  resourceUri: resource,
108
105
  collapsibleState: TreeItemCollapsibleState.None,
109
106
  accessibilityInformation: {
110
- label: this.uriIdentityService.extUri.basename(resource),
107
+ label: this.uriIdentityService.extUri.basename(resource)
111
108
  },
112
109
  checkbox: that.checkbox ? {
113
- get isChecked() { return !( that.excludedSnippets.has(resource)); },
110
+ get isChecked() {
111
+ return !( that.excludedSnippets.has(resource));
112
+ },
114
113
  set isChecked(value) {
115
114
  if (value) {
116
115
  that.excludedSnippets.delete(resource);
117
- }
118
- else {
116
+ } else {
119
117
  that.excludedSnippets.add(resource);
120
118
  }
121
119
  },
122
120
  accessibilityInformation: {
123
121
  label: ( localize(
124
- 14520,
122
+ 14917,
125
123
  "Select Snippet {0}",
126
124
  this.uriIdentityService.extUri.basename(resource)
127
- )),
125
+ ))
128
126
  }
129
127
  } : undefined,
130
128
  command: {
131
129
  id: API_OPEN_EDITOR_COMMAND_ID,
132
- title: '',
130
+ title: "",
133
131
  arguments: [resource, undefined, undefined]
134
132
  }
135
133
  })));
@@ -145,9 +143,6 @@ let SnippetsResourceTreeItem = class SnippetsResourceTreeItem {
145
143
  return !this.profile.isDefault && !!this.profile.useDefaultFlags?.snippets;
146
144
  }
147
145
  };
148
- SnippetsResourceTreeItem = ( __decorate([
149
- ( __param(1, IInstantiationService)),
150
- ( __param(2, IUriIdentityService))
151
- ], SnippetsResourceTreeItem));
146
+ SnippetsResourceTreeItem = ( __decorate([( __param(1, IInstantiationService)), ( __param(2, IUriIdentityService))], SnippetsResourceTreeItem));
152
147
 
153
148
  export { SnippetsResource, SnippetsResourceInitializer, SnippetsResourceTreeItem };
@@ -24,14 +24,13 @@ let TasksResourceInitializer = class TasksResourceInitializer {
24
24
  this.logService.info(`Initializing Profile: No tasks to apply...`);
25
25
  return;
26
26
  }
27
- await this.fileService.writeFile(this.userDataProfileService.currentProfile.tasksResource, VSBuffer.fromString(tasksContent.tasks));
27
+ await this.fileService.writeFile(
28
+ this.userDataProfileService.currentProfile.tasksResource,
29
+ VSBuffer.fromString(tasksContent.tasks)
30
+ );
28
31
  }
29
32
  };
30
- TasksResourceInitializer = ( __decorate([
31
- ( __param(0, IUserDataProfileService)),
32
- ( __param(1, IFileService)),
33
- ( __param(2, ILogService))
34
- ], TasksResourceInitializer));
33
+ TasksResourceInitializer = ( __decorate([( __param(0, IUserDataProfileService)), ( __param(1, IFileService)), ( __param(2, ILogService))], TasksResourceInitializer));
35
34
  let TasksResource = class TasksResource {
36
35
  constructor(fileService, logService) {
37
36
  this.fileService = fileService;
@@ -43,7 +42,9 @@ let TasksResource = class TasksResource {
43
42
  }
44
43
  async getTasksResourceContent(profile) {
45
44
  const tasksContent = await this.getTasksContent(profile);
46
- return { tasks: tasksContent };
45
+ return {
46
+ tasks: tasksContent
47
+ };
47
48
  }
48
49
  async apply(content, profile) {
49
50
  const tasksContent = JSON.parse(content);
@@ -57,21 +58,16 @@ let TasksResource = class TasksResource {
57
58
  try {
58
59
  const content = await this.fileService.readFile(profile.tasksResource);
59
60
  return ( content.value.toString());
60
- }
61
- catch (error) {
61
+ } catch (error) {
62
62
  if (error instanceof FileOperationError && error.fileOperationResult === FileOperationResult.FILE_NOT_FOUND) {
63
63
  return null;
64
- }
65
- else {
64
+ } else {
66
65
  throw error;
67
66
  }
68
67
  }
69
68
  }
70
69
  };
71
- TasksResource = ( __decorate([
72
- ( __param(0, IFileService)),
73
- ( __param(1, ILogService))
74
- ], TasksResource));
70
+ TasksResource = ( __decorate([( __param(0, IFileService)), ( __param(1, ILogService))], TasksResource));
75
71
  let TasksResourceTreeItem = class TasksResourceTreeItem {
76
72
  constructor(profile, uriIdentityService, instantiationService) {
77
73
  this.profile = profile;
@@ -79,24 +75,26 @@ let TasksResourceTreeItem = class TasksResourceTreeItem {
79
75
  this.instantiationService = instantiationService;
80
76
  this.type = ProfileResourceType.Tasks;
81
77
  this.handle = ProfileResourceType.Tasks;
82
- this.label = { label: ( localize(14521, "Tasks")) };
78
+ this.label = {
79
+ label: ( localize(14918, "Tasks"))
80
+ };
83
81
  this.collapsibleState = TreeItemCollapsibleState.Expanded;
84
82
  }
85
83
  async getChildren() {
86
84
  return [{
87
- handle: ( this.profile.tasksResource.toString()),
88
- resourceUri: this.profile.tasksResource,
89
- collapsibleState: TreeItemCollapsibleState.None,
90
- parent: this,
91
- accessibilityInformation: {
92
- label: this.uriIdentityService.extUri.basename(this.profile.settingsResource)
93
- },
94
- command: {
95
- id: API_OPEN_EDITOR_COMMAND_ID,
96
- title: '',
97
- arguments: [this.profile.tasksResource, undefined, undefined]
98
- }
99
- }];
85
+ handle: ( this.profile.tasksResource.toString()),
86
+ resourceUri: this.profile.tasksResource,
87
+ collapsibleState: TreeItemCollapsibleState.None,
88
+ parent: this,
89
+ accessibilityInformation: {
90
+ label: this.uriIdentityService.extUri.basename(this.profile.settingsResource)
91
+ },
92
+ command: {
93
+ id: API_OPEN_EDITOR_COMMAND_ID,
94
+ title: "",
95
+ arguments: [this.profile.tasksResource, undefined, undefined]
96
+ }
97
+ }];
100
98
  }
101
99
  async hasContent() {
102
100
  const tasksContent = await this.instantiationService.createInstance(TasksResource).getTasksResourceContent(this.profile);
@@ -109,9 +107,6 @@ let TasksResourceTreeItem = class TasksResourceTreeItem {
109
107
  return !this.profile.isDefault && !!this.profile.useDefaultFlags?.tasks;
110
108
  }
111
109
  };
112
- TasksResourceTreeItem = ( __decorate([
113
- ( __param(1, IUriIdentityService)),
114
- ( __param(2, IInstantiationService))
115
- ], TasksResourceTreeItem));
110
+ TasksResourceTreeItem = ( __decorate([( __param(1, IUriIdentityService)), ( __param(2, IInstantiationService))], TasksResourceTreeItem));
116
111
 
117
112
  export { TasksResource, TasksResourceInitializer, TasksResourceTreeItem };