Hi,
We know that the developers could add any third JavaScript frameworks they like to the aptana. Anyway, this problem seems an integrating issue when you use Aptana and SmartClient and want to leverage the code assist from Aptana.
Having looked at the example, I made a jar and put it on the eclipse\plugins folder and most functionalites like wizard, sample project are worked well, except code assist. Bacause of the SmartClient framework is not open source and its code is not written in a well-format (I mean the comments), and prepare a sdoc file seems impossible. Using support\LibraryNameAPI.xml can implement code assist as well, so I plan to write a program to convert the SmartClient documentation to the LibraryNameAPI.xml. For now, I just edit it by myself in order to test the functionality.
SmartClient does not support initiate object through "new" operator instead using class factory like:
That causes the problem I've talked, when you typed the "anObject.", you can't see any hits or assist message appear. If you wrote it like this way:
The code assist works well when you write code like above, but the grammar is not correct in the SmartClient world.
Did you have any idea on how to solve this problem?
thanks,
landofdreams.
We know that the developers could add any third JavaScript frameworks they like to the aptana. Anyway, this problem seems an integrating issue when you use Aptana and SmartClient and want to leverage the code assist from Aptana.
Having looked at the example, I made a jar and put it on the eclipse\plugins folder and most functionalites like wizard, sample project are worked well, except code assist. Bacause of the SmartClient framework is not open source and its code is not written in a well-format (I mean the comments), and prepare a sdoc file seems impossible. Using support\LibraryNameAPI.xml can implement code assist as well, so I plan to write a program to convert the SmartClient documentation to the LibraryNameAPI.xml. For now, I just edit it by myself in order to test the functionality.
SmartClient does not support initiate object through "new" operator instead using class factory like:
Code:
SomeClass.create({ ID:"anObject", attr1:10, attr2:"aString", //.... })
Code:
var anObject = new SomeClass(); anObject. //(you will see many properties and method assist messages appear and that will help you write code effienctly)
Did you have any idea on how to solve this problem?
thanks,
landofdreams.
Comment