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

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

    std::string DidChangeWorkspaceFolders::GetProviderName() const
    {
        return "WorkspaceDidChangeWorkspaceFolders";
    }

    void DidChangeWorkspaceFolders::HandleNotification(const protocol::NotificationMessage& notification, ExecutionContext& context)
    {
        static_cast<void>(context);
        spdlog::debug("WorkspaceDidChangeWorkspaceFoldersProvider: 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
    }
}
