I have created the multiple custom editor using VSPackage.After opening some editors and close visual studio, later if i open the visual studio with diffrent instance then same editor should be opened at time which i closed last instance.
I am using this to open the multiple editor.
DTE ppHier = (DTE)Microsoft.VisualStudio.Shell.Package.GetGlobalService(typeof(DTE));
ppHier.ItemOperations.NewFile(path, name, EnvDTE.Constants.vsViewKindDesigner);
Thanks in advance.