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

namespace lsp::provider::text_document
{
    std::string DocumentColor::GetMethod() const
    {
        return "textDocument/documentColor";
    }

    std::string DocumentColor::GetProviderName() const
    {
        return "TextDocumentDocumentColor";
    }

    std::string DocumentColor::ProvideResponse(const protocol::RequestMessage& request, ExecutionContext& context)
    {
        static_cast<void>(context);
        spdlog::debug("TextDocumentDocumentColorProvider: 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
    }
}
