Current filter:
                                You should refresh the page.
                                  • I've found that Move Type to File refactoring not always copies the comments found at the top of my source file.

                                    I find it very convenient to have the Copyright comment copied along when I extract some type from a source file into another file, but this only happens if the code that I extract requires some additional using statements.

                                    Try extracting IFoo on this piece of source code:

                                    [C#]
                                    // Copyright © 2016, EPSITEC SA, CH-1400 Yverdon-les-Bains, Switzerland // Author: Pierre ARNAUD, Maintainer: Pierre ARNAUD using System.Threading.Tasks; namespace Demo { public interface IBar { Task DoBar(); } public interface IFoo { Task DoFoo(); } }

                                    it will include the header.

                                    However, in this piece of code it won't:

                                    [C#]
                                    // Copyright © 2016, EPSITEC SA, CH-1400 Yverdon-les-Bains, Switzerland // Author: Pierre ARNAUD, Maintainer: Pierre ARNAUD using System.Threading.Tasks; namespace Demo { public interface IBar { Task DoBar(); } public interface IFoo { string GetFoo(); } }
                                • George K (DevExpress) 06.14.2016

                                  Hi Pierre,
                                  Thank you for the provided code snippets. I have reproduced the problem.
                                  We will do our best to fix the issue as soon as possible. Once we resolve the problem, we will let you know about this in the context of this ticket.

                                1 Solution

                                Creation Date Importance Sort by

                                Fixed:

                                • Pierre Arnaud 06.17.2016

                                  Can I have a hotfix? Or is this not possible with the prerelease Roslyn version?

                                • Artem L (DevExpress) 06.17.2016

                                  Hi Pierre,
                                  We have made a fix, but we need additional time to carefully test it. Also, we are going to release version 16.1.4 in the next few days. We will prepare a hotfix just after the release. Once we do, you will be immediately notified with email.

                                • Artem L (DevExpress) 06.24.2016

                                  Hello Pierre,
                                  Hotfix is ready:DevExpress.CodeRush.Roslyn-16.1.4.16180.vsix
                                  You are welcome to download and try it.
                                  Please let us know if we can be of further assistance.