1. #1
    Sencha User
    Join Date
    Aug 2011
    Posts
    33
    Vote Rating
    2
    tonyx is on a distinguished road

      0  

    Default Unanswered: Ext JS 4 Documentation API URL

    Unanswered: Ext JS 4 Documentation API URL


    I'm trying to get Ext JS to work with JetBrain's WebStorm. I'm following the blog post here to try to setup external API docs for Ext JS 4

    http://blog.jetbrains.com/webide/2011/01/external-api-docs-support-for-popular-javascript-frameworks/

    After adding ext js to webstorm JavaScript libraries, I get the following API url from the application by default

    http://dev.sencha.com/deploy/dev/docs

    However, the problem is that this in fact points to Ext Js 3.4 api docs. So when I pur my cursor at Ext.create and then press Shift+F1, the browser opens up the following page

    http://dev.sencha.com/deploy/ext-3.4.0/docs/?class=Ext


    Does anybody know how to make it show Ext Js 4 documentation?

  2. #2
    Ext JS Premium Member
    Join Date
    Apr 2010
    Posts
    56
    Vote Rating
    2
    Answers
    1
    korax is on a distinguished road

      0  

    Default


    I believe this URL redirects to the current docs:

    Code:
    http://docs.sencha.com/extjs/

  3. #3
    Sencha User
    Join Date
    Aug 2011
    Posts
    33
    Vote Rating
    2
    tonyx is on a distinguished road

      0  

    Default


    It does point to the current doc but the problem is when I put my cursor on Ext.create and then press Shift+F1, it takes me to http://docs.sencha.com/ext-js/4-0/, and then I would have to navigate to Ext.create myself (http://docs.sencha.com/ext-js/4-0/#/...-method-create) :|

  4. #4
    Sencha User
    Join Date
    Jul 2010
    Location
    Palo Alto
    Posts
    60
    Vote Rating
    0
    Answers
    1
    nick_p is on a distinguished road

      0  

    Default


    The Ext 4 documentation URL has changed from the old 3.x style links. The URLs now follow the following format:

    http://docs.sencha.com/ext-js/4-0/#/api/Ext.Ajax

    where the class name is the final part of the URL
    Ext 4 Documentation http://docs.sencha.com/ext-js/4-0/
    J
    SDuck Documentation Generator https://github.com/senchalabs/jsduck

  5. #5
    Sencha User
    Join Date
    Aug 2011
    Posts
    33
    Vote Rating
    2
    tonyx is on a distinguished road

      0  

    Default


    yea. the documentation URL is correct. The problem is that WebStorm doesn't seem to understand how to format the URL so that when I press Shift+F1 it takes me to the right address. To be specific, the following screenshot shows what I'm trying to configure.
    Capture.jpg

Thread Participants: 2

Tags for this Thread