Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IDE for Firefox Add-ons Development

I have been working on firefox add-ons for quite a long time and its been a real headache to use notpad++ for development. Is there any suitable IDE or plug-in for eclipse available.And just like we do **Run on Server" for dynamic web-projects,Is there any way that, I do a change in any of the sorce file and it automatically creates the .xpi file and installs in firefox?

like image 725
Priyank Doshi Avatar asked May 29 '12 17:05

Priyank Doshi


1 Answers

There are a lot of editors or IDEs that could be easily integrated with the SDK to perform basic tasks like running cfx run or cfx xpi. Here's the system that I use:

  1. I have Wladimir Palant's 'Extension Auto Installer' installed in Firefox

  2. I have a script like this in the add-on's root directory:

#!/bin/bash
/path/to/cfx xpi && wget --post-file=filename.xpi http://127.0.0.1:8888/

Every time I want to test the add-on, I just run the script and the xpi is built and installed into Firefox. Most editors will have some capability to bind a shel command like this to a keybinding.

like image 160
therealjeffg Avatar answered Nov 13 '22 04:11

therealjeffg