Why don't Razor live templates work?

I've tried to create the following live template for quickly adding bootstrap tabs to my html and razor pages.  When I type the ttabs shortcut it just creates <ttabs></ttabs> instead of generating the code I have saved.  I've tried a number of the other shortcuts shown in the screen and most of them don't work either.  I've tried making mine available globally anywhere, but still it doesn't work.

 

0
1 comment

Hello Geoff, 

Thanks for contacting JetBrains support. 

There is a known issue with live templates in Razor: RIDER-97723 Custom Razor live template doesn't show in completion in html code. Please try to explicitly press CTRL + SPACE to trigger code completion. 

Thanks,

Tom

0

Please sign in to leave a comment.