redhat-developer / intellij-quarkus

IntelliJ Quarkus Tools
Eclipse Public License 2.0
120 stars 50 forks source link

REST endpoint code vision hint is not resolving a `public static final` and `quarkus.rest.path` parameter #1393

Closed FreifeldRoyi closed 1 month ago

FreifeldRoyi commented 1 month ago

Screenshot 2024-10-07 at 18 06 52

As shown in the attached image:

  1. The REST endpoint is given as a public static final field and is not resolved. Pressing the link will resolve to the same faulty url.
  2. I have set up a quarkus.rest.path variable in application.properties and it is not being resolved.

I have opened a similar bug for something that might be related

angelozerr commented 1 month ago

Thanks for having reported the issue. I will investigate your problem.

FreifeldRoyi commented 1 month ago

Sure np. Thank you for the maintenance work. Most appreciated

angelozerr commented 1 month ago

@FreifeldRoyi please follow PR https://github.com/redhat-developer/intellij-quarkus/pull/1396

angelozerr commented 1 month ago

@FreifeldRoyi if you want to try this feature before waiting the release:

And please give me feedback if it works for you.

Please note that if you define a new value for quarkus.rest.path in application.properties, it will not refresh code vision. You will need to add a space for instance in your Java editor to refresh it.

Please create an issue with this problem.