Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » "document" unresolved for javascript files
"document" unresolved for javascript files [message #208876] Wed, 20 February 2008 18:33 Go to previous message
Kevin McGuire is currently offline Kevin McGuire
Messages: 12
Registered: July 2009
Junior Member
Hi folks,

I wanted to try out the javascript editor for WTP R3.0 M5, so downloaded:

1) Eclipse SDK 3.4 M5
2) Web Standard Tools 3.0 M5
http://www.eclipse.org/downloads/download.php?file=/webtools /downloads/drops/R3.0/S-3.0M5-20080218021547/wtp-wst-sdk-S-3 .0M5-20080218021547.zip
(Note also tried the "Web Tools Platform Complete" with same results).
3) As noted in the download page
http://download.eclipse.org/webtools/downloads/drops/R3.0/S- 3.0M5-20080218021547/
- EMF runtime,
- XSD-runtime,
- GEF

When authoring a Javascript file (e.g. test.js), I get code completion
fine for javascript'y things like function, var, etc. (great!) but oddly
a line like
document.getElementByID("something");
gets a compile error on 'document' being unresolved.

Am I missing something that will properly add in resolution to things
like document?

Thanks in advance,
Kevin
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Runtime "J2EE Preview" is invalid
Next Topic:Re: J2EE runtime directory
Goto Forum:
  


Current Time: Sat May 25 03:08:05 EDT 2013

Powered by FUDForum. Page generated in 0.01756 seconds