• Creates a new text document.

    Parameters

    • uri: string

      The document's uri.

    • languageId: string

      The document's language Id.

    • version: number

      The document's initial version number.

    • content: string

      The document's content.

    Returns TextDocument