Can I detect document saved (not changed) with Visual Studio Workspace in a VSIX?
问题 In my extension I use to tap into the document saved event using DTE: this._events2 = (Events2)this._dte.Events; //setup document events this._documentEvents = this._events2.DocumentEvents; this._documentEvents.DocumentSaved += _documentEvents_DocumentSaved; I am migrating my extension to VS 2017 and want to start using the Roslyn stuff instead of DTE. I figured out how to get the Visual Studio Workspace and tap into the workspace changed event. Now I have access to all these document events