PDA

View Full Version : Spket+ExtJS: attrib in Content Assist? - help pls



BlancoX
7 Sep 2007, 12:50 AM
<- newbie

Saw this thread http://extjs.com/forum/showthread.php?t=7859 about using this editor, so i gave it a try. Got a problem, maybe someone can help me and tell me what im doing wrong.

Added the ExtJS plugin as explained in Spket screencasts, and when i use the Content Assist (CRT+SPACE) it recognize the ExtJS classes and functions nicely. But, what about the @config options for an Object (inside the {})?. My example:



function test() {

p = new Ext.BasicDialog('', {
<< HERE >>
})
}

If i open the BasicDialog definition (F3), i can see in its header's comments that @config options are autoCreate, title, width, height....

Is there anyway to get the Content Assist work too inside <<HERE>> and show not only the general clases (Ext, YUI, etc) and public functions but also the specific @config options for that object? (i mean, when typing "au" i want it to display 'autoCreate' as a possibility!! ^^)

Other example could be a BorderLayout. @config are north, south, east, west, center, and for each of them... what is their full list of @config options (available attributes for that object)?

Not sure if i made myself understood... or it's just nonsense what im asking for... looking for the @config options inside each class file is getting me crazy.

Thanks in advance

Note: checked Spket forums: online none. Hope better luck here with someone using this IDE!

Eric Suen
7 Sep 2007, 3:28 AM
Currently Spket IDE does not support this feature, but you can post a feature request in the forum: http://forums.spket.com/viewforum.php?f=6

BTW: If you have the question about Spket IDE, I think you should post it to the Spket forum: http://forums.spket.com

Thanks

BlancoX
7 Sep 2007, 6:37 AM
Thanks Eric.

Do you know any JS editor that supports this feature too? (content assist for objet's attrib)

Note: gonna post in spket about this asap ^^
Edited: post in spket requests forum: http://forums.spket.com/viewtopic.php?t=324
.... can't wait to have it working ^^