Skip to main content

extract_document_uri

Function extract_document_uri 

Source
pub fn extract_document_uri(method: &str, params: &Value) -> Option<Uri>
Expand description

Extract the document URI from an LSP request’s params by method name.

Used by the daemon for auto-open: if the request targets a specific file, the daemon ensures the file is opened before forwarding the request.