Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ember-cli-helper

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-helper

Ember CLI integration for Atom

  • 0.10.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Ember CLI Helper

Gitter chat

ember-cli integration in Atom. Currently maintained by @marius0, originally created by @alexlafroscia. Development sponsored by Apprentus.

Feel free to open issues if you find something. Pull requests are more than welcome!

ember cli helper

Keyboard shortcuts

KeybindingAction
ctrl+alt+eToggle between the component/controller and the template
ctrl+alt+rToggle between the controller and the route
ctrl+alt+enterJump into templates. Press when cursor over {{forms/super-select ...}} to open templates/components/forms/super-select.hbs

Commands

CommandDescription
ServerRuns ember server in the root folder of the project.
TestRuns ember test in the root folder of the project
GenerateOpens the panel to run a generator
ExitStops a currently running process
MinimizeShow and hide the output panel, without hiding everything else
CloseHide 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. This list is based on the output of ember g --help, and therefore should include all future blueprints as well as those added by addons automatically. Once you select a type, you'll be prompted to enter a name, and the output will appear in orange in the bottom panel.

Help! It's broken!

That might be the case! But first, check if specifying the path to the Ember and NPM packages fixes your problems. It probably, hopefully will. If it doesn't, please file an issue so I can try fixing it!

Known limitation: make sure your ember project is the first project (first in the list) opened in Atom.

Settings

SettingPurposeDefault Value
Generate CoffeescriptHave all of the generators make CoffeeScript files instead of Javascriptfalse
Path To Ember ExecutablePoint the CLI helper to the Ember executable on your computer/usr/local/bin/ember
Path To node ExecutablePoint the CLI helper to the node executable on your computer/usr/local/bin/node

Todo List

  • 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
  • Include a panel for running the file generators
  • Add convenience shortcuts to switch between component and template (and route and ...)
  • Add option to enter components when clicking something over {{forms/super-select ... }} --> opens components/forms/super-select.js

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 opening the project from the command line with the atom command see if that fixes the issue.

If the generators button doesn't work, ember-cli-helper probably can't find your ember project. Double check all the paths and make sure your ember project is the first opened project.


Very special thanks to @alexlafroscia for creating the original atom plugin!

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

Finally a big thank you to Apprentus for paying me to work on this! :)

Keywords

FAQs

Package last updated on 23 Apr 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc