Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>IIKO angular template formatterNew to Visual Studio Code? Get it now.
IIKO angular template formatter

IIKO angular template formatter

timergalin

|
114 installs
| (0) | Free
Auto format Angular html templates
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

IIKO angular Template Formatter README

Extension for formatting Angular 2+ HTML templates.

Extension configuration:

useSpaces - Use spaces or tabs for indentation (False will ignore indentWidth)

indentation - Number of spaces to indent

closeTagSameLine - Never place the closing tag '>' on a new line.

groupAttrsByTypes - Group attrs by their types and split groups with an empty line.

firstAttrOnTagLine - Always place first attr nearby its tag.

Recommended VSCODE Configuration:

{
    // turn off default vs code formatter
    "html.format.enable": false,
    // enable formatting by default
    "editor.formatOnSave": true,
    "editor.formatOnPaste": true
}

Example:

Release Notes

1.0.0

Initial release of Angular template formatter

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft