Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

How to create custom snippets in Visual Studio 2022 for Blazor files (*.razor)

$
0
0

Is there a way that I can create my own custom snippets for Blazor files in Visual Studio 2022? I'm able to create custom snippets for C# using <Code Language="CSharp"> in the .snippet file however, there is no such thing as <Code Language="blazor">. I can import using CSharp or HTML for code language but I'm unable to use it while coding on *.razor files. The shortcut shows up when I start typing but hitting tab does not bring the code snippet.

Is there any workaround or extension that can do this?


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>