A Visual Studio Code extension to truncate long HTML attributes... because I am tired of reading your Tailwind.
Screen.Recording.2025-08-10.at.4.42.53.PM.mov
| Key | Description | Type | Default |
|---|---|---|---|
truncate-attributes.maxAttributeLength |
Maximum attribute length before folding. Set to 0 to fold all attributes. | number |
0 |
truncate-attributes.decorationContent |
The text to show when an attribute is folded. | string |
"…" |
truncate-attributes.targetAttributes |
Array of attribute names to target for folding. Use ['*'] to target all attributes, or specify specific ones like ['class', 'id', '[ngClass]']. | array |
["class"] |
| Command | Title |
|---|---|
truncate-attributes.toggle |
Truncate Attributes: Truncate Attributes: toggle |
MIT License © 2025 Will Martin