Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Missing javascript support in 2021-06
Missing javascript support in 2021-06 [message #1843106] Thu, 15 July 2021 23:58 Go to next message
Mark Nienberg is currently offline Mark NienbergFriend
Messages: 2
Registered: January 2018
Junior Member
Eclipse IDE for PHP Developers (includes Incubating components)
Version: 2021-06 (4.20.0)
Build id: 20210612-2011

I installed on MacOS and all is working except I don't have any javascript color coding or syntax support inside of php or html files.

I had the same issue on a previous install of 2020-06 on a different machine, but I eventually got that working , I think by installing node.js. So I tried that on this machine and it didn't help. Do I have to do something to point eclipse at my node.js or something? Or is my problem something else?

Thanks for any ideas,
Re: Missing javascript support in 2021-06 [message #1843170 is a reply to message #1843106] Sun, 18 July 2021 04:14 Go to previous message
Mark Nienberg is currently offline Mark NienbergFriend
Messages: 2
Registered: January 2018
Junior Member
So I tediously compared my old 2020-06 installation and the new 2021-06 installation and discovered the problem. By default, a clean install of 2021-06 for PHP Developers does not install any support for client-side javascript (ie, javascript inside of php or html files). To add it manually, go to Install New Software and set Work with to 2021-06, then expand the Web, XML, Java EE ... section and check the box next to Eclipse Web Javascript Developer Tools. Continue the installation and now you have javascript support. I'm not sure if node.js is needed or not, but I have it installed.

I don't recall having to do this for 2020-06, so maybe it has changed or maybe it was a mistake in the installation routine. Someone who knows more about that might comment.
Previous Topic:Need help
Next Topic:Could not create the view: org.eclipse.rse.ui.view.systemView
Goto Forum:
  


Current Time: Wed Apr 24 22:45:10 GMT 2024

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

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

Back to the top