37 lines
856 B
C++
37 lines
856 B
C++
module;
|
|
|
|
|
|
export module lsp.provider.initialized.initialized;
|
|
import spdlog;
|
|
|
|
import std;
|
|
|
|
import lsp.provider.base.interface;
|
|
import lsp.protocol;
|
|
|
|
export namespace lsp::provider
|
|
{
|
|
class Initialized : public AutoRegisterProvider<Initialized, INotificationProvider>
|
|
{
|
|
public:
|
|
static constexpr std::string_view kMethod = "initialized";
|
|
static constexpr std::string_view kProviderName = "Initialized";
|
|
Initialized() = default;
|
|
|
|
void HandleNotification(const protocol::NotificationMessage& notification, ExecutionContext& context) override;
|
|
};
|
|
}
|
|
|
|
namespace lsp::provider
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
void Initialized::HandleNotification(const protocol::NotificationMessage& notification, [[maybe_unused]] ExecutionContext& context)
|
|
{
|
|
spdlog::debug("Initialized notification {}", notification.method);
|
|
}
|
|
|
|
} |