1 comment

[ 3.0 ms ] story [ 15.5 ms ] thread
Hello!

I made a VS Code extension that cleans up redundant Bootstrap and Tailwind code. On a few occasions, as a developer, you see that in some lines there are classes that are totally unnecessary, like having both col-4 and col-xxl-4 when col-4 alone suffices.

Examples of redundant classes:

-> "col-4 col-sm-4 col-xxl-4": are replaced with "col-4" -> "pe-3 pe-md-5 pe-lg-5": are replaced with "pe-3 pe-md-5" -> "ms-lg-5 me-lg-5": are replaced with "mx-lg-5" -> And a big etc.

Just by installing it, those redundant classes are going to be replaced on save.

For now it just works for a few languages.