In a few spots, we hard code the folder that the templates are expected to be in. However, in Eclipse, Maven, and Gradle projects, you can configure the resources directory to be in a different location. It would be nice if we avoided hardcoding the value so that qute-ls works properly with projects that change the location of the resource folder.
Some features that currently break when you change the location of the resources folder are:
vscode-quarkus doesn't recognize files in the template folder as Qute templates until a Java file is opened (I'm not sure if this is handled by vscode-quarkus or quarkus-ls)
See https://github.com/redhat-developer/quarkus-ls/pull/834#issuecomment-1488897566
In a few spots, we hard code the folder that the templates are expected to be in. However, in Eclipse, Maven, and Gradle projects, you can configure the resources directory to be in a different location. It would be nice if we avoided hardcoding the value so that qute-ls works properly with projects that change the location of the resource folder.
Some features that currently break when you change the location of the resources folder are: