Click or drag to resize
Workspace Class
A virtual workspace representing the actual workspace in VS Code.
Inheritance Hierarchy
SystemObject
  VSCode.EditorWorkspace

Namespace: VSCode.Editor
Assembly: VSCode (in VSCode.dll) Version: 1.0.0
Syntax
C#
public class Workspace : IDisposable

The Workspace type exposes the following members.

Constructors
  NameDescription
Public methodWorkspace
creates a new Workspace instance using the provided EditorFeature.
Top
Properties
  NameDescription
Public propertyDocuments
A read-only list of WorkspaceDocument instances.
Public propertyState
A state container that can be used to store objects within the context of the workspace.
Top
Methods
Events
  NameDescription
Public eventDocumentChanged
Raised when a WorkspaceDocument has changed.
Public eventDocumentClosed
Raised when a WorkspaceDocument has closed.
Public eventDocumentOpened
Raised when a WorkspaceDocument has opened.
Top
Extension Methods
  NameDescription
Public Extension MethodToJObject
Converts this instance to a JObject.
(Defined by ObjectExtensions.)
Top
See Also