MCPcopy Create free account
hub / github.com/PHPantom-dev/phpantom_lsp / signature_help

Method signature_help

src/server.rs:801–818  ·  view source on GitHub ↗
(&self, params: SignatureHelpParams)

Source from the content-addressed store, hash-verified

799 }
800
801 async fn signature_help(&self, params: SignatureHelpParams) -> Result<Option<SignatureHelp>> {
802 let uri = params
803 .text_document_position_params
804 .text_document
805 .uri
806 .to_string();
807 let position = params.text_document_position_params.position;
808
809 let backend = self.clone_for_blocking();
810 let uri_clone = uri.clone();
811 tokio::task::spawn_blocking(move || {
812 backend.handle_with_position("signature_help", &uri_clone, position, |content, pos| {
813 backend.handle_signature_help(&uri_clone, content, pos)
814 })
815 })
816 .await
817 .unwrap_or(Ok(None))
818 }
819
820 async fn document_highlight(
821 &self,

Callers 5

run_signature_helpFunction · 0.80
sig_help_atFunction · 0.80
cross_file_psr4_methodFunction · 0.80
signature_atFunction · 0.80

Calls 4

clone_for_blockingMethod · 0.80
cloneMethod · 0.80
handle_with_positionMethod · 0.80
handle_signature_helpMethod · 0.80

Tested by

no test coverage detected