In retrospect:
from 'moduleName' import { stuff };
…would have been better for IDE autocomplete.
-
-
Replying to @jaffathecake
sounds like lazy IDEs. `import<tab>` -> `import from '<cursor>'` -> `import from 'name<tab>'` -> `import { <cursor> } from 'name'`
3 replies 0 retweets 3 likes -
Replying to @wycats
That seems a lot more complicated than from '<autocomplete joy>' import <autocomplte joy>;
1 reply 0 retweets 11 likes -
Replying to @jaffathecake
for the IDE to implement or for the user to use?
1 reply 0 retweets 1 like -
-
Replying to @jaffathecake
I think that's true, but marginal. "Snippets" that jump the cursor around have been an editor fixture for years.
2 replies 0 retweets 0 likes -
Replying to @wycats @jaffathecake
Also, I've heard there's a maxim about optimizing for readers not writers...
#TheZenOf1 reply 0 retweets 2 likes -
Replying to @wycats @jaffathecake
Snark aside, "import is a keyword" is a high order bit here.
2 replies 0 retweets 0 likes
I should also be clear, I write hundreds of import and export statements per day (and have for literally years) so I get the issue.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.