Click or drag to resize
EditorFeature Class
Provides editor-related features such as change detection and UI integration.
Inheritance Hierarchy
SystemObject
  VSCode.EditorEditorFeature

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

The EditorFeature type exposes the following members.

Constructors
  NameDescription
Public methodEditorFeature
Initializes a new instance of the EditorFeature class
Top
Properties
  NameDescription
Public propertyWorkspace
A virtual workspace representing the actual workspace in VS Code.
Remarks
Note Note
It is recommended that the Workspace property be used instead of listening to document change, open, and close events manually as it handles incremental synchronization automatically.
Top
Methods
  NameDescription
Public methodDispose
Public methodInitialize
Public methodLogMessage
Logs a message to the developer console in VS Code.
Public methodShowMessage
Shows a message in the VS Code UI.
Public methodShowMessageAsync
Shows a message in the VS Code UI and awaits an action by the user.
Top
Events
  NameDescription
Public eventConfigurationChanged
Raised when the synchronized configuration section has been changed in VS Code.
Public eventTextDocumentChanged
Raised when the contents of a text document have been changed.
Public eventTextDocumentClosed
Raised when a text document has been closed.
Public eventTextDocumentOpened
Raised when a text document has been opened.
Public eventTextDocumentSaved
Raised when a text document has been savedd.
Public eventWatchedFilesChanged
Raised when a watched file has changed.
Top
Extension Methods
  NameDescription
Public Extension MethodToJObject
Converts this instance to a JObject.
(Defined by ObjectExtensions.)
Top
See Also