improve import syntax
Frankie Bagnardi
f.bagnardi at gmail.com
Sun Jul 31 18:49:51 UTC 2016
It's too late to change the import syntax. The problem is your editor, not
the syntax. Over time more editors will support import syntax, either
directly or with plugins. For now, you just have to wait.
On Sun, Jul 31, 2016 at 3:38 AM, Ali Ghanavatian <ghanavatian.ali at gmail.com>
wrote:
> Hello there,
> I am writing to express weak point currently affects the import syntax. As
> you know current syntax is not editor (specially auto-complete) friendly as
> editor would not have any clue about what is about to be imported and from
> where.
>
> import { ComponentName } from 'path/to/module-file';
>
>
> My suggestion is to add support for this syntax:
>
> from 'path/to/module-file' import { ComponentName };
>
>
> Which makes auto-completion and development easier.
>
> I think it deserves a proposal, but it's my first idea. I really
> appreciate any sort of guidance and suggestion about this issue and how to
> put it into the standard.
>
> --
> Sincerely
> A. Ghanavatian <http://www.google.com/profiles/ghanavatian.ali>
>
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20160731/09d570a3/attachment.html>
More information about the es-discuss
mailing list