PDA

View Full Version : Aptana Studio (stand-alone) and ExtJS


rclay
09-18-2009, 02:54 PM
I must be doing something wrong but I have no idea what it is.

I've downloaded and installed Aptana Studio and I've also (I think) installed the Ext plug-in.

When attempting to edit, if I enter something that I know should come up with context-sensitive help, e.g., new Ext.Window..., nothing happens. I don't get anything and I have to type it all in manually. Sort of defeats the pupose, huh? I could use Notepad if I must type in everything.

Any suggestions? Did I miss an add-in or a setting somewhere?

Thanks in advance,
Robert

richard.milone
09-18-2009, 02:59 PM
You probably need to just turn on Ext JS code assist in Aptana. Go to Window>Preferences. Then from there go to path Aptana>Editors>JavaScript>CodeAssist and make sure the latest version listed for Ext is checked.

rclay
09-18-2009, 03:15 PM
That helped (Ext 2.2 wasn't checked) but there apparently isn't an Ext.Window "function" (not sure if that's the right word).

I'm attempting to use the example like in .../examples/apps/cusmaint.html but I'd hate to have to copy/paste.

Thanks for your help,
Robert

sean.lanktree
09-18-2009, 03:28 PM
Hi Robert -

You are correct in that Ext.Window is not a function (or "method" when talking JavaScript). Ext.Window is an object.

rclay
09-18-2009, 03:36 PM
Ok. Object. Whatever... .

The point is that it isn't there. It sure looked like it and all its little children were there for you during the demo yesterday (or, you type really fast. :)

Robert

richard.milone
09-18-2009, 03:37 PM
Yes, Window is an object but it should still show up in the Code Assist. I've checked around here and on all our developers systems if you type "Ext.W", it comes up with Ext.Window as a suggestion every time. If you can't get it to work just call our support line and we'll get online with you and figure it out.