Skip to content
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

Revert #321 #346

Merged
merged 1 commit into from
Jun 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions AvaloniaVS.Shared/AvaloniaPackage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,7 @@ namespace AvaloniaVS
DesignerLogicalViewEditor = typeof(EditorFactory),
DebuggingLogicalViewEditor = typeof(EditorFactory),
TextLogicalViewEditor = typeof(EditorFactory))]
[ProvideXmlEditorChooserDesignerView(Constants.PackageName,
Constants.axaml,
LogicalViewID.Designer,
10000,
Namespace = "https://github.com/avaloniaui",
MatchExtensionAndNamespace = true,
CodeLogicalViewEditor = typeof(EditorFactory),
DesignerLogicalViewEditor = typeof(EditorFactory),
DebuggingLogicalViewEditor = typeof(EditorFactory),
TextLogicalViewEditor = typeof(EditorFactory))]
[ProvideOptionPage(typeof(OptionsDialogPage), Constants.PackageName, "General", 113, 0, supportsAutomation: true)]
[ProvideBindingPath]
internal sealed class AvaloniaPackage : AsyncPackage
{
public static SolutionService SolutionService { get; private set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,8 @@ namespace AvaloniaVS.IntelliSense
/// </summary>
[Name("Avalonia XAML manupulator")]
[ContentType("xml")]
[ContentType("axaml")]
[ContentType("xaml")]
[Export(typeof(IWpfTextViewCreationListener))]
[TextViewRole(PredefinedTextViewRoles.Editable)]
[TextViewRole(PredefinedTextViewRoles.PrimaryDocument)]
internal sealed class XamlTextViewCreationListener : IWpfTextViewCreationListener
{
private readonly IServiceProvider _serviceProvider;
Expand Down
1 change: 0 additions & 1 deletion AvaloniaVS.Shared/Services/EditorFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ namespace AvaloniaVS.Services
/// Implements <see cref="IVsEditorFactory"/> to create <see cref="DesignerPane"/>s containing
/// an Avalonia XAML designer.
/// </summary>
[Guid(AvaloniaVS.Constants.AvaloviaFactoryEditorGuidString)]
internal sealed class EditorFactory : IVsEditorFactory, IDisposable
{
private readonly AvaloniaPackage _package;
Expand Down