How to make a new line after enter?

Jan 16, 2013 at 5:53 PM


I created a simple snippet but what I find is once I create the snippet and hit enter my cursor goes back to the start or my snippet.

When I use a MS snippet and hit enter it goes to the next line. How can I do that with my snippets?

Jan 19, 2013 at 10:48 PM

In the snippet editor if you right click you will see an option called something like "Insert $end$ marker".  This will tell VS where to place the cursor after the snippet is inserted.