Development discussions around Shopify APIs
Hi, I'm using visual studio code to edit the Dawn theme.
When I try to format the code the schema section is not formatted.
What is the best way to format code in .liquid files?
Are you using this extension?
Yes, the liquid code and the json schema are not formatted.
I use ctrl+shift+i
Try Ctrl+Shift+L, that should use the Liquid formatter provided by the extension. Or via the command palette enter format.
Ctrl+Shift+L Don't work.
I have generated the .liquidrc in my workspace
Then that .liquidrc file is likely not working as intended, I don't have that file and the formatting works correctly out of the box.
I don't really know ¯\_(ツ)_/¯
Maybe post an issue on the extension's GitHub repo.
Give this guy a medal! I always used ctrl+alt+f and thought the formatting was not working well and had no clue. CTRL +SHIFT + L is what I needed! Thank you!
As a business owner, have you ever wondered when your customer's first impression of yo...By Skye Jun 6, 2023
We're excited to announce improvements to the threaded messaging experience in our communi...By TyW May 31, 2023
Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...By Jacqui May 30, 2023