Restore Preview and Tab Integration

Job ID: 40566011

Budget: $10 – $30 USD

My Avalonia-based IDE (C# / .NET 10) used to show a real-time XAML Previewer for every .axaml file. After introducing a TabControl the preview vanished, and .axaml files now open with no preview at all. I also have a separate CodeEdit window that still pops up in its own top-level window; I want that editor to appear as another tab inside the existing MainWindow instead, using the framework’s standard tab styling—no fancy visuals, just the normal look.

What I need you to do is dive into the current codebase, locate whatever broke when the TabControl was added, and wire the XAML Previewer back in so the live view refreshes exactly as it did before. While you are in there, refactor the CodeEdit window so that opening a .cs file adds a new tab within the same MainWindow instance, side-by-side with any .axaml or other open files.

Deliverables
• Fully functional live preview for all .axaml files via the XAML Previewer, updating on change or save as it did previously.
• CodeEdit content hosted inside the existing TabControl, opening one tab per .cs file, matching the standard Avalonia tab appearance and behaviour.
• Clear, well-commented code or pull request so I can see every change.

If you’re comfortable working with Avalonia, reactive UI patterns, and the XAML Previewer internals, this should be a straightforward fix. I’ll have the repo ready and can test your changes immediately.