Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » javascript completion problem
javascript completion problem [message #807443] Sun, 26 February 2012 08:22 Go to next message
Vitaliy n/a is currently offline Vitaliy n/a
Messages: 2
Registered: February 2012
Junior Member
Hi.

Eclipse 3.7.2
JSDT 1.3.2
Linux64

In the file1.js defined variable Core (var Core = {...}), and in the same file i can use content assist for Core variable, but in file2.js - content assist dosn't see Core variable, only global(window,document etc)... why?

i've tried many ways, to solve this. But completion doesn't work as i expected, even when i create just JavaScript project.

sorry for my eng

[Updated on: Sun, 26 February 2012 08:26]

Report message to a moderator

Re: javascript completion problem [message #808332 is a reply to message #807443] Mon, 27 February 2012 12:03 Go to previous message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2233
Registered: July 2009
Senior Member
On 2/26/2012 8:22 AM, Vitaliy n\\a wrote:
> Hi.
>
> Eclipse 3.7.2
> JSDT 1.3.2
> Linux64
>
> In the file1.js defined variable Core (var Core = {...}), and in the
> same file i can use content assist for Core variable, but in file2.js -
> content assist dosn't see Core variable, only global(window,document
> etc)... why?
>
> i've tried many ways, to solve this. But completion doesn't work as i
> expected, even when i create just JavaScript project.
>
> sorry for my eng

This is a bug.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=344127

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


---
Nitin Dahyabhai
Eclipse WTP, IBM
Previous Topic:extending xml wizard?
Next Topic:Get object information from javascript source file
Goto Forum:
  


Current Time: Wed Jul 23 08:08:42 EDT 2014

Powered by FUDForum. Page generated in 0.02288 seconds