Intellisense for kendo ui in general (Javascript)

2 posts, 0 answers
  1. sylvester
    sylvester avatar
    1 posts
    Member since:
    Aug 2013

    Posted 19 Aug 2013 Link to this post


    I am trying to get the intellisense to work with my VS2010 express.

    I have followed the instruction from the thread below :
    Everything is working as shown in the tread.

    But I would like to know the "level" of intellisense that it supports. Or how detail the current Intellisense would help us to code.

    For example, when I type
    It will list all the available kendo object type available
    kendoComboBox, etc......

    so if I want to initialize a kendoAutoComplete
    I will use

    The question I want to ask is that ...
    does the intellisense stops right here ?
    for example, after I have type $('#foo').kendoAutoComplete, it does list all the avaialbe options for initalizing the auto complete control

    now, let say i want to initiazlie the autocomplete control with a datasource.
    the correct syntax is
    $('#foo').kendoAutoComplete({ dataSource: data});

    but if I then type
    $('#foo').kendoAutoComplete({ d
    the intellisense won't suggest that there is a dataSource property available such that I can initilize the autoComplete control with the specified datasource.

    Is the Intellisense suppose to suggest the dataSource and other properties?
     As suggested by Faisal in this thread

    Thank you

  2. Alexander Popov
    Alexander Popov avatar
    1442 posts

    Posted 21 Aug 2013 Link to this post

    Hi Sylvester,

    Currently the IntelliSense is unable to suggest the dataSource and other properties while declaring an object. The dynamic type nature of JavaScript puts certain limits of how deep the IntelliSense can go and these limits are reached in the examples you gave.

    Kind Regards,
    Alexander Popov
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top