JSDP provide plug-ins that implement an IDE supporting the development of JavaScript applications and JavaScript within web applications. It adds a JavaScript project type and perspective to the Eclipse Workbench as well as a number of views, editors, wizards, and builders.
The most important thing for me is the code completion
To install JSDT in Eclipse:
go to Help>>Install new software
Then follow the below images:
Then finish the installation