-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Formatting issues despite the formatter being disabled #150
Comments
yes.. it seems this is broken.. despite disabling with it still is the default formatter and formats code on save. I suggest installing the 3.0 version , it doesn't have that bug |
Hey guys, I apologize for being so late in getting this addressed. I have had a really busy 2023 so far. I am working on this from tomorrow. If you want to turn off formatting, you need to do this using Language Specific VSCode settings, for example: In your workspace settings: "[liquid]": {
"editor.defaultFormatter": "sissel.shopify-liquid",
"editor.formatOnSave": false // Make this false
}, This will turn off formatting. Additional ContextThe |
@richayles FYI: This is the default behaviour for external code regions in markup. This is why your schema is being indented. It follows common standard when formatting structures. I can look into introducing a rule within Æsthetic to counter that behaviour. Let me know. |
@richayles I'll introduce a new rule to adhere to this behaviour in v4.0.0 which will be made available to the new This capability will be made available under {
"liquid": {
"dedentTagList": ["schema"]
}
} I will inform up its availability in this issue. |
@panoply sorry, i think it used to have the snippet for both {% %} and {%- -%} |
Have a schema block laid out as below
I have made a single space addition to the end of the line - and on hitting save it reformats the whole JSON
I've tried a number of different setting change configurations - but it always results in the same auto indent happening
The below seems quite temperamental and clicking on it has no effect at times, and it re-enables itself between changing between files
Hoping this is all resolved by v3.4 - is there an expected release date?
The text was updated successfully, but these errors were encountered: