@@ -174,7 +174,7 @@ export class EditorPart extends Part implements IEditorPart, IEditorGroupService
]
}
*/
this.telemetryService.publicLog('workbenchEditorConfiguration',objects.clone(editorConfig));// Clone because telemetry service will modify the passed data by adding more details.
this.telemetryService.publicLog('workbenchEditorConfiguration',objects.deepClone(editorConfig));// Clone because telemetry service will modify the passed data by adding more details.
}else{
this.tabOptions={
previewEditors:true,
...
...
@@ -229,7 +229,7 @@ export class EditorPart extends Part implements IEditorPart, IEditorGroupService
this.hiddenExpressionPerRoot.set(folder.uri.toString(),objects.clone(excludesConfig));// do not keep the config, as it gets mutated under our hoods
this.hiddenExpressionPerRoot.set(folder.uri.toString(),objects.deepClone(excludesConfig));// do not keep the config, as it gets mutated under our hoods
deprecationMessage:nls.localize('JsonSchema.tasks.taskName.deprecated','The task\'s name property is deprecated. Use the label property instead.')
},
identifier:Objects.clone(identifier),
group:Objects.clone(group),
identifier:Objects.deepClone(identifier),
group:Objects.deepClone(group),
isBackground:{
type:'boolean',
description:nls.localize('JsonSchema.tasks.background','Whether the executed task is kept alive and is running in the background.'),
...
...
@@ -190,7 +190,7 @@ let taskConfiguration: IJSONSchema = {
description:nls.localize('JsonSchema.tasks.promptOnClose','Whether the user is prompted when VS Code closes with a running task.'),
default:false
},
presentation:Objects.clone(presentation),
presentation:Objects.deepClone(presentation),
problemMatcher:{
$ref:'#/definitions/problemMatcherType',
description:nls.localize('JsonSchema.tasks.matchers','The problem matcher(s) to use. Can either be a string or a problem matcher definition or an array of strings and problem matchers.')
...
...
@@ -201,7 +201,7 @@ let taskConfiguration: IJSONSchema = {
deprecationMessage:nls.localize('JsonSchema.tasks.customize.deprecated','The customize property is deprecated. See the 1.14 release notes on how to migrate to the new task customization approach')