This repository has been archived by the owner on Jun 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
Feature request: Add -
and
versions of brackets to autoClosingPairs
#108
Closed
Comments
Agreed! I made these enhancements to my own Liquid for Mechanic extension, and they're a nice improvement. I've submitted a pull request (#115) to implement these and a couple other improvements into this extension. |
charlespwd
added a commit
to Shopify/theme-tools
that referenced
this issue
Nov 9, 2023
2 tasks
charlespwd
added a commit
to Shopify/theme-tools
that referenced
this issue
Nov 9, 2023
charlespwd
added a commit
to Shopify/theme-tools
that referenced
this issue
Nov 9, 2023
charlespwd
added a commit
to Shopify/theme-tools
that referenced
this issue
Nov 9, 2023
charlespwd
added a commit
to Shopify/theme-tools
that referenced
this issue
Nov 9, 2023
charlespwd
added a commit
to Shopify/theme-tools
that referenced
this issue
Nov 9, 2023
* Use typescript for the VS Code language config * Add better auto-closing UX for Liquid pairs Fixes #202 Fixes Shopify/theme-check-vscode#108 xoxo
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Adding
["{{-", "-}}"], ["{{ ", " }}"],
and["{%-", "-%}"], ["{% ", " %}"],
toautoClosingPairs
inlanguage-configuration.json
makes for a nicer typing experience as the spaces inside the brackets are then automatically balanced when typing.Before:
![CleanShot 2022-12-27 at 09 11 11](https://user-images.githubusercontent.com/41582891/209678864-c8854268-ae10-45a0-a672-6aefe4647e8e.gif)
After:
![CleanShot 2022-12-27 at 09 11 52](https://user-images.githubusercontent.com/41582891/209678857-6d25a6d0-ecb1-4ded-9494-f1ac40fd5ed4.gif)
The text was updated successfully, but these errors were encountered: