PDA

View Full Version : Ext JS 4 Documentation API URL



tonyx
15 Aug 2011, 8:56 AM
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/
(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://blog.jetbrains.com/webide/2011/01/external-api-docs-support-for-popular-javascript-frameworks/)http://dev.sencha.com/deploy/ext-3.4.0/docs/?class=Ext


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

korax
15 Aug 2011, 9:17 AM
I believe this URL redirects to the current docs:


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

tonyx
15 Aug 2011, 9:24 AM
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/#/api/Ext.AbstractManager-method-create) :|

nick_p
15 Aug 2011, 11:19 AM
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

tonyx
15 Aug 2011, 11:48 AM
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.
27490