MyEclipse Forums
This thread has been locked & this forum has been archived.
Please post new topics to General Development
View previous topic Printable version Log in to check your private messages View next topic
Author Message
svella
Post subject: MyEclipse 9 chokes on E4X syntaxes  PostPosted: Jun 29, 2011 - 10:54 PM
Registered Member
Registered Member


Joined: Nov 17, 2009
Posts: 2

Earlier versions of MyEclipse supported (or at least gracefully ignored) E4X syntactical constructs such as literal XML and the "for each" statement. MyEclipse 9 completely chokes on these constructs in both the editor and validation. Given the large amount of E4X code used in my project (which runs on the server inside of Rhino) , this make MyEclipse 9 very, very painful to use. Please fix this ASAP, or at least provide pointers to an alternative javascript plugin that can coexist gracefully with other MyEclipse components.

-Shon
 
 View user's profile Send private message  
Reply with quote Back to top
support-swapna
Post subject: RE: MyEclipse 9 chokes on E4X syntaxes  PostPosted: Jun 30, 2011 - 08:31 AM



Joined: Nov 11, 2010
Posts: 2595

svella,

I could replicate the issue at my end. I have filed a PR for the dev team to work on it.
Sorry for the inconvenience caused.

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
support-tony
Post subject: RE: MyEclipse 9 chokes on E4X syntaxes  PostPosted: Jun 30, 2011 - 10:20 AM



Joined: Mar 09, 2011
Posts: 939

Shon,

Please refer to these posts for some background on changes to JS validation, between 8.6 and 9.0:

http://www.myeclipseide.com/index.php?name=PNphpBB2&file=viewtopic&p=123238#123238 and http://myeclipseide.com/index.php?name=PNphpBB2&file=viewtopic&p=122847&sid=b0eda194ad52876ee9458e127dc83cef#122847

I'm not aware of any free javascript plugins that can be used as alternatives but you can always try any that you find.

There are a couple of possible partial workarounds. You can turn off validation for the files that contain E4X. Also, if your E4X is in a <script> element, changing the type to "text/javascript;e4x=1" seems to remove the errors.

_________________
Tony
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
svella
Post subject: RE: MyEclipse 9 chokes on E4X syntaxes  PostPosted: Jul 07, 2011 - 08:59 PM
Registered Member
Registered Member


Joined: Nov 17, 2009
Posts: 2

Eagerly awaiting the release of an improved editor and validator. In the mean time I've disabled javascript validation and am using the Aptana javascript editor.
 
 View user's profile Send private message  
Reply with quote Back to top
support-tony
Post subject:   PostPosted: Jul 11, 2011 - 06:07 AM



Joined: Mar 09, 2011
Posts: 939

Shon,

I'm glad you've found a way to keep working. Please look for improvements in this area in future releases.

_________________
Tony
MyEclipse Support
 
 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
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits