This repository has been archived by the owner on Jun 20, 2024. It is now read-only.
formatOnSave doesn't appear to fix wrapping and whitespace issues when liquid is within quotes or capture tag #119
Labels
bug
Something isn't working
I searched existing issues in theme-check-vscode and theme-check and couldn't find this, but apologies if it is somewhere and I failed to find it.
We're finding that formatOnSave is not working for a render tag within quotes, like this:
It also appears not to work if within a capture tag like this:
if it is outside of either of these situations like this:
then upon save it is "correctly" autoformatted to be like this:
My hunch is this is a problem with a theme-check rule, however when I disable
"editor.formatOnSave": false,
in VSC and run theme-check on this code, it doesn't raise an issue with any 3 of these scenarios, so I'm opening the issue on the VSC plugin directly. I'm happy to re-report this in a more appropriate place if someone can point me in the right directionThe text was updated successfully, but these errors were encountered: