WorkspaceDocument Class |
Namespace: VSCode.Editor
public class WorkspaceDocument
The WorkspaceDocument type exposes the following members.
Name | Description | |
---|---|---|
![]() | WorkspaceDocument |
Creates a new WorkspaceDocument instance using the provided language, text, uri, and version.
|
Name | Description | |
---|---|---|
![]() | LanguageId |
The VS Code language ID assigned to the document.
|
![]() | State |
A state container that can be used to store objects within the context of the document.
|
![]() | Text |
The text of the document for the current Version.
|
![]() | Uri |
The VS Code URI for the document.
|
![]() | Version |
The current version of the document.
This may differ from the version present in VS Code if the last change notification has not been sent or processed.
|
Name | Description | |
---|---|---|
![]() | ToJObject |
Converts this instance to a JObject.
(Defined by ObjectExtensions.) |