/els-component-extraction-addon

Component extraction addon

Primary LanguageJavaScriptMIT LicenseMIT

els-component-extraction-addon

Ember Language Server Templates Code Actions extension

How to use?

Install this addon as dev-dependency inside your ember project.

Features

  • component creation from user selection

NPM

npm install els-component-extraction-addon --save-dev

Yarn

yarn add els-component-extraction-addon --dev

VSCode

Install: Unstable Ember Language Server. Install: ember-fast-cli addon

  • Restart VSCode.
  • Start project server

Usage

Select text, click on code action icon, select Extract selection to component.

component extraction preview