Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » autocomplete doesn't work with dojo(how can i enable auto complete with dojo javascript?)
icon5.gif  autocomplete doesn't work with dojo [message #549441] Mon, 26 July 2010 16:00 Go to next message
elhanan Maayan is currently offline elhanan MaayanFriend
Messages: 131
Registered: November 2009
Senior Member
hi..

is it possible to have jstd autocomplete dojo? i've created a dynamic webproject, configured java script libraries and added an index.html file.

still when i type dojo.require i get nothing.
Re: autocomplete doesn't work with dojo [message #549742 is a reply to message #549441] Tue, 27 July 2010 18:57 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 2341
Registered: July 2009
Senior Member
On 7/26/2010 12:00 PM, elhanan wrote:
> is it possible to have jstd autocomplete dojo? i've created a dynamic
> webproject, configured java script libraries and added an index.html file.
>
> still when i type dojo.require i get nothing.

And tapping Ctrl+Space, right? dojo.require() itself is properly
proposed when I try it, but JSDT needs the uncompressed version to find
all the right properties.

--
Nitin Dahyabhai
Eclipse WTP Source Editing and JSDT
IBM Rational


---
Nitin Dahyabhai
Eclipse WTP, IBM
Re: autocomplete doesn't work with dojo [message #549746 is a reply to message #549742] Tue, 27 July 2010 19:23 Go to previous messageGo to next message
sNop is currently offline sNopFriend
Messages: 281
Registered: July 2009
Senior Member
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigC7DF5004412C7993B6AC9C81
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi Nitin,

and it works for you with DOJO 1.4.2 ? Because for me not, I have created=
related issue - http://tinyurl.com/37omgax

I have tested JSDT 1.2.0.v20100527 in Helios with latest Dojo 1.5.0 and t=
he same, any CA and some problems during build process.

On 27. 7. 2010 20:57, Nitin Dahyabhai wrote:
> On 7/26/2010 12:00 PM, elhanan wrote:
>> is it possible to have jstd autocomplete dojo? i've created a dynamic
>> webproject, configured java script libraries and added an index.html f=
ile.
>>
>> still when i type dojo.require i get nothing.
>=20
> And tapping Ctrl+Space, right? dojo.require() itself is properly propo=
sed when I try it, but JSDT needs the uncompressed version to find all th=
e right properties.
>=20


--------------enigC7DF5004412C7993B6AC9C81
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxPMlAACgkQkCAxuhXMpxUzTgCfZk+oRFLruIlUHp3RrSmM 8c9+
oCkAniDrZGvoLP225oNdDGRVCLr8+14e
=7pwQ
-----END PGP SIGNATURE-----

--------------enigC7DF5004412C7993B6AC9C81--
Re: autocomplete doesn't work with dojo [message #549809 is a reply to message #549746] Wed, 28 July 2010 05:25 Go to previous message
elhanan Maayan is currently offline elhanan MaayanFriend
Messages: 131
Registered: November 2009
Senior Member
i should add the auto complete partially works with dojo, means it is able to find functions like replace, but not dojo, or dojo.replace,
i understand this is somehow related to how dojo defines javascript interfaces..
Previous Topic:XML Editor "unsupported content type in editor" in Eclipse 3.6
Next Topic:WTP: packaging possible like war/ear?
Goto Forum:
  


Current Time: Thu Dec 18 05:45:04 GMT 2014

Powered by FUDForum. Page generated in 0.02590 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software