Eclipse plugin for javascript development in jsp? - javascript

I'm used to Intellij to develop javascript but today (or in a short while), I'll need to develop it in Eclipse. A quick google search gave me JSEclipse and JSEditor.
I'm writing JS in JSPs, not necessarily in .js files (even if I might, too).
Among important criterias :
ctrl + click navigation between function declaration/calls
variable hightlighting
Synthax correction
Usual stuff I find in java development and that would be useful in javascript.
Hope this question isn't to general/subjective.
So what should I use ?
Thanks in advance

Try using Aptana Studio plugin for Eclipse. It contains all you need to work with Web Technology.

[http://marketplace.eclipse.org/content/aptana-3#.U_2OuWOVLIU][1]
This will be helpfull. I got solution by this

Related

How do I get Javascript onto visual studio?

My brother has been interested in learning Javascript and because Visual Studio has been a good program for me in C# I was wondering if it is possible to get Javascript onto Visual Studio. I have tried searching it up, but none of the results worked, is there a way? And if not, what are some good alternatives.
Yes you can do so by integrating javascript extension. There are project templates for js libraries (angular or react) in vs2019 for web applications when you start a new project.
https://learn.microsoft.com/en-us/visualstudio/javascript/javascript-in-vs-2019?view=vs-2019
But in all honesty, I think it is better to do js development in a ide like vs code, sublime or notepad++

Why is the JavaScript Viewer not showing in Eclipse Editor Selection?

I am currently trying to code on Eclipse using JavaScript, but I am having a lot of troubles when tying to add JavaScript to Eclipse. I followed the instructions on this website (JavaScript Editor Plugin for Eclipse), and everything was going well until step 9 of the first part. JavaScript Viewer is not one of the offered options in Editor Selection. I am very confused as to what to do. Any help would be appreciated!
Thank you in advance :)
Version: Eclipse Oxygen on MacOS. Oxygen.3a Release (4.7.3a)
You could give the latest Eclipse IDE for JavaScript and Web Developers bundle a try.
It provides:
The essential tools for any JavaScript developer, including JavaScript, HTML, CSS, XML languages support, Git client, and Mylyn.
With this recent (2018) version of Eclipse, you should get a working JS-enabled IDE pretty fast as this is pre-bundled for the use-cases you are looking for:
JavaScript Development Tools
Eclipse XML Editors and Tools
[..]
Hope it helps.
FYI -- I ran into this problem with the latest version of eclipse [2020-06(4.16.0)]. It turns out they removed the Javascript editor from the install. See ref here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=564496

Eclipse hangs when editing javascript

I added Angular-eclipse plugin in my eclipse. now when i am trying to edit any of my javascript file my eclipse hangs.
for example whenever i put "." and wait for js suggestion my eclipse hangs with not responding.
could any one assist on this.
I once had an issue in Eclipse, but with another JS framework which is Sencha EXTJS. Some people say Eclipse does not get along very well with JS, at that point when I was learning JS, I'd have liked to use IntelliJ but, you know, we want to save our bucks for the future :). In addition, I remember I installed the Sencha EXTJS plugin but same issue, my Eclipse hanged and I had to try to make my changes in a notepad, neh, just kidding, but yes, I faced a similar problem like you.
By that time I used to edit my JS using SublimeText, VIM or Aptana (you could also try them).
But, since you seem to like Eclipse (as much as I can, I love that IDE)... you can make something similar to what I did some time ago, follow the steps of the following guide:
http://flexblog.faratasystems.com/2013/04/24/configuring-eclipse-with-apache-tomcat-and-ext-js
Does not matter what your server is (neither your framework), I think this configuration steps can be the "basics" for what you need.
Hope it could help you or at least give you some clue on how to have the environment in which you can feel comfortable to make some code :).
Regards and happy coding :)
This may help
In your eclipse,
1) Go to Help
2) Click Eclipse marketplace
3) search - optimizer
install "optimizer for eclipse"

Eclipse "aptana plugin" vs. jsdt (JavaScript Development Tools); where can I find a comparison chart?

I have just started using 'Eclipse Kepler' IDE for PHP programming and I'm now looking to use the same IDE for JavaScript, but I'm not sure which plugin to install?
I'm new to JavaScript so I'm not sure what is good to have; when I look at the Aptana and the JSDT plugin descriptions separately I'm not sure what the difference is and what I should be looking for. Can someone please help me. I have spent a few hours searching for a comparison but I find nothing on this topic; it feels like they are not even competitors (?).
I know I want auto-completion and debugging for HTML, CSS JavaScript and PHP (I think my php auto-completion and debugging is already good enough since I have PDT and Xdebug), but I'm not sure what else will make me more productive. If you have some other plugin for 'Eclipse Kepler' which I should be using for web application programming with JavaScript together with PHP please advice me.
Ps. I downloaded Aptana 3 as a seperate IDE but I have decided to go for Eclipse Kepler since it seemed to give me more functions and more freedom to expand my IDE (this might not be true but I especially missed the 'ctrl + hover + click' function in eclipse that takes me to object's and method's files which Aptana doesn't seem to have).
Best Regards
Kriss
I just recommend to use Aptana plugin as a tool for Web resources.
As I know , Aptana is based on JSDT but has developed much more things than JSDT .
You could just add Aptana plugin with your Kepler IDE like belows.
Please copy the following Update Site URL to your clipboard and then follow the steps listed below to add this URL to your Available Software Sites list. Attempting to access this URL using your web browser will return an Access Denied error.
http://download.aptana.com/studio3/plugin/install
For your reference , JSDT project seems not to be very active for now.

Web-based JavaScript Debugger

I have an idea for a project that has to do with helping people learn to program. One of the things I think would be cool would be to have a place on the site where you can edit JavaScript code in real time in your browser.
I know there are a number of web-based JavaScript editors, but I haven't been able to find out if there are any tools that let you debug JavaScript from your browser. I think being able to step through your code is a valuable learning experience for people who are new to programming. It seems like something along those lines should be possible, though.
I originally thought you could use something like Firebug Lite: http://getfirebug.com/firebuglite, but they don't support debugging. Is this just too hard of a problem to solve in JavaScript?
I suggest you try Cloud9. It is a full-featured web based IDE for Javascript, which includes a great debugger. It is free for open source projects, which I imagine would include most learning purposes.
Why not just use the build in Javascript console from the browser? Every modern browser has this feature.

Categories