Visual studio data-bind attribute highlighting [knockout.js]

Viewed 931

In previous versions of Visual Studio I've had knockout.js syntax highlighting.

Since moving to Visual Studio 2017 Community building in Razor however, the syntax highlighting is gone and I found no way to enable it.

Interesting is however, that when I put the very same code into project built on Webforms, the highlighting seems to work at least to some degree

Is there anything I can do to enable syntax hightlighting for Razor? And/Or is there a way how to make custom syntax highlighting rules? [e.g. highlight specific data attribute, or so]

Syntax highlighting comparison when building Webforms and Razor project

2 Answers
Related