Module OpenDocument

Module OpenDocument 

Source
Expand description

Document opening and content resolution logic.

Handles opening documents from file:// URIs, custom scheme URIs (via sidecar providers), and already-open documents.

Functionsยง

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