You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I format Liquid code using the Shopify Liquid formatter, the code is replaced with an empty block. This happens consistently and removes all the Liquid content. Please check the attached video for a demonstration of the issue.
Source
{% if product.available %}
{{ product.title }} is available.
{% endif %}
Expected behaviour
The Liquid code should be formatted cleanly and preserved—without removing or emptying it. I expect indentation or spacing fixes, but not code deletion.
Actual behaviour
When I run the formatter (e.g., via VS Code or CLI), it removes all the code, leaving the file or snippet completely empty.