mblode / mblode/vscode-twig-language
Problem using "-" like in {%- block 'X' -%}
Open
Nobody has claimed this yet.
formatter
- Dominant language
- JavaScript
- Stars
- 45
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
I use {%- and -%} to suppress spaces. '-' can be add right, left or both.
Formating don't take care of it like for standart delimiter.
Example :
{% block title -%}
block title
{%- endblock %}
Contributor guide
No contributing guide indexed for this repository
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 with the formatting behavior for the Twig block example in the issue, then locate the VS Code extension entry point that handles formatting. Check how whitespace-control delimiters using '-' are processed compared with standard delimiters. Done means formatting preserves the intended left, right, or both-sided whitespace suppression.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100