<p dir="auto">We should change this:</p>
<p dir="auto"><code class="notranslate">import { some-module } from 'some-lib'</code></p>
<p dir="auto">To this:</p>
<p dir="auto"><code class="notranslate">from 'some-lib' import {some-module}</code></p>
<p dir="auto">If we change to the second, the IDE can help us out by auto-completing the modules which we can import. In the first case we still can do it, but it's unnatural, we have to type everything and then come back.</p>
<p dir="auto">Consider the following import statement:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import { int, float } from '../lang';"><pre class="notranslate"><code class="notranslate">import { int, float } from '../lang';
</code></pre></div>
<p dir="auto">With auto-suggest I need to start this by typing:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import {} from '../lang';"><pre class="notranslate"><code class="notranslate">import {} from '../lang';
</code></pre></div>
<p dir="auto">Then I can go back inside the {} and get auto-suggestions.</p>
<p dir="auto">It would be very nice if TypeScript supported an alternate syntax for the same expression that was more conducive to auto-complete features.<br>
For example:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import from '../lang' { int, float };"><pre class="notranslate"><code class="notranslate">import from '../lang' { int, float };
</code></pre></div>
<p dir="auto">This doesn't introduce any confusion or ambiguity about the meaning of the expression, either to the transpiler or the human reader, yet it provides a time-saving experience to the author when taking advantage of auto-complete features.  I can now simply type the expression naturally from left to right, and get auto-suggestions/completions for both the <strong>from '...'</strong> and <strong>{}</strong>.</p>
<p dir="auto">There are other cases where an alternate syntax would be beneficial.  I will update this issue as I compile a list.  Hopefully others will comment with suggestions as well.</p>