Kendo UI provides Intelligent code completion for Visual Studio (VS) by using an additional
The approach was initially described in Scott Guthrie's blog post jQuery IntelliSense in VS 2008. Kendo UI Visual Studio IntelliSense is integrated in Visual Studio 2008 SP1 or later versions and it also works with Visual Web Developer (free).
For versions of Visual Studio prior to Visual Studio 2017, refer to the section on installation.
For more information on this service, the way it works, and the features it supports, refer to:
With this in mind, you may want to consider writing directly in TypeScript and using the TypeScript definitions for Kendo UI.
vsdoc files as demonstrated in the following section on installation.
Each bundle package includes a
vsdoc directory which contains a
vsdoc.js and an
- For Visual Studio 2008 SP1 and Visual Studio 2019, place the
vsdoc.jsfile next to the
- For Visual Studio 2012 and later, place the
intellisense.jsfile next to the
Make sure the naming prefix of the IntelliSense file matches the
kendoui bundle name.
Visual Studio 2008 SP1 - 2010
Visual Studio 2012 and later
Visual Studio 2017
For Visual Studio 2017, you must disable its TypeScript-based Intellisense in order for this to work. See the Visual Studio 2017 section.
Options for widget initialization
To reference the IntelliSense, use either of the following approaches:
- Reference the Kendo UI Visual Studio IntelliSense when the script is directly added to a page as previously demonstrated. The
With the TypeScript-based IntelliSense in Visual Studio 2017, you can use TypeScript definitions to get IntelliSense with the default TypeScript-based IntelliSense mode. In this way, you will not have to disable the new language service and affect other parts of your workflow. This approach and the
vsdoc-based IntelliSense may not work and you might have to prune the code before executing it.
The following screenshots demonstrate how to declare variable types with JSDoc syntax.