[DevExpress Support Team: CLONED FROM T651267: coderush three dots button]
Hello George,
I have a similar problem. I have installed the most current version of CodeRush, but the CodeRush refacturing items do not appear in the default Visual Studio refactoring menu .
Regards,
Jörgs
Hello Jörg,
To help us research this issue, please provide us with some additional information:
- Information about extensions you have installed (click the Copy Info button in the Help -> About Microsoft Visual Studio dialog);
- CodeRush settings (they can be obtained here: %AppData%\CodeRush\Settings);
- a screencast that illustrates the problem in action. For instance, you can capture it using the free Jing tool from TechSmith.
I look forward to your response.
Hello Jörg,
Thank you for providing your CodeRush settings.
I tried to reproduce this issue on a clean machine with CodeRush 18.1.9 and your settings, but without success.
All CodeRush code actions are available and work fine on my side.
I have attached a screencast that illustrates my attempts and the project where I try to reproduce this issue.
Would you please download this project and check that the "Optimize Namespace References" and the "Inline Temp" code actions and the "try…catch" embedding are available on your side (in places as at the screencast).
If they are not available, it would be helpful if you provide the following information:
- CodeRush log files (they can be obtained here: %LocalAppData%\CodeRush\Logs);
- the Visual Studio activity log file (it can be obtained here: %AppData%\Microsoft\VisualStudio%%VS_Version%%\ActivityLog.xml (replace %%VS_Version%% with the folder in that your VS is installed))
Note, if you want I can mark this thread as private, and no one except you and DevExpress Team can access to the information you provided.
I look forward to your response.
Hello Jörg,
Did you have a chance to try the sample project I provided in my previous reply?
Does CodeRush work as expected in this project or you are still experiencing issues with refactorings availability?
Hello Pavel,
sorry but I was on vacation, so it took a while to get back to this issue.
I don't know exactly what has happened, but now it seems to work for most of the refactoring functions.
What I am still missing is the old Coderush way to extract methods, even into other classes. Only the Visual Studio way is shown in the context menu.
What about my my custom made selection embeddings. How can I import them in the new CodeRush?
Regards,
Jörg
Hello Jörg,
Thank you for the update.
I am happy to hear that CodeRush refactorings are available on your side.
You are right; we have not ported the "Extract Method" refactoring from CodeRush Classic because Visual Studio has a similar refactoring out of the box.
I added your request to our backlog, so we will notify you when we decide to implement this functionality in CodeRush.
Regarding custom selection embeddings, I have created a separate ticket: Import custom selection embeddings from CodeRush Classic. We will answer it shortly.