Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTML markup validator -alert duplicate attributes- in VS Code

Is there a plugin or factory settings to alert duplicates in HTML attributes in the Code editor VisualStudio?.

To check:

  • Initial spaces,
  • Attributes duplicates.

As a refactor...

Something similar as VisualStudio-Community, which does. I.e: enter image description here

Thanks.

like image 707
1antares1 Avatar asked Apr 26 '26 20:04

1antares1


1 Answers

You can use HTMLHint Extension with attr-no-duplication rule to check for duplicate attributes.

like image 157
Steffen Avatar answered Apr 28 '26 10:04

Steffen



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!