Reputation: 28608
Usually in intellij is automatically detects that a string is HTML, in which case intellij knows to highlight the string as HTML, making the tags in a special color etc.
But every now and then I come across a string which contains HTML but it is not highlighted.
How can I manually tell intellij to identify the string as HTML?
Upvotes: 2
Views: 231
Reputation: 401975
You can configure a custom code injection using intention action for the string:
Upvotes: 1