Skip to content

patricklx/intellij-emberjs-experimental

Repository files navigation

Logo intellij-emberjs

This plugin provides basic Ember.js support to all JetBrains IDEs that support JavaScript.

fork of https://github.com/Turbo87/intellij-emberjs with additional features

Features

Navigate → Class... Experimental:

  • Handlebars references for tags/mustache paths and tag attributes
  • Handlebars autocompletion for tags and mustache paths, also from yields and named yields
  • resolves {{or x y z}} to the first resolvable option, this makes {{component (or x y)}} work, e.g in power-select
  • Handlebars parameter hints for helpers/modifiers and components
  • Handlebars renaming for mustache ids and html tags
  • Glint Support
  • Gts Support
  • Find Usage between Js/Ts and Hbs

Basic:

  • Ember.js project discovery when imported from existing sources
  • Automatically sets the language level to ES6
  • Marks app, public and tests folders as source, resource and test folders
  • Marks node_modules and bower_components as library folders
  • Enable JSHint using .jshintrc
  • Quick navigation via Navigate → Class... and Navigate → Related Symbol... for all major app components
  • Generate Ember.js files via ember generate
  • Basic reference resolving and completion for e.g. DS.belongsTo('user')
  • Live templates more...

Installation

This plugin is published on the JetBrains Plugin Repository:

Preferences... → Plugins → Browse Repositories ... → Search for "Ember.js"

From Source

Clone this repository:

git clone https://github.com/patricklx/intellij-emberjs-experimental.git
cd intellij-emberjs-experimental

Build a plugin zip file:

./gradlew buildPlugin

Install the plugin from /build/distributions/Ember.js.zip:

Preferences... → Plugins → Install plugin from disk ...

Development

Run IntelliJ IDEA Ultimate with the current plugin pre-installed:

./gradlew runIdea

Run the test suite:

./gradlew test

Links

License

This project is licensed under the Apache 2.0 License.