Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qute(NoMatchingTemplate) if using @CheckedTemplate with basePath #787

Closed
LukasLeppich opened this issue Jul 12, 2024 · 1 comment · Fixed by redhat-developer/quarkus-ls#972
Assignees
Labels
bug Something isn't working qute
Milestone

Comments

@LukasLeppich
Copy link

VSCode shows the following error if a @CheckedTemplate with basePath is used:
No template matching the path Todos/index could be found for: rest.Todos$Templatesqute(NoMatchingTemplate)

The application starts as normal without errors.

VSCode Quarkus Extension version: v1.17.0

Reproduce:
Checkout https://github.com/ia3andy/htmx-todo
Change @CheckedTemplate in Todos.java to:

@CheckedTemplate(basePath="todo_v1")
public static class Templates {

Rename Todos directory in src/main/resources/templates to todo_v1

@fbricon
Copy link
Collaborator

fbricon commented Jul 12, 2024

Indeed redhat-developer/quarkus-ls#893 needs to be fixed

angelozerr added a commit to angelozerr/quarkus-ls that referenced this issue Jul 12, 2024
angelozerr added a commit to angelozerr/quarkus-ls that referenced this issue Jul 12, 2024
angelozerr added a commit to angelozerr/quarkus-ls that referenced this issue Jul 12, 2024
angelozerr added a commit to angelozerr/quarkus-ls that referenced this issue Jul 12, 2024
angelozerr added a commit to angelozerr/quarkus-ls that referenced this issue Jul 12, 2024
@angelozerr angelozerr self-assigned this Jul 12, 2024
@angelozerr angelozerr added bug Something isn't working qute labels Jul 12, 2024
@angelozerr angelozerr added this to the 1.18.0 milestone Jul 12, 2024
@angelozerr angelozerr moved this to 👀 In review in IDE Cloudaptors Jul 12, 2024
angelozerr added a commit to angelozerr/quarkus-ls that referenced this issue Jul 12, 2024
angelozerr added a commit to redhat-developer/quarkus-ls that referenced this issue Jul 12, 2024
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in IDE Cloudaptors Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working qute
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

3 participants