redhat-developer / redhat-developer/quarkus-ls

Improve generate Qute template content from Java data model

Open
#442 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement qute template-file
Dominant language
Java
Stars
50
Forks
18
Avg merge
22h 11m
Merged PRs (30d)
3

Description

When Qute template doesn't exists, a codelens in Jva file is displayed with Create title. When we click on it, it generate the proper Qute template file with content coming from Java data model (method parameters + template.data call).

This generation is not finished and must be improved. It is based on the Qute template ls/blob/master/qute.ls/com.redhat.qute.ls/src/main/resources/com/redhat/qute/services/commands/generate.qute.html that it should be improved.

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 reading qute.ls/com.redhat.qute.ls/src/main/resources/com/redhat/qute/services/commands/generate.qute.html and tracing the Create codelens flow described in the issue. Compare the generated template with the Java method parameters and template.data call; done means the incomplete generation behavior is improved.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.