How does Theia support hot-swapping functionality? #15796
Unanswered
wangding001
asked this question in
Q&A
Replies: 1 comment 12 replies
-
Hey @wangding001, Theia extensions are by design compile time - there is no way to perform hot swapping on them, at least as far as I know. Perhaps there are other ways to accomplish what you're looking for? You could, for example, simply disable your own widgets if they are "deactivated". |
Beta Was this translation helpful? Give feedback.
12 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, I have a Theia extension, and I want to convert it into a VS Code extension to achieve hot-swapping. However, these are two separate processes, and my Theia extension has many dependencies, such as relying on Theia itself and other related extensions, as well as numerous pages. I initially thought converting it to a VS Code extension for hot-swapping might not be realistic.
So, I want to know if Theia extensions inherently support hot-swapping. Right now, I see that all extensions are bundled into a single bundle.js file, which seems to make hot-swapping impossible. How can I modify this to enable hot-swapping for extensions?
Beta Was this translation helpful? Give feedback.
All reactions