Skip to main content



      Home
Home » Language IDEs » Eclipse Web Tools Platform Project (WTP) » How to support es6 in eclipse Photon(Need help getting Photon to support JavaScript ES6)
How to support es6 in eclipse Photon [message #1793988] Tue, 21 August 2018 22:41 Go to next message
Eclipse UserFriend
I have JavaScript code that uses things like let, async, etc. My eclipse Photon flags it as errors. I installed WTP (SDK, Bundle, Dependencies, etc.). It still does not recognize ES6. Being a newbie to eclipse, getting the exact sequence to add ES6 support would be greatly appreciated!
Re: How to support es6 in eclipse Photon [message #1794154 is a reply to message #1793988] Fri, 24 August 2018 10:10 Go to previous messageGo to next message
Eclipse UserFriend
With over 1200 views and no response, I conclude that eclipse Photon doesn't support JavaScript ES6. It would have been nice for some official statement.
Re: How to support es6 in eclipse Photon [message #1801955 is a reply to message #1793988] Tue, 29 January 2019 16:32 Go to previous messageGo to next message
Eclipse UserFriend
I'm running into a similar problem: how to get Photon (or whatever version of Eclipse you may be running) to use an Ecma version of your choosing. The asynch-await construct is apparently not part of ES 6, but rather ES 7. But I'm unable to find a way to make Photon see or respect the configuration of my javascript project; i.e., Eclipse has a nice little red icon with letter N for package.json files -- so it seems to know what node-based javascript projects are...but it doesn't seem to utilize those definitions. Nor have I found a way to activate a tern server to do it - although I haven't spent a ton of time on that avenue yet.
Re: How to support es6 in eclipse Photon [message #1816880 is a reply to message #1801955] Sun, 10 November 2019 01:06 Go to previous message
Eclipse UserFriend
JSDT have 2 big limitations: Syntax Highlight for ES6. Validator for ES6. To fix the problem with Validator .YourTexasBenefits

[Updated on: Sat, 15 February 2020 06:59] by Moderator

Previous Topic:XML Editor for pure E4
Next Topic:RESTful Service in Java using JAX-RS and Jersey - Blank page and HTTP Status 404 error
Goto Forum:
  


Current Time: Mon Jul 14 11:12:08 EDT 2025

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

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

Back to the top