You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently for an in-proc extension I think the only way to close a file is with DTE.ActiveDocument.Close() and I don't know if there's a way to close a file in an out-of-proc extension. Also see #367.
There is also no way to invoke File.FormatDocument() .
For either a single-file (DTE.ActiveDocument) or files accessed via Extensibility.GetOpenDocumentsAsync() it would be very useful if ITextDocumentSnapshot had Close() and Format() methods.
The text was updated successfully, but these errors were encountered:
Currently for an in-proc extension I think the only way to close a file is with
DTE.ActiveDocument.Close()
and I don't know if there's a way to close a file in an out-of-proc extension. Also see #367.There is also no way to invoke
File.FormatDocument()
.For either a single-file (
DTE.ActiveDocument
) or files accessed viaExtensibility.GetOpenDocumentsAsync()
it would be very useful ifITextDocumentSnapshot
hadClose()
andFormat()
methods.The text was updated successfully, but these errors were encountered: