intersystems-community / vscode-objectscript

InterSystems ObjectScript extension for Visual Studio Code
https://docs.intersystems.com/components/csp/docbook/DocBook.UI.Page.cls?KEY=GVSCO
Other
106 stars 48 forks source link

VSCode file open and close events don't register in UserAction of %Studio.SourceControl.Base #1405

Closed isc-hwojnick closed 1 month ago

isc-hwojnick commented 1 month ago

As a part of the git-source-control package, we would like to be able to have the file open and close events register with the %Studio.SourceControl.Base class. This will allow us to make some of our features compatible in VSCode and not just studio and the management portal.

isc-bsaviano commented 1 month ago

@isc-hwojnick Should the events be fired only for documents opened in an editor tab, or any document that's "touched"? For example, expanding the unit test tree will "open" the document to resolve its methods, and then it immediately gets "closed".

isc-tleavitt commented 1 month ago

@isc-bsaviano I'd vote for editor tab only.