MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
jmtremb97
Post subject: Code Complete and third party JavaScript libraries  PostPosted: Jan 06, 2010 - 07:43 PM
Registered Member
Registered Member


Joined: Dec 12, 2006
Posts: 13

Hello,

Sorry if you answered this before. Can you please tell me if JavaScript code complete should work in v8.0 if I add third party javascript libraries such as jQuery.

Example: Does it recognize something like $(document).

Thanks for your help.

Jeff
 
 View user's profile Send private message  
Reply with quote Back to top
support-shalini
Post subject: RE: Code Complete and third party JavaScript libraries  PostPosted: Jan 07, 2010 - 04:36 AM
Registered Member
Registered Member


Joined: May 18, 2009
Posts: 1532

Jeff,
if you have the jars on the build path, you should be able to auto complete the tags.

_________________
Shalini
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
jmtremb97
Post subject: RE: Code Complete and third party JavaScript libraries  PostPosted: Jan 11, 2010 - 02:10 PM
Registered Member
Registered Member


Joined: Dec 12, 2006
Posts: 13

Thank you for getting back to me. I guess I'm missing something. I didn't even realize that there were jar files that came with JavaScript libraries. All I ever see is .js files.

Thanks again for your help.

Jeff
 
 View user's profile Send private message  
Reply with quote Back to top
support-joy
Post subject: RE: Code Complete and third party JavaScript libraries  PostPosted: Jan 18, 2010 - 09:22 AM
Registered Member
Registered Member


Joined: Feb 03, 2009
Posts: 3442

Jeff,

Are you all set?

_________________
Joy
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
jmtremb97
Post subject: RE: Code Complete and third party JavaScript libraries  PostPosted: Feb 01, 2010 - 03:30 PM
Registered Member
Registered Member


Joined: Dec 12, 2006
Posts: 13

Joy,

What jar files is Shalini referring to?

Thanks for your help.

Jeff
 
 View user's profile Send private message  
Reply with quote Back to top
support-shalini
Post subject: RE: Code Complete and third party JavaScript libraries  PostPosted: Feb 02, 2010 - 04:16 AM
Registered Member
Registered Member


Joined: May 18, 2009
Posts: 1532

Jeff,
I am sorry for the confusion. When you include the required .js files in your project, the code complete should work.

_________________
Shalini
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
jmtremb97
Post subject: RE: Code Complete and third party JavaScript libraries  PostPosted: Feb 11, 2010 - 07:55 PM
Registered Member
Registered Member


Joined: Dec 12, 2006
Posts: 13

Sorry to keep harping on this but now I’m getting an error when trying to use JavaScript code assist. This is after a clean install.

The ‘org.eclipse.wst.jsdt.ui.JavaNoTypeCompletionProposalComputer’ proposal computer from the ‘org.eclipse.wst.jsdt.ui’ plug-in did not complete normally.
The extension has thrown a runtime exception. To avoid this message, disable the ‘org.eclipse.wst.jsdt.ui’ plug-in or disable the ‘Other JavaScript Proposals’ category on the content assist preference page.

Thanks again for your help.
 
 View user's profile Send private message  
Reply with quote Back to top
support-joy
Post subject: RE: Code Complete and third party JavaScript libraries  PostPosted: Feb 12, 2010 - 06:40 AM
Registered Member
Registered Member


Joined: Feb 03, 2009
Posts: 3442

jmtremb97,

Sorry to hear you are running into this issue. I would recommend you pulse for a quick fix. Please follow below mentioned steps -
1. Open pulse. If you don't have pulse, you can download the same from www.poweredbypulse.com
2. Login to pulse. You can also login anonymously.
3. This will redirect you to the pulse-explorer. From the top left hand corner dropdown, select the realm - "Eclipse - Galileo"
4. Choose "MyEclipse 8.0" from "My Profiles".
5. Right click on MyEclipse 8.0 and from the context menu click on [Re-install and run]
Pulse will automatically fix any dependency issues. Let me know how this works for you.

_________________
Joy
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
jmtremb97
Post subject: RE: Code Complete and third party JavaScript libraries  PostPosted: Feb 12, 2010 - 05:36 PM
Registered Member
Registered Member


Joined: Dec 12, 2006
Posts: 13

The problem is still occurring. The problem comes when I added a new JavaScript library (Ext JS). Here are my steps.

1. Create new user JavaScript library (used Add folder option to include the whole library).
2. Added the new JavaScript library to project.
3. Created new JavaScript file and attempted to use code assist.

Am I missing anything?

Thanks.
 
 View user's profile Send private message  
Reply with quote Back to top
support-shalini
Post subject: RE: Code Complete and third party JavaScript libraries  PostPosted: Feb 15, 2010 - 09:22 AM
Registered Member
Registered Member


Joined: May 18, 2009
Posts: 1532

jmtremb97,
Can you share your project? Please send a mail to support@genuitec.com with the project attached. Please add ATTN:Shalini in the subject and refer to this post. This will help me replicate the issue internally.
Also, send us your installation details from MyEclipse > Installation Summary > Installation Details and the steps in detail.
Thank you.

_________________
Shalini
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
smcdowell
Post subject: RE: Code Complete and third party JavaScript libraries  PostPosted: Mar 02, 2010 - 03:39 PM



Joined: Feb 23, 2010
Posts: 1

Nothing on this yet?? I have the same issues.
Follow his steps for creating a JS library add it to your project create a new js file, and then type some thing and code assist will blow up.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits