[DevExpress Support Team: CLONED FROM T489804: XPO plugin for CodeRush Roslyn]
Currently an using statement is added - but not the place where existing usings are - and, currently i see that my header comments are duplicated - but i cannot stable reproduce it - in some files it happen, in some not - see attached video
Refactoring - 'Update XPO Fields Class' generates duplicated header comments
Answers approved by DevExpress Support
We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.
Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.
- v17.1.5Download Official Update
Hi Martin,
Thank you for providing a screencast. I have tried to reproduce this issue locally but my attempts were unsuccessful. I have recorded and attached a screencast to this comment that illustrates the behavior on my side. To help us reproduce this issue on our side, please export and provide us with your Visual Studio and CodeRush settings. Refer to the following article: How to: Share Settings Between Computers or Visual Studio Versions for instructions on how to export Visual Studio settings. To export CodeRush settings, perform the following steps:
Hi Alex,
attached are the needed files!
Alex i could reproduce it now - the key is that the baseclass is in another assembly! See attachment - you can replicate both Problems with it!
Hi Martin,
Thank you for providing the sample project and CodeRush settings. I have reproduced the issue locally and we are working on it.
Also, I have noticed that you place using references inside an active namespace. CodeRush for Roslyn has an option for namespace references' declaration style. I recommend you set this option in accordance with your style. For this, please perform the following steps:
Thx for the Info Alex!
You are welcome, Martin.