-
Notifications
You must be signed in to change notification settings - Fork 304
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
Service registration refactor part 2 #10479
Conversation
|
||
export function registerTypes(serviceManager: IServiceManager, _isDevMode: boolean) { | ||
serviceManager.addSingleton<IExtensionSingleActivationService>(IExtensionSingleActivationService, GlobalActivation); |
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.
GlobalActivation, ExtensionRecommendationService, ActiveEditorContextService, AmlComputeContext, ImportTracker are now registered in extension-side
, instead of src/platform
|
||
export function registerTypes(serviceManager: IServiceManager, isDevMode: boolean) { | ||
serviceManager.addSingleton<IExtensionSingleActivationService>(IExtensionSingleActivationService, Activation); | ||
|
||
serviceManager.addSingleton<IExtensionSyncActivationService>( |
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.
PortAttributesProviders
registration moved from platform to kernels.
@@ -1,8 +1,8 @@ | |||
// Copyright (c) Microsoft Corporation. All rights reserved. |
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.
Kernel related errors are moved into src/kernels/errors
instead of having them in src/platform
.
Thanks @rchiodo ! |
Re #10152. Continue to move service registration into feature component from platform. This PR itself is a bit large but they are mostly moving files.
package-lock.json
has been regenerated by runningnpm install
(if dependencies have changed).