I blogged about this a few days ago, but I think I'm ready to really release my Cordova Brackets extension. The code is pretty much crap and it's really lacking in providing good feedback while it works, but the initial feature list is complete. Assuming you've got the Cordova CLI installed already, you can, via Brackets:
- Add and remove platforms. Warning - if Cordova needs to grab the bits for the platform (it does this once), it will be slow, and again, my extension isn't providing feedback about the operation until it is done, so, like, don't do anything. Go get coffee.
- Emulate for a platform.
- Not use run. It doesn't work, which means I kinda lied when I said the initial feature list was complete, but I'm OK with that.
- List plugins, along with the version.
- Add plugins, and I've got a nice autocomplete so you can quickly find the right plugin.
- Remove plugins too. There are bugs around this, so, be careful.
You can see this in action in this thrilling video below. Oddly it is a bit out of focus for the first few seconds, but then it clears up. I blame gremlins.
It is now available via the Extension Manager so you can install it directly from within Brackets. If you want to help work on the source, pull a fork over at https://github.com/cfjedimaster/Cordova-Extension. If you really like it, visit the Amazon wishlist and pick up that Marvel Lego game. ;)
Wow, that video is crap. It is a bit better over at Youtube: https://www.youtube.com/wat...
Due to shared folders and permission issues I need to sudo all my Cordova commands. Does this plugin support sudo-ing? If not, will it ever?
Afaik you can't do sudo via the Node usage in Brackets. For the heck of it, try editing the code to add su in front of the command calls.