Eclipse PDT - Javascript code hinting not working? - javascript

I thought Eclipse PDT had all the Javascript plugins and supported code hinting, but it's not working for me.
Was I wrong, or is there something that needs to be set up for this to work?
Thanks in advance.

The official plugin is JSDT (Eclipse site) (many articles there, including the Using JSDT series)
The old alternative was JSEclipse (like described in this post)
Warning, this plugin might not be compatible with the official JSDT Eclipse one.
This forum post also mentions Aptana Studio as an alternative.

Related

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

Cordova/Phonegap OpenEars speech recognition

I am trying including the OpenEars plugin into phonegap/cordova using this plugin https://github.com/karljacuncha/OpenEarsPlugin
I followed the Readme but i ended up with an error of missing files, all these files are not found :(
Any help/suggestion on how to integrate the library?
thank you any advice appreciated!
As already mentioned on a comment, new, non-backwards compatible version (2.0) of OpenEars was released on 5th of December in 2014. This of course prevents it from working with old code such as the plugin in this case.
Basically there would be two options to get it working:
Use older version of OpenEars (last one was 1.7.1) but that doesn't seem to be possible as I wasn't able to download it from anywhere after extensive search.
Fix the code to work on newest OpenEars. It shouldn't be that hard and the code of plugin is only ~400 lines of code. Most of the changes are quite straightforward as described in the upgrade guide. Feel free to fork the project in GitHub or try to contact the original author of that plugin to make the fixes necessary.

What Javascript IDEs can display code hints for Three.js?

I need to find a Javascript IDE or editor that can display code hints for external files such as Three.js. Any help would be appreciated.
Disclaimer, I'm the author of the tern.java.
If you use Eclipse, I suggest you that you install tern.java 0.10.0 (not released) which provides a tern support for three.js with completion for three.js :
If you are using other JavaScript Editors like Emacs, Vim, Sublime, you can use the tern plugin tern-threejs
I would recommend WebStorm
Get the Personal Licence if it's just for yourself for personal use, you can try for 30 days.

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.

Any opensource Javascript editor/javascript eclipse plugin with code assist

I just happened to read jQuery Intellisense Updates from Microsoft and was wondering if there was any editor or eclipse plugin available which provides intellisense complete or code assist. Are there any?
I believe eclipse, with the Aptana plugin, has some JQuery support.
As mentionned here, intellisense is supported:
 5. Start coding.
As you type, notice that Code Assist is now active for the jQuery objects and functions that you use.
Press ctrl+space at any time to activate Code Assist.
Why not Visual Studio/Web Developer 2008 (or did I miss something)? The express edition is free.
You can use the standalone version of Aptana Studio, it's free and much lighter than the complete Eclipse.
Aptana provide Javascript code assist, but not intellisense.
True intellisense for Javascript currently provided only by three IDs:
NetBeans (open source)
IntelliJ Idea (proprietary web development)
MS Visual Studio (proprietary, free edition exist)
So the answer - NetBeans.
But, unfortunately none of these do this job well.

Categories