forked from redhat-developer/quarkus-ls
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Qute fragments doesn't work with non inner Templates Java file
Fixes redhat-developer#937 Signed-off-by: azerr <[email protected]>
- Loading branch information
1 parent
f80700e
commit 3a1c1ba
Showing
6 changed files
with
102 additions
and
1 deletion.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
...te.jdt.test/projects/maven/qute-quickstart/src/main/java/org/acme/qute/ItemTemplates.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package org.acme.qute; | ||
|
||
import io.quarkus.qute.CheckedTemplate; | ||
import io.quarkus.qute.TemplateInstance; | ||
|
||
import java.util.List; | ||
|
||
@CheckedTemplate | ||
public class ItemTemplates { | ||
|
||
static native TemplateInstance items(List<Item> items); | ||
static native TemplateInstance items$id1(List<Item> items); | ||
static native TemplateInstance items3$id2(List<Item> items); | ||
static native TemplateInstance items3$(List<Item> items); | ||
} |
14 changes: 14 additions & 0 deletions
14
...jects/maven/qute-quickstart/src/main/java/org/acme/qute/ItemTemplatesIgnoreFragments.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package org.acme.qute; | ||
|
||
import io.quarkus.qute.CheckedTemplate; | ||
import io.quarkus.qute.TemplateInstance; | ||
|
||
import java.util.List; | ||
|
||
@CheckedTemplate(ignoreFragments = true) | ||
public class ItemTemplatesIgnoreFragments { | ||
|
||
static native TemplateInstance items2(List<Item> items); | ||
static native TemplateInstance items2$id1(List<Item> items); | ||
static native TemplateInstance items2$id2(List<Item> items); | ||
} |
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters