Shopify Liquid VS Code extension issue with curly braces formatting

When writing the schema for a section and adding a new opening curly brace, I’m noticing that autocomplete will correctly add the closing curly brace, but my cursor lands right before that closing brace. That makes it necessary for me to move the cursor to after the opening brace, add a new line, and indent.

It would be way more convenient and a time saver for autocomplete to add a new line in between both braces, with the cursor indented according to my indent settings (which for me is a tab). Is there any way to achieve that?

1 Like

Thanks for the report! That sounds like a good idea. We have an open source repository that houses the code for the VS Code extension. Feel free to open up an issue here: Sign in to GitHub · GitHub

1 Like

Thank you! Just opened an issue!