An extension that adds imports to the source file from the specified options in the configuration file, and also sorts and removes unnecessary imports, which improves and speeds up the user experience.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
importDefault - this is a list of words (for importing default values) that the extension will respond to when importing your dependencies: import React from 'react'.
importExport - this is a list of words (for importing a named value) that the extension will respond to to import your dependencies: import { useState } from 'react'.
package - the name of the path or package from which the import will go.