Open drewnoakes opened 3 years ago
MEF components will need to be in global scope, as we won't have CPS on the client in Codespaces. There's no concept of UnconfiguredProject scope there, for example.
As our editor is not a MEF part itself, we'll need to explicitly import parts.
Something like:
// on main thread
IServiceProvider serviceProvider = ...;
IComponentModel componentModel = serviceProvider.GetService<SComponentModel, IComponentModel>();
IMyMefPart importedPart = componentModel.GetService<IMyMefPart>();
@drewnoakes this may be a good thing to revisit soon?
@kvenkatrajan specifically the function extensibility
Progress on property editor extensibility would be welcome. For example, the dialog raised via <ValueEditor EditorType="DirectoryPath" DisplayName="My Folder" />
leaves a lot to be desired.
@walterpg the Microsoft.VisualStudio.ProjectSystem.VS.PropertyPages.Designer.IPropertyEditor
type (defined in CPS) is public, so as far as I know all the bits needed for custom editors are available today.
(Extracted from #6627)
The new Project Property Pages aim to be extensible to first and third parties. Some additional extension points are required to offer the full capabilities of the end-to-end system to extenders.