redhat-developer / quarkus-ls

Language server for Quarkus tooling
Eclipse Public License 2.0
44 stars 15 forks source link

Avoid hardcoding the template folder for Qute #840

Open datho7561 opened 1 year ago

datho7561 commented 1 year ago

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: