After a clean install of CodeRush for Roslyn… everything works with code templation expansion (spacebar).
After I press the first time the Esc key into the code editor code expansion is no mor available and also I find it disabled into the SetupWizard .
Thanks.
Hello Pietro,
Thank you for contacting us.
To help us research this issue would you please provide the following information:
- CodeRush settings (from "%AppData%\CodeRush\Settings");
- CodeRush log files (from "%LocalAppData%\CodeRush\Logs");
- a screencast that illustrates the issue in action (you can capture it using a free Jing tool from TechSmith).
We look forward to your response.
I've uninstalled everything… deleted all teh CodeRush settings in the %AppData%\CodeRush\Settings\ folder.
It seems to work but I've to enable the "Always expand templates" in the Options\IDE\Intellisense
After disabling that the settings (expecially those you find in the SetupWizard) are lost.
Hello Pietro,
Thank you for providing the additional information.
I have researched it and managed to reproduce the following issue:
- have changed the language of the operating system to non-english;
- enabled the "Always expand templates" option;
- expanding templates works as expected, but Setup Wizard indicates that Template Expansion is disabled;
- also, there are a lot of identical shortcuts for the "TemplateExpand" action in my settings.
Here is screencast that illustrates the issue on my side: https://www.screencast.com/t/FdcBCYkG
We will fix this issue and let you know as soon as possible.
Would you clarify that you encounter exactly the same behavior?
The issue is only incorrect displaying the option in Setup Wizard or expanding templates also does not work on your side?
Yes it is exactly the behaviour I have… with multiple shortcuts for the spacebar.
And if I set "Always expand Intellisense" no more CR templates will be expanded .
Hello Pietro,
Thank you for the clarification.
Let me describe why we introduced the "Always expand Intellisense" option. When the built-in Visual Studio IntelliSense popup is active, pressing the "Space" key inserts/commits the selected IntelliSense item into the code editor. This is the default Visual Studio behavior to which many Visual Studio developers get used. Expanding CodeRush templates using the "Space" key conflicts with this built-in functionality. Therefore, we had to introduce an option to allow a developer to choose what behavior he or she prefers: insert an IntelliSense suggestion or expand a CodeRush template.
Am I correct that you prefer expanding CodeRush templates in this situation? If so, I suggest that you activate the "Always expand templates" option. This way, the selected IntelliSense suggestion will not be inserted and a CodeRush template will be expanded instead.
Here is a screencast that illustrates how this option works: https://www.screencast.com/t/SUbZ8rdWqI8G