-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
latest python extension is activated always #8394
Comments
yes, it makes sense (even if we don't support yet custom editors) |
@benoitf looking at unsupported activation events: #4199 (comment) I think maybe we should stop activating eagerly at all (for unsupported). These events either are not used in practice a lot or as a primary or will break experience. |
Signed-off-by: Anton Kosyakov <[email protected]>
Signed-off-by: Anton Kosyakov <[email protected]>
@akosyakov but if we don't activate eagerly, and we don't support a particular event, how will an extension ever get activated if it only uses unsupported events? |
There are lot of activation events on VS Code extensions. So for example, python extension can be activated with a lot of them that are already supported. And if we don't support it today, probably it will fail in any case. (It was a good behavior only when we were implementing only few of them) |
@tsmaeder Please have a look at list of activation events which we don't support: #4199 (comment) In all cases, but Because of it, it feels that activating eagerly on unsupported event is false positive in all cases. |
@akosyakov @tsmaeder is the conclusion that if an extension's activation events are all supported then we don't activate eagerly, and if at least just one activation event is not supported then we activate eagerly? |
@marechal-p We follow activation events as defined by VS Code without any guessing whether we should activate eagerly anymore. If an extension defines |
Signed-off-by: Anton Kosyakov <[email protected]>
The issue is that it has a new activation event for custom editors which we don't support yet. I suggest that we list this activation event as supported. It will fixes this bug as well as prevent activating extensions which we cannot support yet.
@eclipse-theia/ecd-theia-committers what do you think?
The text was updated successfully, but these errors were encountered: