[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [wtp-dev] Adding Content Assist for external Javascript library
|
Hi Chris!!!!
finally I've managed to get it working!!!!!! thanks to you!
I checked my initializer it seemed ok, but there was an error, a typo I must admit, that strangely remained after three times I built my plugin from scratch. The thing was that the name of my class in the plugin.xml was different from the name of the initializer class, so it was never called.
Thanks again!!!!!
Now I'm struggling with some inconsistencies of the content assist, that not only affect my library but also the Mozilla, and IE _javascript_ libraries...sometimes the classes appear twice when you do Ctrl+Space, sometimes you don't get suggestions at all, and I'm seeing a lot of exceptions like this one:
java.lang.NullPointerException
at org.eclipse.wst.jsdt.internal.ui.text.java.ParameterGuesser$VariableCollector.collect(ParameterGuesser.java:270)
No matter what _javascript_ library I'm using...
But I think that's another subject and my main problem is now resolved!
thanks
julian
On Wed, Jul 22, 2009 at 3:47 PM, Christopher Jaun
<cmjaun@xxxxxxxxxx> wrote:
The path listed in the JSDT scope file is really just a key value. Its your container initializer that takes that value and maps it to an actual JS file. It sounds like the actual path to your library is not being resolved correctly.
07/21/2009 11:36 AM
Please respond to
"General discussion of project-wide or architectural issues." <wtp-dev@xxxxxxxxxxx> |
| |
|
And I forgot I do not see mehtods or types from my library under _javascript_ References in my project...I get only my library and between parenthesis I got (unknown)
On Tue, Jul 21, 2009 at 5:16 PM, Julián Suárez <juliansuarezlopera@xxxxxxxxx> wrote:
Please respond to
"General discussion of project-wide or architectural issues." <wtp-dev@xxxxxxxxxxx>
|
|
![]() | ![]() |
To |
"General discussion of project-wide or architectural issues." <wtp-dev@xxxxxxxxxxx> |
cc | ![]() |
Subject |
Re: [wtp-dev] Adding Content Assist for external _javascript_ library |
|
Hi Chris I took a look at what you pointed me, and it was exactly what I was looking for. Thank you!
I've managed to create a _javascript_ file similar to the one in the firefox plugin.
But it is still unclear to me how to make it available to code assist, without directly including the js file.
I don't understand very well the way the firefox plugin does this....
could you point me to some documentation about this problems?
thank you very much for your help!
julian
On Tue, Jul 7, 2009 at 3:37 PM, Christopher Jaun <cmjaun@xxxxxxxxxx> wrote:
Hi Julian,
If you have a _javascript_ file or files that you would like to make available as a library take a look at the org.eclipse.wst.jsdt.support.firefox plugin.
This plugin adds a firefox specific library, using JSDT extensions, to a project and makes its fields/functions available in content assist. It has all the code in there to create a new library container and make it available in the project wizard or in the project properties page.
Let me know if that handles your scenario.
Thanks,
Chris
Julián Suárez <juliansuarezlopera@xxxxxxxxx>
Please respond to
"General discussion of project-wide or architectural issues." <wtp-dev@xxxxxxxxxxx>
|
|
To |
wtp-dev@xxxxxxxxxxx |
cc | ![]() |
Subject |
[wtp-dev] Adding Content Assist for external _javascript_ library |
|
Hi, I'm currently developing a plugin to add content assist for an external Javscript Library.
I'm fairly new with plugin development in Eclipse, and I've still haven't managed to find the right Extension Point to do what I want.
Any help would be very appreciated.
Thanks
Julian_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-dev
_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-dev
_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-dev
_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-dev
_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-dev
_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-dev
_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-dev
_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-dev

