Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » intellisense for JSDT libraries not working with Eclipse 3.7(intellisense for JSDT libraries not working with Eclipse 3.7)
intellisense for JSDT libraries not working with Eclipse 3.7 [message #850780] Fri, 20 April 2012 10:14 Go to next message
Arjun Sahasranam is currently offline Arjun SahasranamFriend
Messages: 5
Registered: April 2012
Junior Member
I have eclipse 3.6 with JSDT 1.2. I have integrated java-script editor in to my MultiPageEditorPart. I have added javascript facet to my project programatically and added a custom library called 'Studio library' for providing intelli-sense. The integrated javascript editor works fine with the intellisense. BUT

The same code fails in 3.7.1. i.e the intelli-sense fails.I am using eclipse 3.7.1 with JSDT 1.3.1. One more thing to note is the other than base browser library options ('Window') no other intelli-sense options appear in the JS editor. (This is not related to my custom library)

I debugged the 3.6 and 3.7.1 codes and compared it against each other. In CompletionEngine class in complete(ICompilationUnit sourceUnit, int completionPosition, int pos) method the e.qualifiedBinding object is propulated with intelli-sense options in 3.6 where as in 3.7.1 the object is null.

I am not able to find a reason for this. Any clue or help would be apprecia

The problem is the intelli-sense which works in 3.6 eclipse does not work in 3.7 eclipse.

This is the java script library thats added to my project. The screen shot can be seen below. This is in 3.6 eclipse.

index.php/fa/8007/0/

This is the screen shot of the intelli-sense working in 3.6 eclipse

index.php/fa/8012/0/

the following screenshots are those of 3.7 eclipse. Even though the code written by me is same the behaviour is different

index.php/fa/8013/0/

index.php/fa/8014/0/

The intelli-sense options in 3.7 showing only 'window' options as shoen in the screenshot below. the intelli-sense options form others libraries are not shown which is different form the 3.6 eclipse behaviour

index.php/fa/8015/0/

  • Attachment: library2.jpg
    (Size: 23.34KB, Downloaded 1034 times)
  • Attachment: library3.jpg
    (Size: 93.42KB, Downloaded 1066 times)
  • Attachment: library5.jpg
    (Size: 24.83KB, Downloaded 1035 times)
  • Attachment: library4.jpg
    (Size: 41.99KB, Downloaded 1049 times)
  • Attachment: library6.jpg
    (Size: 99.96KB, Downloaded 1034 times)

[Updated on: Fri, 20 April 2012 10:17]

Report message to a moderator

Re: intellisense for JSDT libraries not working with Eclipse 3.7 [message #850943 is a reply to message #850780] Fri, 20 April 2012 13:43 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 2333
Registered: July 2009
Senior Member
Is there a reason you're not doing this with 3.7.2 and WTP 3.3.2?

---
Nitin Dahyabhai
Eclipse WTP, IBM
Re: intellisense for JSDT libraries not working with Eclipse 3.7 [message #851066 is a reply to message #850943] Fri, 20 April 2012 16:06 Go to previous messageGo to next message
Arjun Sahasranam is currently offline Arjun SahasranamFriend
Messages: 5
Registered: April 2012
Junior Member
I already tried with eclipse 3.7.2 and WTP 3.3.2. but, the behaviour was the same.
Re: intellisense for JSDT libraries not working with Eclipse 3.7 [message #851304 is a reply to message #851066] Fri, 20 April 2012 21:22 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 2333
Registered: July 2009
Senior Member
On 4/20/2012 12:06 PM, Arjun Sahasranam wrote:
> I already tried with eclipse 3.7.2 and WTP 3.3.2. but, the behaviour was
> the same.

Try shutting down, clearing your worskpace's
..metadata/.plugins/org.eclipse.wst.jsdt.core directory, and restarting.

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


---
Nitin Dahyabhai
Eclipse WTP, IBM
Re: intellisense for JSDT libraries not working with Eclipse 3.7 [message #853776 is a reply to message #851304] Mon, 23 April 2012 10:16 Go to previous messageGo to next message
Arjun Sahasranam is currently offline Arjun SahasranamFriend
Messages: 5
Registered: April 2012
Junior Member
I cleared my workspace and launched again. But, no to no avail Sad
the same behaviour was observed.
Re: intellisense for JSDT libraries not working with Eclipse 3.7 [message #854124 is a reply to message #853776] Mon, 23 April 2012 17:32 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 2333
Registered: July 2009
Senior Member
On 4/23/2012 6:16 AM, Arjun Sahasranam wrote:
> I cleared my workspace and launched again. But, no to no avail :(
> the same behaviour was observed.

With 3.7.2 and WTP 3.3.2 (org.eclipse.wst.jsdt.core 1.1.102)?

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


---
Nitin Dahyabhai
Eclipse WTP, IBM
Re: intellisense for JSDT libraries not working with Eclipse 3.7 [message #855756 is a reply to message #854124] Wed, 25 April 2012 04:33 Go to previous messageGo to next message
Arjun Sahasranam is currently offline Arjun SahasranamFriend
Messages: 5
Registered: April 2012
Junior Member
yes org.eclipse.wst.jsdt.core_1.1.102.v201111090634
Running 3.7.2 and WTP 3.3.2
Re: intellisense for JSDT libraries not working with Eclipse 3.7 [message #857418 is a reply to message #855756] Thu, 26 April 2012 14:14 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 2333
Registered: July 2009
Senior Member
In both versions the file you're editing is included in a JavaScript Source folder? Do you get anything different in the JavaScript Editor itself?

---
Nitin Dahyabhai
Eclipse WTP, IBM
Re: intellisense for JSDT libraries not working with Eclipse 3.7 [message #870957 is a reply to message #857418] Thu, 10 May 2012 10:51 Go to previous messageGo to next message
Arjun Sahasranam is currently offline Arjun SahasranamFriend
Messages: 5
Registered: April 2012
Junior Member
No the files are not included in javascript source folder.
what I have done is I have integrated the java editor with my multipagepart editor and file is on a temporary JS file outside the project.

Except for the intelli-sense problem, there is nothing visibly different in the java editor.

sorry for the late reply
Thanks,
Arjun
Re: intellisense for JSDT libraries not working with Eclipse 3.7 [message #895260 is a reply to message #870957] Thu, 12 July 2012 09:40 Go to previous message
liu guihai is currently offline liu guihaiFriend
Messages: 9
Registered: July 2009
Location: China
Junior Member

Have you solved the problem now? Would you like to share your approach to the problem?
Previous Topic:Custom Content Assistance without specifying XSD location.
Next Topic:WPE : Drop location is not properly identified
Goto Forum:
  


Current Time: Sun Nov 23 18:56:34 GMT 2014

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

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