ts-importer icon indicating copy to clipboard operation
ts-importer copied to clipboard

Organizing imports

Open vtulin opened this issue 7 years ago • 1 comments

Organizing imports would be a perfect feature. Please take a look how it's done in Typescript Hero https://github.com/buehler/typescript-hero

In short. The sequence of the groups located in settings to workspace, it uses regular expressions to identify the group.

[
    "Plains",
    "/@angular/",
    {
        "identifier": "/Foo[1-9]Bar/",
        "order": "desc"
    },
    "Workspace",
    {
        "identifier": "Remaining",
        "order": "desc"
    }
]

Also if you will do some kind of imports organization, please provide a hot key to force organizing and an option for settings to do it automatically on save.

The reason why I'm using your extension not a TsHero is your extension uses paths from tsconfig, which is more important for me, and imho the killing feature!:)

Thank you.

vtulin avatar Sep 16 '17 12:09 vtulin

Why not using TS-Lint?

pmneo avatar Sep 25 '17 04:09 pmneo