vscode-extension-auto-import
vscode-extension-auto-import copied to clipboard
Combine exports from same modules with existing ones
So happy to find an auto-importer that actually works!
Imports should be combined with ones from existing modules.
Current Behavior, follow the numbered comments
import { Button, ListItem } from 'rmwc'; // (1) lets say I had these in a file already
import { Typography } // (3) This line gets added
const Example = props => <Typography>Hi!</Typography> // (2) and then I auto-imported this
Expected Behavior
import { Button, ListItem, Typography } from 'rmwc'; // (2) and should end up on this line
const Example = props => <Typography>Hi!</Typography> // (1) This gets auto-imported
+1
+1