Replies: 1 comment 2 replies
-
Hi, I'm not entirely sure, but imho your use case should work, at least it does in VS Code (local installation). See also eclipse-cdt-cloud/vscode-memory-inspector#154 (comment) for a working example. I haven't tested customizing the memory inspector via its API in Theia yet. So this might be a bug. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am currently working on a VSIX that aims to extend the Eclipse CDT Peripheral Inspector as described in https://github.com/eclipse-cdt-cloud/vscode-peripheral-inspector/blob/main/docs/extending-peripheral-inspector.md#developing-your-extension and the Memory Inspector VS Code extensions detailed in https://github.com/eclipse-cdt-cloud/vscode-memory-inspector?tab=readme-ov-file#the-memory-provider. However, my VSIX fails to start.
extension.js
:package.json
:To reproduce this issue with Theia (commit b2f4838):
Theia does not automatically download the transitive dependencies, so we need to manually add them to the
package.json
file of Theia in order to pull and download them from OpenVSX using the commandnpm run download:plugins
. Below is the necessary modification:When I start Theia, I get an error:
I downloaded the required extensions:
Suspicious log entry earlier:
The problem I am encountering is that the Memory Inspector VSIX only exposes a
frontend
contribution. When my VSIX starts, which is a pure Node.js VSIX, it cannot locate thememory-inspector
in theregistry
, resulting in a failure.The memory inspector is registered:
The memory inspector starts (alone) as a frontend plugin:
When the other plugins start, the backend cannot see the memory inspector; it was started as a "frontend" kind?
Is this issue a bug, a missing feature, or am I doing something incorrectly? Do I need to create a frontend contribution for my VSIX in order to load the
memory-inspector
?Thank you!
Beta Was this translation helpful? Give feedback.
All reactions