Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>PymSortNew to Visual Studio Code? Get it now.
PymSort

PymSort

caloizou

|
244 installs
| (0) | Free
Sort Python imports (the right way)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

PymSort

Sort Python imports (the right way)

Example usage

Imports are sorted by alphabetical order, with excess blank lines removed.

PymSort can (and should) be automatically run on file-save! Just use the pymsort.sortImports command in your VS Code key bindings.

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