Declined
Last Updated: 18 Oct 2021 13:51 by ADMIN
Jeff
Created on: 28 Jun 2013 13:53
Category: Kendo UI for jQuery
Type: Feature Request
4
Enable x-kendo-tmpl highlighting and intellisense
It would be wonderful to have code highlighting and Intellisense for script blocks using the text/x-kendo-tmpl type in Visual Studio.

Currently you can change the type to text/html to get partial html syntax highlighting, but it does not highlight Kendo specific elements inside #: #. 
2 comments
Imported User
Posted on: 05 Nov 2013 10:55
just upgraded to Visual Studio 2013 and you get highlighting and intellisense in Kendo UI templates without the for Kendo UI confusing Knockout intellisense inside data-bind=""
Imported User
Posted on: 29 Oct 2013 11:52
I did not know you could change the type to text/html and get the Visual Studio html editor to work inside the script tag. However, the IntelliSense you get inside a data-bind="" is for Knockout, not Kendo UI (see http://www.johnpapa.net/knockout-intellisense-in-visual-studio-2012/). I read in the Durandal docs that you could specify a namespace for Kendo UI using kendo.ns="kendo-" and then you could use data-kendo-bind="" (see http://durandaljs.com/documentation/KendoUI/). Perhaps then you won't get Knockout IntelliSense in your Kendo UI bindings. This may be fine if you were using Durandal and / or Knockout as well as Kendo UI, but if you're just using Kendo UI then you should not be required to add this namespace to your bindings to avoid the Knockout IntelliSense. Please Telerik work with Microsoft to provide a solution.