redhat-developer / redhat-developer/vscode-quarkus

Automatic tag closing can occur within template parameter declaration

Open
#545 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug qute
Dominant language
TypeScript
Stars
79
Forks
31
Avg merge
12h 51m
Merged PRs (30d)
6

Description

Given the following Qute template:

{@java.lang.List<java.lang.String| myStrings}

If you type in the missing > at the |, then the HTML automatic tag closing will activate, resulting in:

{@java.lang.List<java.lang.String></java.lang.String> myStrings}

It would be nice if we are able to disable this feature when the cursor is within the {@...}.

See the discussion at https://github.com/redhat-developer/quarkus-ls/issues/741

Contributor guide

Open the contributing guide

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 supplied Qute template in the VS Code extension and locating the language-support handling for HTML automatic tag closing. Done means typing the missing > inside {@...} no longer inserts a closing tag, while automatic closing remains available outside the template parameter declaration.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.