angular-template-formatter
angular-template-formatter copied to clipboard
Extension for vs code to automatically format angular templates.
In Angular 16, the closing tag for components has become optional. Angular-template-formatter formats nicely without a closing tag. But if the does not have a closing tag, then the file...
If you have a `` tag in a `` tag then every time you format the document it adds a new line inside the start of the ` tag. This...
This extension seems to struggle with files using CRLF line endings. Each formatting adds a new blank line to every block of blank lines. Switching to LF line endings seems...
Can you support the functionality for inline templates?
Why do html codes such as ` ` automatically convert to their generated counterpart?
I want to add custom behavior for tags like `` and ``. How can I accomplish that? If you give me some info about it, I could open a pull...
`` Can the above be formatted to: ``` ``` BTW, rest works perfectly. Thanks!
if you are using i18n code, this will delete your template variables. For example: `{meterExemptButtonText, select, Remove Ownership Exemption {Remove Ownership Exemption} Exempt from Ownership {Exempt from Ownership}}` all the...
`"angular-template-formatter.closeTagSameLine": true` does not enable tag closing on same line, still shows on new line.
> Namespacing > > SVG Elements > Usually when you use an SVG element in an Angular template, you will need to prefix its name with the svg: namespace prefix,...