Closing angle bracket autofilled after adding opening angle bracket inside liquid tag
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 234
- Forks
- 92
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 6
Description
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 well
Source
{% if 2 < %}
Expected behaviour
After typing the <, nothing else should be injected
Actual behaviour
I get the following.
{% if 2 <> %}
Debugging information
- OS: Mac
- OS Version: Sequoia 15.0.1
Additional Context
The same behaviour happens inside a `liquid tag too.
{% liquid
if 2 <
endif
%}
becomes
{% liquid
if 2 <>
endif
%}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the examples in the VSCode extension's Liquid tag completion behavior, including both {% if %} and {% liquid %} contexts. Trace the angle-bracket autofill entry point and verify that typing < in these contexts no longer injects >.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100