eclipse-theia / theia

Eclipse Theia is a cloud & desktop IDE framework implemented in TypeScript.
http://theia-ide.org
Eclipse Public License 2.0
20.04k stars 2.5k forks source link

VSCode FileDecoration not supported in custom tree view #9796

Open SanjulaGanepola opened 3 years ago

SanjulaGanepola commented 3 years ago

Bug Description:

When implementing a custom TreeView in a VSCode extension and rendering FileDecorations on the tree items, VSCode will show the decorations. When running in Theia, it is not being shown.

Steps to Reproduce:

  1. Build and run the Theia browser example
  2. Into your workspace, clone https://github.com/SanjulaGanepola/vscode-extension-samples
  3. Open vscode-extension-samples/tree-view-sample/
  4. Run npm install
  5. Run the extension using F1 > Hosted Plugin: Start Instance
  6. Open the Explorer and bring up the Test View.
  7. Observe the tree items under the Test View are not highlighted in red and do not have the “?” badge.

Theia: image

VSCode: image

vince-fugnitto commented 3 years ago

@SanjulaGanepola thank you for the discussion, please see if https://github.com/eclipse-theia/theia/pull/9643 resolves your issue.

vince-fugnitto commented 3 years ago

The issue is a duplicate of https://github.com/eclipse-theia/theia/issues/9642.

SanjulaGanepola commented 3 years ago

@SanjulaGanepola thank you for the discussion, please see if #9643 resolves your issue.

I do not think this pull request can solve my issue because my goal is to use the file decorator rather than the problem decorator.

In terms of #9642, is there any progress on this issue?