Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 587
Sindar Avatar asked Mar 28 '11 10:03

Sindar


People also ask

How do I see my Chrome extensions?

On your computer, open Chrome . At the top right, click Extensions . point to "This can read and change site data."

Can Chrome extensions be detected?

Yes, it is possible to detect extensions, so long as you know your extension ID (which I'm sure you do).

What extension blocks JavaScript?

SYBU JavaScript Blocker is a Google Chrome Extension to quickly block JavaScript files from being loaded by the browser. It has been designed to be easy to use. You can specify a single filename, domain name, or any part of the URL.


2 Answers

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

  • chrome_extensions.js
  • webkit_dom.js

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

like image 58
Jan Avatar answered Oct 19 '22 19:10

Jan


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

like image 2
Jazzepi Avatar answered Oct 19 '22 17:10

Jazzepi