开发者

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

开发者_开发百科 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 9 years ago.

I'm currently develloping a Chrome Extension and i'm searching for more ergonomy by finding a good IDE who can manage javascript and also Chrome Extension API.

Thanks in advance.


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

  • chrome_extensions.js
  • webkit_dom.js

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

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

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

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:

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


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


For Aptana Studio 3: (plugin for Eclipse tested)

Find a library you are interested in...Save it to your disk, and then drag it into your project. It does not matter where in the project it sits, so you can create a new folder for files like this if you like.

!! The project must be some type of web project: Web, PHP, Python, Ruby, Rails.

http://wiki.appcelerator.org/display/tis/Using+JavaScript+Libraries

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜