Josh Kodroff
Josh Kodroff

Reputation: 28141

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 LiveTemplate in the Visual Studio 2010 markup editor?

Upvotes: 1

Views: 85

Answers (1)

wal
wal

Reputation: 17759

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

See below a sample snippet I made and its usage.

enter image description here

enter image description here

Upvotes: 1

Related Questions