A Brackets extension for various Sencha integrations.
Currenly, you can execute sencha app refresh, sencha app build testing and sencha app build production commands by right-clicking within an Ext JS/Touch application. It will bubble up the directory tree to find the application's root directory.
Each time a command is executed, it will also find what version of Sencha Cmd the application is using via the .sencha/app/sencha.cfg file. Based on this version, it will attempt to resolve the path to Sencha Cmd. If the path is invalid, you will be asked for the location of the install directory wher eall the different Cmd versions are actually installed. For example, /Users/myusername/bin/Sencha/Cmd is the location on OSX. Now it should be able to find the Cmd install based on that version.
- Preferences UI
- Windows support (actual command uses /usr/bin/java command, works on OSX but not windows, also needs a pref to locate java)
- Add menu manager of some sorts
Modules register menu items with the managerAllow context menus in the working files list and editor- Allow to add/remove menu items on the fly example
- Issue with this is file traversing and reading is async
- Sencha Cmd
- If the Cmd version the application is using is not installed, it will think the path to the Cmd install directory is not set and will ask. Need to be able to specify a version.
- Right-click in package to do a build will fail because it will find the .sencha dir but not the app dir.
- Skip and keep bubbling up to find app dir?
- Run a package build - With same menu item? - If menu manager add/remove items?
- Other commands
sencha app upgradesencha package buildsencha package upgrade- etc