Results 1 to 5 of 5

Thread: API Autocomplete

  1. #1
    Sencha User
    Join Date
    May 2011
    Posts
    13
    Vote Rating
    0
      0  

    Default API Autocomplete

    I am going to write an autocomplete plugin for my favorite text editor, Sublime Text.

    My thought right now is to go through the files in the pkgs folder. There I can find all the functions and configs for a class.

    Does anyone know of a better way of doing this?

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Vote Rating
    1272
      0  

    Default

    Those are built packages. If you want the separate files then you would have to go through the src folder. If you just wanted one file that had everything, ext-all-*.js would be a good one.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    May 2011
    Posts
    13
    Vote Rating
    0
      0  

    Default

    What about using JsDuck? Do you think it would be possible to export my own file which has all the info about the classes?

  4. #4
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Vote Rating
    1272
      0  

    Default

    Pretty positive JSDuck can export JSON
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  5. #5
    Sencha User
    Join Date
    May 2011
    Posts
    13
    Vote Rating
    0
      0  

    Default

    Thank You!

    If you use the option "--export api" with jsduck then it exports json that has the info for each class (functions, statics, etc).

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •