-
Notifications
You must be signed in to change notification settings - Fork 51
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 template validation breaks when using Gradle #1224
Comments
Could you share your project please. |
I created a minimal repo here but I'm seeing different behavior there now. https://github.com/billoneil/quarkus-kotlin-qute |
Thanks @billoneil for sharing your project. I have imported your project and at first you need to wait that your project is indexing to benefit with Qute support. After IJ indexing is finishd, do you have syntax coloration ad completion support for Qute? I have imported your project and there is indeed a problem. It seems that root path for template is in |
The current problem is that So we consider that there are 4 Qute projects. You can see that in LSP console: by activating verbose message:
With maven project, themodule is the root project, not main,test. I wonder if it is a standard layout for gradle to have a module for main, test? |
it's the way IJ deals with Gradle projects. Not sure we can do something about it |
@angelozerr all of the referenced templates live in the same module is this a problem because it doesn't know which project to look in? |
for now our language servers don't support kotlin projects, so not finding templates might be a side effect (or not). We need to investigate. |
I need to investigate more, but the first problem is that we consider that there are 4 Qute projects (because of module) although there is just one module.
@fbricon for this issue, the problem is about modules. In Gradle, it seems that main,test are modules although in maven those folders are not a module. |
OK the same problems occurs on gradle projects without kotlin. |
Fixes redhat-developer#1224 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#1224 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#1224 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#1224 Signed-off-by: azerr <azerr@redhat.com>
@billoneil we have fixed problem with gradle project, but your project will not work again because you are using Kotlin which is not a trivial issue. Please follow the issue #482 |
There are no issues with the templates and everything works correctly but I am getting errors with the Qute validation.
The templates are located here in the build directly and they do work as expected.
The text was updated successfully, but these errors were encountered: