| Re: [wtp-dev] Adding Content Assist for external Javascript library |
Hi Julian,
If you created a library and added it to the build path of your project then content assist will just start working. You do not have to do anything special to trigger the content assist.
At minimum you should be implementing the following extension point - org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer
Then you either need to create the UI to allow a user to manually add the new library to their project(org.eclipse.wst.jsdt.ui.JsGlobalScopeContainerPage and org.eclipse.wst.jsdt.ui.JsGlobalScopeUIInitializer) or you could write code to programmatically add the library based on your user scenario(IJavaScriptProject.setRawIncludePath).
Thanks,
Chris
Julián Suárez <juliansuarezlopera@xxxxxxxxx>
Sent by: wtp-dev-bounces@xxxxxxxxxxx 07/08/2009 11:06 AM
|
|
Sent by: wtp-dev-bounces@xxxxxxxxxxx 07/07/2009 05:21 AM
|
|