asp.net mvc - Maintaining Javascript Code highlighting inside @section tag with Razor -


i've joined new dev team. have javascript & knockout inside @section {} declaration in razor views. javascript has no color highlighting @ all, how can around this?

thanks!

unfortunately, there's nothing can there. suggestion rid of javascript inside views, , move them external js-files.

of course, (and should) gradually. approach move script every time need edit it. way benefit highlighting don't need spend lot of time upfront on refactoring. you'll end cleaner solution well.


Comments

Popular posts from this blog

How can I fetch data from a web server in an android application? -

android - java.net.UnknownHostException(Unable to resolve host “URL”: No address associated with hostname) -

jquery - How can I dynamically add a browser tab? -