#include <spdlog/spdlog.h>
#include "./show_document.hpp"
#include "../../protocol/transform/facade.hpp"

namespace lsp::provider::window
{
    std::string ShowDocument::GetMethod() const
    {
        return "window/showDocument";
    }

    std::string ShowDocument::GetProviderName() const
    {
        return "WindowShowDocument";
    }

    std::string ShowDocument::ProvideResponse(const protocol::RequestMessage& request, ExecutionContext& context)
    {
        static_cast<void>(context);
        spdlog::debug("WindowShowDocumentProvider: Providing response for method {}", request.method);

        // TODO: Implement the actual request handling logic
        // 1. Parse request parameters
        // 2. Process the request using appropriate services
        // 3. Return formatted response
        return "{}"; // Placeholder response
    }
}
