ReSharper_Generate not working in all files
Environment: VS2015, VS2017, ReSharper 2017.1.3
I have a solution where the Alt-Ins shortcut is working in some classes but not in others. The issue is present in both VS2015 and VS2017 for the same solution.
I have tried un- and reinstalling ReSharper without any luck.
A colleague of mine with the same setup has no problems getting Alt-Ins working in both files so it must be a local issue on my machine.
I'm using the Visual Studio keyboard scheme and have tried resetting all keyboard mappings in VS and reapplying keyboard scheme in ReSharper.
Also the menu item "Generate code" in ReSharper -> Edit is only available in the class that "works".
Please advice
Claus
Please sign in to leave a comment.
Found out what caused the issue: The class is originally auto generated using some obscure tool. This has resulted in 3 lines in the beginning of the class:
//------------------------------------------------------------------------------
// <auto-generated>This code was generated by ...</auto-generated>
//------------------------------------------------------------------------------
Removing these lines resurrected the missing menu. So the difference between my colleagues machine and mine must be different RS versions (I guess).