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

redundanty

Agustin Fornio

|
129 installs
| (1) | Free
Remove redudant bootstrap/tailwind classes
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

redundanty README

Welcome to the README for your extension "redundanty"! This extension is designed to streamline your HTML code by removing redundant Bootstrap / Tailwind classes, helping you maintain cleaner and more efficient code.

Currently, the extension supports HTML and ERB files, but future updates may include additional file types.

For now, the extension only works either for Bootstrap or Tailwind classes (check settings).

Note: This extension is designed to work with Bootstrap 5 classes. If you are using an older version of Bootstrap or a different CSS framework, the extension may not be as effective.

Note 2: This extension works with .erb (ruby on rails) files, but the lines that have "<%=" or "%>" will be ignored.

Features

The "redundanty" extension offers the following features:

  • Redundant Bootstrap/Tailwind Class Removal: Automatically identifies and removes redundant Bootstrap/Tailwind classes such as "ms-1 me-1" (replaced by "mx-1") or "col-9 col-md-9" (replaced by "col-9").
  • Improved Code Readability: Simplifies your HTML code by reducing unnecessary Bootstrap class duplication, making it easier to read and maintain.
  • Enhanced Performance: Potentially improves loading times by reducing the size of HTML files, resulting in a more efficient website or application.

To see the extension in action, check out the animated GIF below:

Installation

You can install the "redundanty" extension via the Visual Studio Code Marketplace. Simply search for "redundanty" in the Extensions view (Ctrl+Shift+X), then click Install.

How to Use

Simply open an HTML or ERB file in Visual Studio Code, then save the file to trigger the extension. The extension will automatically scan the file for redundant Bootstrap classes and remove them, optimizing your code in the process.

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