Search Terms
auto-import; import; auto import
Suggestion
Support auto-import with alphabetized order by default
Use Cases

Currently, Typescript auto-import by adding the new module at the end. But it does not obey tslint rule: ordered-imports It will be better if typescript can auto-import with alphabetized order by default :)
Examples
import { B } from 'moduleB';
...
const a = new A(); // Ctrl+. -> Do you want to import A?
then
import { A, B } from 'moduleB'; // A is auto-imported in front of B
...
const a = new a();
...
classs ModuleA implements IModuleA { // Ctrl+. -> Do you want to import IModuleA?
...
then
import { IModuleA } from 'moduleA'; // moduleA is auto-imported above moduleB
import { A, B } from 'moduleB';
...
const a = new a();
...
class ModuleA implements IModuleA {
...
Checklist
My suggestion meets these guidelines:
Search Terms
auto-import; import; auto import
Suggestion
Support auto-import with alphabetized order by default
Use Cases
Currently, Typescript auto-import by adding the new module at the end. But it does not obey tslint rule: ordered-imports It will be better if typescript can auto-import with alphabetized order by default :)
Examples
then
then
Checklist
My suggestion meets these guidelines: