Remove all classes from your HTML/React code with ease using this Visual Studio Code extension! With a simple command, you can quickly remove all class attributes from your HTML tags . Perfect if you want to remove all your tailwind css !
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Class Killer is a Visual Studio Code extension that removes all classes from your HTML code. This extension is perfect for developers who use want to remove Tailwind classes from their HTML code. If it's help you, please give a star to this repo and share with your friends.
Consider to comment your feedback and suggestions.
If you like this extension, please consider donating to support the development of this project.
Removes all empty classes from your HTML/React code
Removes all classes/className from your HTML/React code
Simplifies your HTML code for better readability
Saves time by automating the process of removing unused classes
Works with any HTML file, including React components
To use our extension, simply open an HTML file in Visual Studio Code and open the Command Palette (Ctrl+Shift+P). Then, search for "Class Killer" and select one of the following commands:
Run the "Remove all classes - Class Killer" command. This command will remove all classes from your HTML/React code, leaving you with clean, readable code.
Run the "Remove all classes from selection - Class Killer" command to remove all classes from your selection only. This command is useful if you want to remove classes from a specific section of your code.
Run the "Remove empty classes - Class Killer" command to remove all empty classes from your HTML/React code. This command is useful if you want to remove empty classes from your code.
To install the Class Killer extension, follow these steps:
Open Visual Studio Code
Click on the Extensions icon in the left-hand sidebar
Search for "Class Killer "
Click on the "Install" button
Once installed, reload Visual Studio Code to activate the extension
Class Killer is created and maintained by VISHNUGOPY. Thanks to the Chatgpt for helping to make this extension.