How to register custom html tags in Resharper?

I would like to use custom tags in my html files to include custom knockout components [1]:

<like-widget params="value: userRating"></like-widget>

I added the tag to the VisualStudio html formatting settings:

Tools > Options > Text Editor > HTML (Web Forms) > Formatting > Tag Specific Options

Resharper still does not recognize the custom tag and gives the warning

Cannot resolve tag "like-widget"

How do I tell Resharper to allow that specific tag without disabling the unknown tag warning? Is there some sort of setting file where I can register custom html tags?

Related article:

How to add custom HTML Tags to Visual Studio and Avoid Squiggly Lines

Answers


It is not possible right now - there is a related ticket https://youtrack.jetbrains.com/issue/RSRP-434190.


I would suggest to Disable the Inspection for Unknown HTML Tags as I indicated here:

Can I stop ReSharper objecting to Ionic HTML tags?


Need Your Help

In C#, how could I move my label right at a certain speed to a certain area?

c# winforms visual-studio animation label

I'm trying to make my label which in its original position is top left. What I want to happen is when the program starts, it'll gradually in about 1.5 seconds in a glide motion go to the center top...

Abstract class design

c# oop abstract-class

Is this an acceptable design ??