Snippets to make importing Ember modules a snap in VSCode
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
images
snippets
.gitignore
CHANGELOG.md
Icon.png
LICENSE
README.md
converter.js
package.json

README.md

ember-module-snippets

Snippets to make importing Ember modules a snap in VSCode.

Usage

screenshot

NOTE: The prefix to trigger these snippets has changed from E. to E: due to changes to the way VSCode deals with the "." character.

All of these snippets are preceeded by a E: (E-colon)

Where you might have in the past said Ember.get, with ember-module-snippets you can type E:get followed by ctrl-space to get these artisinal, grass-fed, snippets for Ember.js. Fuzzy matches work as expected (E:bj brings up Ember.Object, etc).

The Ember.js Module Unification project is an important precursor to unlocking a good bit of future functionality.

The data for these snippets is based on: https://github.com/ember-cli/ember-rfc176-data

And the raw json version: https://github.com/ember-cli/ember-rfc176-data/blob/master/mappings.json

Bonus Snippets: E:super = this._super(...arguments);

Installation

  1. Install Visual Studio Code 1.10.0 or higher
  2. Launch Visual Studio Code
  3. From the command palette ctrl-shift-p (Windows, Linux) or cmd-shift-P (OSX)
  4. Select Install Extension
  5. Choose extension ember-module-snippets
  6. Reload Visual Studio Code

License

MIT