Which Javascript / Chrome Extension IDE are you using? [closed] Which Javascript / Chrome Extension IDE are you using? [closed] javascript javascript

Which Javascript / Chrome Extension IDE are you using? [closed]


Use Aptana Studio and add the following scripts to File references.

Add to File References

Congratulations! You now have a very capable javascript editor with autocomplete support for chrome APIs

enter image description here

EDIT

You can have the same functionality in Visual Studio, which has (in my opinion) even better support for javascript. In fact I think it's the best javascript editor around (quiet an achievement for microsoft :))

Just add the following comment to your js files:

/// <reference path="MyExternalFile.js" />

And you get:

extern in VS2010


I got this to work on IntelliJ by using this API stub (to make the chrome object appear in auto completion)

https://github.com/linux-china/chrome_js_api_stub

In combination with the chrome extension.js

https://code.google.com/p/closure-compiler/source/browse/contrib/externs/chrome_extensions.js

I then added the stub chrome_js_api_stub library and the chrome extension library by following the below directions

http://www.jetbrains.com/idea/webhelp/configuring-javascript-libraries.html


It's not for everyone, but if by ergonomy you mean moving your hands around as little as possible, not reaching for the mouse, VIM is very much designed to keep your fingers on the keyboard and as close to the asdf/jkl; positions as much as possible. It's a pretty steep learning curve, but the payoff is extremely quick workflow.

With the right addons, it's a very decent javascript editor, with syntax highlighting (including jsdoc comments), code completion, jslint integration, etc