Telerik's Kendo UI Integration

Hello

I am about to commence a project using Webstorm and Telerik's Kendo UI for Javascript and HTML5. Both of these are new to me and I cannot find any good information as to how I configure Webstorm to recognise Kendo UI for code completion and general integration. If anyone can offer any advise I would be very grateful.

Thanks

0
2 comments

WebStorm provides no support for this framework.

To get completion, etc. working, you can download kendo.*.js files and set them up as JavaScript library (see https://blog.jetbrains.com/webstorm/2014/07/how-webstorm-works-completion-for-javascript-libraries/). Note that you need non-minified versions, types resolving works much worse when using compressed scripts. Or, even better, try using kendo-ui Typescript stubs - they can be downloaded in Settings | Languages & frameworks | JavaScript | Libraries, Download...

Note also that WebStorm knows nothing about kendo-specific HTML attributes. You can add all your k-* attributes to custom HTML tag attributes list in Settings | Editor | Inspections | HTML, Unknown HTML tag attribute: attributes from this list will be shown up in completion list and not reported as not allowed

0
Avatar
Permanently deleted user

Thank you Elena for such a thoughtful answer. It's all completely new to me so I'll have to move forward by trial and error. Telerik provide an installer for Visual Studio integration but not for Webstorm unfortunately.

0

Please sign in to leave a comment.