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
Post a Comment