Auto Generate

I am attempting to use the auto generate function but it is completely grayed out. I have placed the cursor inside a class and pressed alt-insert. The Generate list appears but I am unable to select anything. I have used this function before but the list is grayed in my new class. Here is my code.

public class Test
{
int itest;
<---cursor here, press alt-ins
}


Am I not meeting some minimum requirements? I couldn't find any in the documentation.

2 comments
Comment actions Permalink

Hello Kelly,

I can't reproduce it in plain C# project. Could you please tell us a bit
more about your project, solution, etc? Thanks.

Sincerely,
Ilya Ryzhenkov

JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


K> public class Test
K> {
K> int itest;
K> <---cursor here, press alt-ins
K> }


0
Comment actions Permalink

I'm not sure what the problem was, but restarting visual studio fixed it.

0

Please sign in to leave a comment.