We invest considerable effort to perfect our code, so let's also streamline our imports for clarity and organization.
This extension optimizes your import statements by:
- Categorizing Imports: Separates imports into two groups: module imports (from node_modules) and local imports (from within the project).
- Sorting and Reorganizing: Arranges imports within each category and replaces the existing import statements.
Supports multiline import statements for comprehensive organization.
Primarily tested within a React Project, this extension is designed to function across various environments. However, note that multiline imports might behave unexpectedly outside.
Initial release of the extension
- Integration with a prettier plugin could significantly streamline the process.