mblode / mblode/vscode-twig-language-2

Auto closing tags not working with Twig

Open
#97 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
JavaScript
Stars
62
Forks
33
PR merge metrics
No merged PRs in 30d

Description

I couldn't get the default setting "html.autoClosingTags": true to work with this extension. Is there a way to make it compatible with Twig? I think this feature is great and it's kind of breaking the workflow without it.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in VS Code with a Twig file and the html.autoClosingTags setting enabled. Trace how this extension registers Twig language support and compare it with the behavior of a language where auto-closing tags works; done means matching closing tags are inserted while editing Twig.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.