You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@charlespwd@david-w-shopify I tried a workaround by creating an OnTypeFormatting provider. Then we use the ast to get the current node and check whether we're inside a LiquidTag or not which handle both cases where the Liquid Tag is closed and unclosed. Then we delete the > after typing out < using TextEdit. Haven't dig much deeper but I'm sure this isn't the best solution 😅
Describe the bug
This bug occurs in the VSCode extension.
Inside a Liquid tag, e.g.
{% if %}
- typing an opening angle bracket<
results in a closing angle bracket>
being added as wellSource
Expected behaviour
After typing the
<
, nothing else should be injectedActual behaviour
I get the following.
Debugging information
Additional Context
The same behaviour happens inside a `liquid tag too.
becomes
The text was updated successfully, but these errors were encountered: