@@ -362,9 +362,7 @@ void MasterServer::register_handlers() {
362362 }());
363363 });
364364
365- // / ---------------------------------------------------------------
366365 // / Document lifecycle — handled directly by MasterServer.
367- // / ---------------------------------------------------------------
368366
369367 peer.on_notification ([this ](const protocol::DidOpenTextDocumentParams& params) {
370368 if (lifecycle != ServerLifecycle::Ready)
@@ -482,9 +480,7 @@ void MasterServer::register_handlers() {
482480 LOG_DEBUG (" didSave: {}" , path);
483481 });
484482
485- // / ---------------------------------------------------------------
486483 // / Feature requests — stateful forwarding.
487- // / ---------------------------------------------------------------
488484
489485 peer.on_request ([this ](RequestContext& ctx, const protocol::HoverParams& params) -> RawResult {
490486 auto path = uri_to_path (params.text_document_position_params .text_document .uri );
@@ -592,9 +588,7 @@ void MasterServer::register_handlers() {
592588 return indexer.resolve_hierarchy_item (uri, path, range, data, session);
593589 };
594590
595- // / ---------------------------------------------------------------
596591 // / Feature requests — index-based with AST fallback.
597- // / ---------------------------------------------------------------
598592
599593 peer.on_request ([this , query_at](RequestContext& ctx,
600594 const protocol::DefinitionParams& params) -> RawResult {
@@ -650,9 +644,7 @@ void MasterServer::register_handlers() {
650644 co_return serde_raw{" null" };
651645 });
652646
653- // / ---------------------------------------------------------------
654647 // / Feature requests — stateless forwarding.
655- // / ---------------------------------------------------------------
656648
657649 peer.on_request ([this ](RequestContext& ctx,
658650 const protocol::CompletionParams& params) -> RawResult {
@@ -677,9 +669,7 @@ void MasterServer::register_handlers() {
677669 sit->second );
678670 });
679671
680- // / ---------------------------------------------------------------
681672 // / Hierarchy queries — index-based.
682- // / ---------------------------------------------------------------
683673
684674 peer.on_request (
685675 [this , lookup_at](RequestContext& ctx,
@@ -772,9 +762,7 @@ void MasterServer::register_handlers() {
772762 co_return to_raw (results);
773763 });
774764
775- // / ---------------------------------------------------------------
776765 // / clice/ extension commands.
777- // / ---------------------------------------------------------------
778766
779767 peer.on_request (
780768 " clice/queryContext" ,
0 commit comments