Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>import-formatterNew to Visual Studio Code? Get it now.
import-formatter

import-formatter

cristianostavarengo

|
125 installs
| (1) | Free
An extension to sort the imports by length
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Import Formatter

A simple vscode extension to automatically organize your imports in your project by length 😁!

This Visual Studio Code extension helps you:

  • Merge multi-line imports into a single line
  • Separate external and internal imports
  • Sort imports by line length
  • Display messages based on VSCode language settings (English and Portuguese supported)

📦 Installation

Search for "Import Formatter" directly in the VSCode Extensions tab and install it!

⚡ Shortcut

Press Alt + Shift + S to format the imports in the active file automatically.

🛠️ Contributing

Feel free to submit pull requests and suggestions to improve this extension! 🚀

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft