diff --git a/CHANGELOG.md b/CHANGELOG.md index 17671f35f4f2d..603b42a1a3af8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - [task] added support for VS Code task contribution points: `taskDefinitions`, `problemMatchers`, and `problemPatterns` - [plugin] added support of debug activation events [#5645](https://github.com/theia-ide/theia/pull/5645) +- [plugin] Fixed `Converting circular structure to JSON` Error [#5661](https://github.com/theia-ide/theia/pull/5661) Breaking changes: diff --git a/packages/plugin-ext/src/plugin/tree/tree-views.ts b/packages/plugin-ext/src/plugin/tree/tree-views.ts index 40b4d299df30a..9afb84396470a 100644 --- a/packages/plugin-ext/src/plugin/tree/tree-views.ts +++ b/packages/plugin-ext/src/plugin/tree/tree-views.ts @@ -242,6 +242,9 @@ class TreeViewExtImpl extends Disposable { } } + if (treeItem.command) { + treeItem.command.arguments = [id]; + } const treeViewItem = { id, label: label,