Visual Studio - quick key or snippet for <%%>
My goal is to quickly type this:
<%= %>
Can anyone suggest a way to make it easier in Visual Studio to insert an HTML escape block. (I'm not even sure about the name of this piece of code!)
I understand that entering text <%
in a code editor will autocomplete the escape block for me, but maybe there is an easier way to enter this block?
Maybe there is a snippet or an existing keyboard shortcut built into Visual Studio to accomplish this?
Also, it would be nice:
<%= Html.Encode() %>
0
source share