VS Code API
    Preparing search index...

    Variable onDidOpenTextDocumentConst

    onDidOpenTextDocument: Event<TextDocument>

    An event that is emitted when a text document is opened or when the language id of a text document has been changed.

    To add an event listener when a visible text document is opened, use the TextEditor events in the window namespace. Note that: