Exact Imports Extension for Visual Studio CodeOverviewThe "Exact Imports" extension for Visual Studio Code helps developers automatically reformat import statements for Material-UI and lodash. Instead of using grouped import statements, the extension transforms them into individual import lines for better readability and maintainability. Before:
After:
FeaturesTransform Imports: Automatically converts grouped import statements into individual lines. Selective Formatting: Applies only to Material-UI and lodash imports, preserving other import formats. UsageInstall the Extension: Search for "Exact Imports" in the Visual Studio Code Extensions Marketplace and install it. Open a TypeScript or JavaScript File: The extension works on .ts and .js files. Run the Command: Press Cmd+Shift+P (or Ctrl+Shift+P on Windows/Linux) to open the Command Palette, and type "Exact Imports" to run the command. Alternatively, use the keybinding Ctrl+F9. ConfigurationNo additional configuration is required. The extension works out of the box for Material-UI and lodash imports. Feedback and SupportIf you encounter any issues or have suggestions for improvements, please file an issue on GitHub . LicenseThis extension is released under the MIT License. See the LICENSE file for more details. |