Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » How to install a JavaScript editor for Eclipse?
How to install a JavaScript editor for Eclipse? [message #1814812] Thu, 19 September 2019 05:43 Go to next message
Tamera Brian is currently offline Tamera BrianFriend
Messages: 1
Registered: September 2019
Junior Member
I have a standard Eclipse running on an Ubuntu 14.10:

Eclipse Standard/SDK

Version: Luna Service Release 2 (4.4.2)
Build id: 20150219-0600
I searched for javascript in the marketplace. But nothing jumped to my eye.
I searched javascript editor eclipse on the web, which gave me JSDT (https://eclipse.org/webtools/jsdt/) But I couldn't find it in the marketplace.
I realised, that JSDT are budled within the WDT (Web Tools Platform; https://eclipse.org/webtools/).
It seems that I'm lacking some basic knowledge about eclipse.

Is it somehow possible to install JSDT without all the other stuff of the WTP?
When I'd like to use WTP, do I need a separate installation of Eclipse? (since WTP is also not in the marketplace)
Is there an JavaScript editor plugin that I can simply add to my existing Eclipse installation?


[Updated on: Fri, 20 September 2019 04:41]

Report message to a moderator

Re: How to install a JavaScript editor for Eclipse? [message #1814828 is a reply to message #1814812] Thu, 19 September 2019 10:24 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4148
Registered: July 2009
Senior Member

It's found separately in the regular Install New Software dialog, off the Help menu.

Nitin Dahyabhai
Eclipse Web Tools Platform
Re: How to install a JavaScript editor for Eclipse? [message #1844788 is a reply to message #1814828] Sat, 25 September 2021 06:22 Go to previous message
devid piterson is currently offline devid pitersonFriend
Messages: 1
Registered: September 2021
Junior Member
Open Eclipse -> Go to "Help" -> "Install New Software"
Select the repository for your version of Eclipse. I have Juno so I selected http://download.eclipse.org/releases/juno
Expand "Programming Languages" -> Check the box next to "JavaScript Development Tools"
Click "Next" -> "Next" -> Accept the Terms of the License Agreement -> "Finish"
Wait for the software to install, then restart Eclipse (by clicking "Yes" button at pop up window)
Once Eclipse has restarted, open "Window" -> "Preferences" -> Expand "General" and "Editors" -> Click "File Associations" -> Add ".js" to the "File types:" list, if it is not already there
In the same "File Associations" dialog, click "Add" in the "Associated editors:" section
Select "Internal editors" radio at the top
Select "JavaScript Viewer". Click "OK" -> "OK"
To add JavaScript Perspective: (Optional)
10. Go to "Window" -> "Open Perspective" -> "Other..."
11. Select "JavaScript". Click "OK"

To open .html or .js file with highlighted JavaScript syntax:
12. (Optional) Select JavaScript Perspective
13. Browse and Select .html or .js file in Script Explorer in [JavaScript Perspective] (Or Package Explorer [Java Perspective] Or PyDev Package Explorer [PyDev Perspective] Don't matter.)
14. Right-click on .html or .js file -> "Open With" -> "Other..."
15. Select "Internal editors"
16. Select "Java Script Editor". Click "OK" (see JavaScript syntax is now highlighted )

Thanks
Myloweslifehttps://lowesinstores.jimdofree.com
Previous Topic:Why Eclipse Don't Use Existing EOL Format Of Some File?
Next Topic:Exception in thread "main" java.lang.ExceptionInInitializerError
Goto Forum:
  


Current Time: Thu Dec 09 02:42:09 GMT 2021

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

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

Back to the top