The associated uri for this document.
Dispose of the custom document.
This is invoked by the editor when there are no more references to a given CustomDocument
(for example when
all editors associated with the document have been closed.)
友链:VS Code 中文文档 | VS Code 官网文档 | VS Code 扩展市场
Represents a custom document used by a
CustomEditorProvider
.Custom documents are only used within a given
CustomEditorProvider
. The lifecycle of aCustomDocument
is managed by the editor. When no more references remain to aCustomDocument
, it is disposed of.