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

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

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -