I've been working with Visual Studio for years, and all this time I have not come across this feature till now.
Visual Studio has built in code snippets, in order to access them you need to first place your cursor where you want some code to be pasted and then you need to press
CTRL + K + CTRL X
I haven't been able to take a screenshot of this, but what will happen is a dialog box will appear with a set of folders. Simply use your cursor keys to navigate to a folder (in my case it is Visual C#) and then press enter, this will reveal the snippets. Browse through the snippet and then hit enter to when you find the one that you want.
0 comments:
Post a Comment