Change trigger implementation

Hi,

I've noticed that when launching unit test from Resharper files were saved but not formatted.
In fact Resharper does not send any visual studio 'standard save command'.

I managed to find a way to trigger a format before a document save which may or may not have been triggered by some of theses commands :
VSConstants.VSStd97CmdID.Save
VSConstants.VSStd97CmdID.SaveProjectItem
VSConstants.VSStd97CmdID.SaveAs
VSConstants.VSStd97CmdID.SaveProjectItemAs
VSConstants.VSStd97CmdID.SaveSolution

I hope it will help you.

Best regards,

manuc66