A modern Windows desktop application that helps split code containing multiple file headers into separate files.
- Split Code Files: Split code with file headers (// filename.ext) into individual files
- Modern UI: Built with WinUI 3 and Fluent Design for a native Windows 10/11 experience
- Directory Structure Support: Automatically creates appropriate folder structure for files with path separators
- File Preview: View individual parsed files before saving them
- Paste code containing file headers (e.g.,
// filename.ext
) into the text area - Click "Parse Files" to extract individual files
- Review the parsed files in the list
- Click "Download All Files" to save all files to a selected folder
// ViewTransitions.Blazor/BlazorViewTransitionService.cs
using Microsoft.JSInterop;
using System.Text.Json;
using ViewTransitions.Core;
namespace ViewTransitions.Blazor;
/// <summary>
/// Blazor implementation of the view transition service.
/// </summary>
public class BlazorViewTransitionService : IViewTransitionService, IAsyncDisposable
{
// Class implementation...
}
// ViewTransitions.Blazor/TransitionView.cs
using Microsoft.AspNetCore.Components;
namespace ViewTransitions.Blazor;
/// <summary>
/// Component for managing transition state across components.
/// </summary>
public partial class TransitionView : ComponentBase, IAsyncDisposable
{
// Component implementation...
}
- Download the latest MSI installer from the Releases page
- Run the installer and follow the prompts
- Clone this repository
- Open the solution in Visual Studio 2022
- Build and run the application
- Windows 10 version 1809 or later (Windows 11 recommended for best experience)
- Windows App SDK 1.4 or later
- Visual Studio 2022 with the following workloads:
- .NET Desktop Development
- Universal Windows Platform development
- Windows App SDK C# Templates
- Windows App SDK 1.4+
MainWindow.xaml/xaml.cs
: Main application UI and logicApp.xaml/xaml.cs
: Application entry point
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the Unlicense - see the LICENSE file for details.
- Built with Windows App SDK
- Uses WinUI 3 for modern UI components