xsharp.eu • A couple of Visual Studio tips - Page 2
Page 2 of 2

A couple of Visual Studio tips

Posted: Tue Sep 05, 2017 6:13 pm
by ic2
Hello Nick,

Yes, I see that right mouse menu, I see the light bulb + Quick Actions and Refactoring Ctrl+ on top of the menu, and when I click on that I get nothing else than the light bulb as in my picture.

But I think I know what causes it to work for you and not for me. In https://marketplace.visualstudio.com/it ... TypeToFile I see that in order to have that option, you need to install an extensions, which you most likely did.

Although I probably have already separate files for each class I think it's a good idea to install that, in case I haven't.

Dick

A couple of Visual Studio tips

Posted: Tue Sep 05, 2017 6:55 pm
by NickFriend
No, I haven't installed any extensions....

It probably comes back to what Robert said - I'm talking about classes, structs, enums etc., not individual methods of classes.

Try doing this over the declaration of a class to see what options you get.

Nick

A couple of Visual Studio tips

Posted: Wed Sep 06, 2017 10:52 am
by ic2
It probably comes back to what Robert said - I'm talking about classes, structs, enums etc., not individual methods of classes.

Try doing this over the declaration of a class to see what options you get.
That's it Nick! Below what I see then in VS 2015 and in VS 2017. For all future readers.
MoveOptionVS2015.JPG
MoveOptionVS2015.JPG (17.55 KiB) Viewed 270 times
MoveOptionVS2017.JPG
MoveOptionVS2017.JPG (33.33 KiB) Viewed 270 times
Dick