Skip to content

willmartian/vscode-truncate-attributes

Repository files navigation

vscode extension: Truncate Attributes

Visual Studio Marketplace Version Made with reactive-vscode

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

Configurations

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"]

Commands

Command Title
truncate-attributes.toggle Truncate Attributes: Truncate Attributes: toggle

License

MIT License © 2025 Will Martin

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published