♻️ 重构
This commit is contained in:
@@ -14,10 +14,9 @@ namespace lsp::provider
|
||||
return "Initialized";
|
||||
}
|
||||
|
||||
void Initialized::HandleNotification(const protocol::NotificationMessage& notification, ExecutionContext& context)
|
||||
void Initialized::HandleNotification(const protocol::NotificationMessage& notification, [[maybe_unused]] ExecutionContext& context)
|
||||
{
|
||||
static_cast<void>(context); // 如果不需要上下文,可以忽略
|
||||
spdlog::debug("InitializeProvider: Providing response for method {}", notification.method);
|
||||
spdlog::debug("Initialized notification {}", notification.method);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user