Bug 265443 - Standard Javascript objects not recognized
Summary: Standard Javascript objects not recognized
Status: RESOLVED WORKSFORME
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Webtools.WST.Javascript (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Chris Jaun CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2009-02-19 07:26 EST by Ronald Portier CLA
Modified: 2010-03-03 11:35 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ronald Portier CLA 2009-02-19 07:26:51 EST
I seem to have the opposite problem as many people that already reported bugs.

I enabled the ECMA 3 Browser support library and have set Window as the global supertype.

All of my javascript files (all properly ending in .js) are showing errors like 
"The type String cannot be resolved. It is indirectly referenced from required library files"
"The type Array cannot be resolved. It is indirectly referenced from required library files"
"The type Number cannot be resolved. It is indirectly referenced from required library files"
"The type RegExp cannot be resolved. It is indirectly referenced from required library files"

The particular set of errors shown is dependant on what function calls I do have in the source.
Comment 1 Chris Jaun CLA 2009-04-09 11:50:38 EDT
Hi Ronald,

I've never seen problems of this sort before. All of those standard objects are found in the system.js file that should be configured automatically when you create a JavaScript project.

Can you please provide reproduce steps if you still experience this problem?

Thanks,
Chris
Comment 2 Chris Jaun CLA 2009-04-28 14:36:24 EDT
I have not been able to reproduce this bug with the information provided.

If you have specific steps to reproduce, including how you set up your project, please re-open and we will look into it.

Thanks,
Chris