Any opensource Javascript editor/javascript eclipse plugin with code assist - javascript

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.

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

Nodejs editor to work on eclipse

I have two questions
I just started my learning on nodejs and looking for nodejs editor for debugging and development on eclipse. Is there anything that is available.
I have been working a while on javascript in eclipse, but debugging is poor compared to browser developer console. Its not showing errors at all and jumping from HTML code to JS flow is not happing. Looking for a solution to solve this.
PS: I used to use Aptana Studio and sublime but require something that works with eclipse. Thanks
There is IntelliJ WebStorm which has a lot JS features.. for frontend and also for backend.. Gives you some cool features for debugging like xcode for PHP for nodejs and so on.. It's not free, but it also makes a lot fun, because it's much faster then eclipse (have worked with it a lot.. and the switched) and made for web developers
Microsoft's "Visual Studio Code" is a great, free IDE for Node.js.
Check it:
https://www.visualstudio.com/en-us/products/code-vs.aspx

Eclipse PDT - Javascript code hinting not working?

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.

Is there any software with intellisense for Javascript/jQuery?

I want to start learning jQuery, but there's so much you can do with it. I'm interested in using PHP as well.
I understand that Visual Studio has intellisense for Javascript, but isn't that for ASP.NET? Can you build PHP applications in Visual Studio?
There is Aptana Studio with such support as well as full featured PHP editor.
See:
Aptana Studio makes jQuery so much easier
Code Assist for jQuery
You can use Eclipse aptana studio in eclipse PDT. Plugging Aptana to eclipse. Aptana has some intellisense for jQuery but beware that it's not complete since Javascript is a dynamic language and it's difficult to get a complete one.
Buy my honest take on jQuery intellisense. If you want to be a jQuery expert dump the intellisense part. Javascript is a dynamic language and that is the reason why these editors never work as intended. I used VisualStudio recently and never got what I intended.
You can get Visual Studio to have intellisense for jQuery - see jQuery 1.4.1 Intellisense with Visual Studio on Scott Gutherie's blog. Not for VS 2008 you need to install this patch.
you can build any applications with visual studio, but visual studio is waste...
have a look at eclipse, aptana's js editor has jQuery autocompletion.

Regions/code collapse in Javascript in Visual Studio 2010

Is it possible to create code regions in JS files in Visual Studio 2010?
This method works in 2005, but I can't get working in 2010.
Here is a very cool VS2010 extension for Javascript and CSS outlining
http://jsoutlining.codeplex.com/
Microsoft now has an extension for VS2010 that provides this functionality:
JScript Editor Extensions
The JSEnhancements plugin for Visual Studio addresses this nicely.
Advanced JavaScript Outlining for Visual Studio 11 is now available for VS2012 through the Extension Manger, or at the URL
http://visualstudiogallery.msdn.microsoft.com/4be701d8-af03-40a4-8cdc-d2add5cde46c?SRC=VSIDE
There's an interesting post here : http://blog.devarchive.net/2008/04/using-region-directive-with-javascript.html on how to do this using Macros in Visual Studio.
Hope that help.
Update
I just realised that someone has already referenced this link in the comments.
Another great Visual Studio 2012-Extension is Web Essentials 2012.
There are a bunch of cool tools for even TypeScript, LESS and CoffeeScript.
http://vswebessentials.com/
Even though VS extensions installed, I had a unique problem of some of the script blocks not outlining properly, later found that its because of the #Url.Content tag used in the script, simply replaced it with simple string url, the outlining worked....thought of sharing if it helps someone
In VS 2015 you can just create a block around your "region" like this
{ //My little region
function misc()...
var x = '';
//etc...
...
}
Then just collapse that block. Probably on all older versions of Visual Studio as well.

Categories