Ember CLI Helper

Gitter chat

ember-cli integration in Atom.

ember cli helper

The Ember CLI Helper is super easy to use. Just press clt-alt-o or search for ember cli helper in the command palette.

Commands

Command Description
Server Runs ember server in the root folder of the project.
Test Runs ember test in the root folder of the project
Generate Opens the panel to run a generator
Exit Stops a currently running process
Minimize Show and hide the output panel, without hiding everything else
Close Hide the entire panel

Generators

Running the generators through Atom is really easy. When you first open the panel, it will bring up a list of file types to generate. Everything that the Ember CLI supports is supported, currently:

  • component
  • controller
  • helper
  • mixin
  • route
  • template
  • view

Once you select a type, you'll be prompted to enter a name, and the output will appear in orange in the bottom panel. If generating a controller, you'll also be prompted to create an object, array, or "neither" -type controller.

Settings

Setting Purpose Default Value
Generate Coffeescript Have all of the generators make CoffeeScript files instead of Javascript false

Todo List

  • [x] Open ember-cli-helper automatically if the package uses the Ember CLI
  • [ ] Differentiate a task's button from the others when it is active
  • [ ] Use the editor's theme to get colors for success and error in the command output
  • [ ] Give some sort of visual feedback about the running command when the panel is minimized
  • [x] Include a panel for running the file generators

Troubleshooting

Some users have experienced problems running the commands when they openning their project through the File > Open menu. If this happens to you, try openning the project from the command line with the atom command see if that fixes the issue.


Special thanks to @nickclaw and his atom-grunt-runner package, which was my inspiration for building this and a big help in putting it together.

Built With

Share this project:
×

Updates