Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>Requirements FormatterNew to Visual Studio Code? Get it now.
Requirements Formatter

Requirements Formatter

MoritzB

|
375 installs
| (0) | Free
This extension automatically sorts and formats your requirements.txt file, ensuring a clean and organized list of dependencies for your Python projects.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Requirements Formatter README

Requirements Formatter is a Visual Studio Code extension that helps you keep your requirements.txt files clean and organized by sorting the entries alphabetically and removing duplicates.

Features

  • Sort Requirements: Automatically sorts the entries in your requirements.txt file alphabetically.
  • Remove Duplicates: Removes duplicate entries, keeping only the latest version if multiple versions are specified.
  • Configuration Option: Allows you to enable or disable the removal of duplicate entries through a configuration setting.

Requirements Formatter in action

Requirements

There are no additional requirements or dependencies for this extension.

Extension Settings

This extension contributes the following settings:

  • reqFormatter.removeDuplicates: Enable/disable the removal of duplicate entries in requirements.txt files (default: enabled).

Known Issues

There are no known issues at this time. If you encounter any problems, please send a mail at oat-mop-unwitting@duck.com.

Release Notes

1.0.0

  • Initial release of Requirements Formatter.
  • Added functionality to sort requirements.txt files alphabetically.
  • Added functionality to remove duplicate entries in requirements.txt files.
  • Configuration option reqFormatter.removeDuplicates to enable or disable duplicate removal (default: enabled).

Enjoy!

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