redhat-developer / redhat-developer/quarkus-ls

Added Qute CodeAction(s) for similar text suggestions for UndefinedSectionTag

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

Nobody has claimed this yet.

code action qute
Dominant language
Java
Stars
50
Forks
18
Avg merge
22h 11m
Merged PRs (30d)
3

Description

Given this Qute template:

{#eac items}
{/eac}

eac will be highlighted as an error. We should provide a code action with similar value whith code action which replace with each. Here we will use Qute core section (each, list, etc).

Given this Qute template:

{#use}
{/use}

Here if user tag doesn't exists (the file src/main/resources/templates/use.html doesn't exists) but the src/main/resources/templates/user.html exists, we should provide a code action for similar value with user

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 locating the Qute language-server handling for UndefinedSectionTag diagnostics and code actions. Use the examples in the issue, including src/main/resources/templates/use.html and user.html, to verify both core section suggestions such as each and template-name suggestions. Done means the appropriate replacement action is offered for similar section or template names.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.