To reference the IntelliSense, use either of the following approaches: Make sure the naming prefix of the IntelliSense file matches the kendoui bundle name.įor Visual Studio 2017, you must disable its TypeScript-based Intellisense in order for this to work. For Visual Studio 2012 and later, place the intellisense.js file next to the kendoui bundle script.For Visual Studio 2008 SP1 and Visual Studio 2010, place the vsdoc.js file next to the kendoui bundle script.InstallationĮach bundle package includes a vsdoc directory which contains a vsdoc.js and an intellisense.js file for JavaScript.
Visual studio tools for unity javascript code#
To enforce the changes, restart Visual Studio.īy utilizing the suggested approach, you can use the JavaScript documentation provided in the vsdoc files as demonstrated in the following section on installation.Īlternatively, you can also use the TypeScript definitions in JavaScript code by utilizing the JSDoc syntax as demonstrated in the followign section on JSDoc Syntax for TypeScript-based Intellisense. To get the VSDoc-based IntelliSense, you can try to revert to the previous behavior by going to Tools > Options > Text Editor > JavaScript/TypeScript > Language Service and uncheck the checkbox under Enable the new JavaScript Language service. With this in mind, you may want to consider writing directly in TypeScript and using the TypeScript definitions for Kendo UI. Microsoft/TypeScript GitHub repo wiki: JSDoc Support in JavaScript.Microsoft/TypeScript GitHub repo wiki: JavaScript Language Service in Visual Studio.This means that the -vsdoc.js files are no longer read and supported for JavaScript IntelliSense and that to get IntelliSense for non-standard object types including custom widgets like the Kendo UI widgets, you need to treat it like a strongly typed language.įor more information on this service, the way it works, and the features it supports, refer to: VS 2017Īs of the Visual Studio 2017 release, Microsoft use a new language service for JavaScript IntelliSense that is based on TypeScript. Kendo UI Visual Studio IntelliSense is integrated in Visual Studio 2008 SP1 or later versions and it also works with Visual Web Developer (free).įor versions of Visual Studio prior to Visual Studio 2017, refer to the section on installation. The approach was initially described in Scott Guthrie's blog post jQuery IntelliSense in VS 2008. Kendo UI provides Intelligent code completion for Visual Studio (VS) by using an additional vsdoc or intellisense JavaScript file.
Visual studio tools for unity javascript trial#
Download free 30-day trial Visual Studio IntelliSense