Skip to content

Precursor work to merge EditorFeatures.WPF into EditorFeatures. #78308

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

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

CyrusNajmabadi
Copy link
Member

@CyrusNajmabadi CyrusNajmabadi commented Apr 24, 2025

This moves everything down, except for special code we expose to Xaml to allow them to use our Peek service. This PR also adds code into their existing EA layer to do this instead.

So we can:

  1. merge this in.
  2. insert it
  3. get xaml to use the new ea helper in their VS.Xaml project
  4. remove the wpf layer.
  5. insert that.

Precursor to #77707

@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner April 24, 2025 22:29
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Apr 24, 2025
internal sealed class EditorPeekableItemFactory(
IMetadataAsSourceFileService metadataAsSourceFileService,
IGlobalOptionService globalOptions,
IThreadingContext threadingContext) : PeekableItemFactory(metadataAsSourceFileService, globalOptions, threadingContext);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

core code merged down (as is still exported for us to use. This is just a remnant so xaml can still import this until we move them to use the coe in the ea layer.


namespace Microsoft.VisualStudio.LanguageServices.Xaml.Features.Peek;

internal interface IXamlPeekableItemFactory
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

new EA layer code for xaml to use.

@CyrusNajmabadi
Copy link
Member Author

@jasonmalinowski ptal.

@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner April 25, 2025 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE Needs UX Triage untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant