ReadonlyonReadonlyonReadonlyonReadonlyonReadonlyonProtectedfireeslint-disable @typescript-eslint/no-explicit-any
Optionaloptions: { content?: string; encoding?: string; language?: string }Retrieve document and open it in the editor if need.
path to the resource
Optionaloptions: TextDocumentShowOptionsif options exists, resource will be opened in editor, otherwise only document object is returned
eslint-enable @typescript-eslint/no-explicit-any