Can VSCode TextDocument.fileName property be an empty string or null?

23 Views Asked by At

Visual Studio Code API extensively uses TextDocument abstraction: https://code.visualstudio.com/api/references/vscode-api#TextDocument
As an author of a VSCode extension, I would like to know if it is possible for TextDocument fileName property to be an empty string or null/undefined? And if so in which cases it could be empty?

0

There are 0 best solutions below