#Mozilla Addons SDK extension for Komodo
Abstract: An extension for Komodo IDE / Edit to enable users toquickly and easily create, run, test and build Firefox extensions using the new Addons SDK.
Minimum Viable Extension: implement basic commands and expose them via a JS API, a custom menu and a set of default keybindings.
#####Minimum Viable Extension
- prefs: expose preferences for setting two key variables:
- Firefox applicaation location
- Addons SDK location
- need to unpack and poach Dafi's prefs integration code
- run: implement
cfx run
- do-able as basic run command
- test: implement
cfx test
- do-able as basic run command
- build: implement
cfx xpi
- do-able as basic run command
- docs: implement
cfx docs
- best implemented as run in new terminal, it's a persitent process.
- another approach might be to just launch the index.html in a new browser window?
- default key bindings for these commands?
####Bonus Points / 2.0:
- codeintel API catalog generation?
- scrape the docs?
- todo: pester Todd about the cix command-line build
- also: the scraping script should generate ctags for vim et al
Single argument: project name- create extension-safe version ( limit chars, lower-case, etc )
- create directory with safe name
- programmatically create project - required
- in directory, run cfx init
- bam!
Simple Macro that creates a new Jetpack project DONE- hard-coded paths for cfx, etc
- fire & forget
Prefs for SDK path and Firefox path DONE- poached shamelessly from Morekomodo
- Implement the base commands as an API - 1/2 done
inittodo: run, test, docs
- figure out how to best make the functionality available to the user.
- main methods are init but more importantly test and run
- key bindings!
- for now implemented Tools / SDK menu
- poor handling of prefs not being set.
- Komodo 5 doesn't work