vendredi 4 novembre 2016

vim es6 plugin for import statements

I'm using the tsuquyomi vim plugin for codeing typescript in vim which works great.

For emberjs projects, I'm looking for a similar plugin with support for es6. Especially the functionality to create the es6 module import statements would be great.

import Model from 'ember-data/model';
import attr from 'ember-data/attr';
import {hasMany} from 'ember-data/relationships';

I tried the import-js plugin, unfortunately this is either not able to create the correct import statements or does create imports poiting to the wrong module.

Is there a plugin out there to create this imports automatically or do I have to create these manually?




Aucun commentaire:

Enregistrer un commentaire