开发者

How do I trigger a ReSharper LiveTemplate in the Visual Studio 2010 markup editor?

开发者 https://www.devze.com 2023-02-09 03:48 出处:网络
I created a LiveTemplate for a common HTML construct.When I use a LiveTemplate for C#, it correctly detects when I type the beginning of the LiveTemplate name.

I created a LiveTemplate for a common HTML construct. When I use a LiveTemplate for C#, it correctly detects when I type the beginning of the LiveTemplate name.

When I do this in the markup editor (i.e. the Source view for an ASPX file), I can't seem to get ReSharper to understand that I'm typing the name of a LiveTemplate.

How do I trigger a ReSharper LiveTempl开发者_如何学编程ate in the Visual Studio 2010 markup editor?


Type the entire snippet name and then press Tab (instead of Ctrl-Space)

See below a sample snippet I made and its usage.

How do I trigger a ReSharper LiveTemplate in the Visual Studio 2010 markup editor?

How do I trigger a ReSharper LiveTemplate in the Visual Studio 2010 markup editor?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号