Static
Private
_documentsStatic
createCreates a new in-memory text document or overwrites the existing one at path
.
a new MemoryFile
The virtual path to the file. Unlike a file system path, this can be an arbitrary string identifier, but it will be reported to VSCode as if it were a file system path. If another in-memory file exists at that path, this function will overwrite it.
Static
getGets an in-memory text document, if it exists.
The file, if it exists.
The vscode.Uri of the requested file. The scheme parameter
is ignored, so this will return a file even if the scheme is not MEMORY_SCHEME.
Only the path
is required to identify a file.
Generated using TypeDoc
A simple manager to create and retrieve in-memory text files.