IProjectFileInvisibleEditorTracker Interface

Definition

A service for tracking invisible editors that are opened but should be considered as though they are real editors in user editable windows.

C++
public interface class IProjectFileInvisibleEditorTracker : IDisposable
Implements

Remarks

This supports LiveShare and Cloud Environment server scenarios.

Methods

EditorClosedAsync(Guid, Int32, CancellationToken)

Informs the system that the project file editor associated with the cookie has been closed.

EditorOpenedAsync(Guid, CancellationToken)

Informs the system that the project file is open in a text editor. This should be called before the user can make any edits.

Applies to

Proizvod Verzije
Visual Studio SDK 2019, 2022