daidodo / format-imports-vscode

Format imports and exports for JavaScript and TypeScript in VS Code.
https://marketplace.visualstudio.com/items?itemName=dozerg.tsimportsorter
MIT License
62 stars 5 forks source link

extension startup time is so long #53

Closed tjx666 closed 2 years ago

tjx666 commented 3 years ago

I think there should not be so much log after publish the extension. The startup time costs so long may be also related to this?

image

daidodo commented 3 years ago

Thanks for the feedback!

Unfortunately I don't have much time recently. So if you or someone could help with the issue, I'd be very grateful!

tjx666 commented 3 years ago

If I have time, I may help to fix it.

tjx666 commented 2 years ago

@daidodo

module format-imports import costs too long,

image

daidodo commented 2 years ago

Thanks for the sharing!

This reminds me a previous attempt to webpack the plugin which failed due to eslint loading issues: https://github.com/eslint/eslint/issues/13974.

Currently, I'm on something else but happy to suggest if you're interested.

tjx666 commented 2 years ago

@daidodo fixed in https://github.com/daidodo/format-imports-vscode/pull/64

daidodo commented 2 years ago

@tjx666 Sorry for the late response! I believe there is an improvement from the new release v7.4.13 after I webpacked the extension.

image

It was quite a journey to make a solution from:

Please have a try and tell me if you have any questions. Thanks!

tjx666 commented 2 years ago

image

tjx666 commented 2 years ago

Much better than before @daidodo