Split single import statement into multiple lines for formatting #2565
Shyam-Chen
started this conversation in
Ideas
Replies: 2 comments 2 replies
-
The title misled me. For a moment I thought you were suggesting an import sorter. Lol |
Beta Was this translation helpful? Give feedback.
0 replies
-
Each import has a cost, although small but they add up. Would’t this achieve the same result? import {
XBreadcrumb, XButton, XCheckbox, XDeleteConfirmation,
XPanel, XRadioGroup, XTable, XTextField, XTooltip
} from '@x/ui'; |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Since we have automatic sorting, could we also implement line-by-line sorting? Anyone else had this idea? I think it would make things look neater. If I use
unplugin-auto-import
, it will make it difficult for me to search.Input:
Ouput:
Expect:
Beta Was this translation helpful? Give feedback.
All reactions