I a very new for Ext JS, if i ask or post some stupid questions, please forgive me. thanks in advance.
1. I recommend to build a special module for discuss how to use Aptana and Skpet to develop Ext JS.
2. i use the latest version of aptana to begin my first travel in Ext JS world, unfortunately, the easy and common question prevent my steps in Ext JS world. when i use aptana to create a new 'default web project' and import Ext JS library (embed in the aptana), i even could not use the basic functionality, for example, Ext.onReay(),
who can give my some advice or solutions for this problem, many many thanks in advance.
mjlecomte is right -- asking in the Aptana forums will probably be more useful, since we'll need to get more info about exactly what version of Studio you're using, whether you're using our built-in support for Ext JS, whether you've updated to version 2.2 of the plugin, etc., and most of that info isn't relevant to the larger Ext community.
Generally speaking, if you have an HTML file that includes one of the Ext library files (e.g., ext-all.js), you'll get hints for the classes, properties, and methods defined in that file. If you also turn on Ext JS 2.2 in the Global References pane, that turns on code assist for Ext JS in all the JS files in your project, whether they're referenced in an HTML file or not.
If that doesn't solve your problem, come post on the Aptana forum. :-)
For the original poster, I looked in the code assist file for Ext JS, and I noticed that onReady() is listed as having scope="instance". This will cause Aptana Studio to hint only for Ext objects created with new, e.g.,
var ext = new Ext();
In order for Studio to hint on Ext., the scope must be static. There might have been a misunderstanding about scope when the ScriptDoc file was generated; I can check with the Ext JS developers.
Yeah, I've only seen some limited code hinting and just chalked it up as ..... ?? .....I don't know....I just accepted it and moved on. Sure would have been nice for Aptana.tv to have a little video on using ExtJS.
If we do have the ears of someone from Aptana, one issue that's come up is opening up ext-all-debug.js. It's a big file and Aptana.......pretty much chokes on it. Maybe there's some settings that can be adjusted or it's just not designed for a file that big.
Dan, how does spket handle ext-all-debug?
As some defense, firebug pretty much chokes on it as well, it can be quite slow to get started. I've recently gone with the include allOfTheSmallerSourceFiles.js approach during development.