Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » JavaScript tools -> Open Declaration for object literals
JavaScript tools -> Open Declaration for object literals [message #548163] Tue, 20 July 2010 21:07 Go to next message
Vladimir Grishchenko is currently offline Vladimir Grishchenko
Messages: 76
Registered: July 2009
Member
In the JavaScript editor I cannot get F3 to jump to a property/method defined in an object literal, see example below. Is this a known limitation for JS tooling?

var ol = {
		prop1: 'prop1val',
		prop2: 'prop2val',
		method: function() {
			return this.prop1 + this.prop2;
		}
};

ol.prop1;      //F3 doesn't work
ol.prop2;      //F3 doesn't work
ol.method();   //F3 doesn't work
ol.toString(); //F3 works


Re: JavaScript tools -> Open Declaration for object literals [message #548681 is a reply to message #548163] Thu, 22 July 2010 16:14 Go to previous messageGo to next message
sNop is currently offline sNop
Messages: 281
Registered: July 2009
Senior Member
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigC99E5C1DDEC502232420A074
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi,

is created ticket in bugzilla for this ?


--------------enigC99E5C1DDEC502232420A074
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/

iEYEARECAAYFAkxIbmcACgkQkCAxuhXMpxXB0wCfacyWPsHgD4jgVWvFXsCO uixP
ErQAnjvebv6IAYpdpJmOS+3nDk96BxgG
=Cy1t
-----END PGP SIGNATURE-----

--------------enigC99E5C1DDEC502232420A074--
Re: JavaScript tools -> Open Declaration for object literals [message #548704 is a reply to message #548681] Thu, 22 July 2010 17:11 Go to previous message
Vladimir Grishchenko is currently offline Vladimir Grishchenko
Messages: 76
Registered: July 2009
Member
Yes, see 320565.
Previous Topic:JavaScript Class not found when using multiple files
Next Topic:Web service client and Authentication to Server
Goto Forum:
  


Current Time: Fri Sep 19 08:03:38 GMT 2014

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

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