开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜