handle_document_open

Function handle_document_open 

Source
pub async fn handle_document_open(
    uri: Uri,
    content: String,
    state: Arc<ServerState>,
    client: Client,
    config: Arc<RwLock<DepsConfig>>,
) -> Result<JoinHandle<()>>
Expand description

Generic document open handler using ecosystem registry.

Parses manifest using the ecosystem’s parser, creates document state, and spawns a background task to fetch version information from the registry.