Use Aptana Studio and add the following scripts to File references.
- chrome_extensions.js
- webkit_dom.js

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

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:
