open_document

Function open_document 

Source
pub(super) async fn open_document(
    environment: &MountainEnvironment,
    uri_components_dto: Value,
    language_identifier: Option<String>,
    content: Option<String>,
) -> Result<Url, CommonError>
Expand description

Opens a document. If the URI scheme is not native (file), it attempts to resolve the content from a registered sidecar provider (TextDocumentContentProvider).