Skip to content

Add `workspace.activeTextDocument` to the extensions API

Warren Gifford requested to merge active-text-document into master

Created by: lguychard

Added this to address the shortcomings of onDidOpenTextDocument, most notably its racy behaviour: the event may fire before extension activation, making it impossible to reliably react to the currently open text document upon extension activation, which is how extension authors expect to use it.

Merge request reports

Loading