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

namespace lsp::provider::workspace
{
    std::string DidChangeWatchedFiles::GetMethod() const
    {
        return "workspace/didChangeWatchedFiles";
    }

    std::string DidChangeWatchedFiles::GetProviderName() const
    {
        return "WorkspaceDidChangeWatchedFiles";
    }

    void DidChangeWatchedFiles::HandleNotification(const protocol::NotificationMessage& notification, ExecutionContext& context)
    {
        static_cast<void>(context);
        spdlog::debug("WorkspaceDidChangeWatchedFilesProvider: Handling notification for method {}", notification.method);

        // TODO: Implement the actual notification handling logic
        // 1. Parse notification parameters
        // 2. Update appropriate services/state
        // 3. Trigger any necessary side effects
    }
}
