Skip to content

CodeAction to insert required user tag parameters #797

@angelozerr

Description

@angelozerr

Given this user tag src/main/resources/templates/tags/input.html:

<input name="{name}" class="{class}" >

Given this qute template src/main/resources/templates/test.html which uses the input.html user tag:

{#input /}

The validation reports error for missing name and class parameters:

image

It should be nice to provide a code action which insert the required parameters. After the apply of the code action we should have:

{#input name="name" class="class" /}

@JessicaJHee do you want to work on this issue?

Metadata

Metadata

Assignees

Type

No type

Projects

Status

✅ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions