-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix work extensions with no activation function #4933
Fix work extensions with no activation function #4933
Conversation
@tsmaeder tested with mock debugger: https://github.com/AndrienkoAleksandr/vscode-mock-debug |
FYI eclipse eca check is not green |
Hmm... after merge with master and this one commit a388fc5 my pr doesn't work any more. I will take a look...
Thanks, I will fix it. |
@@ -67,7 +67,7 @@ export class HostedPluginSupport { | |||
} | |||
|
|||
runPlugin(plugin: PluginModel): void { | |||
if (plugin.entryPoint.backend) { | |||
if (!plugin.entryPoint.frontend) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can plugin have frontend and backend entry points?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
6fe6b49
to
19ffb9d
Compare
I'm Sorry, guys my alert was wrong:
I retested PR works. |
Referenced issue:
#4850
Description
We count's all vscode extensions like "backend theia plugins": https://github.com/theia-ide/theia/blob/master/packages/plugin-ext-vscode/src/node/scanner-vscode.ts#L42
So let's launch all not frontend plugins like backend plugins. And In case if extension has no activation function(and plugin path in this case was not initialized) allow to initialize this extension, but don't allow load extension script and don't allow start extension script(because no main script and activation methods).
Signed-off-by: Oleksandr Andriienko oandriie@redhat.com