redhat-developer / quarkus-ls

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

`{if !inject:beanName}{/if}` is marked as invalid #828

Closed datho7561 closed 1 year ago

datho7561 commented 1 year ago

Open https://github.com/FroMage/quarkus-renarde-todo/blob/7784cba6de7f31e937726eec6725df3c95eca1f6/src/main/resources/templates/main.html#L31 in vscode-quarkus, and it will be marked with the warning "No namespace resolver found for: !inject". However, this code runs fine. It would be nice if we didn't mark it as invalid.

fbricon commented 1 year ago

is it a regression? inject: has been supported for a while

datho7561 commented 1 year ago

This doesn't appear to be a regression, I double checked against 1.13.0 from the marketplace

angelozerr commented 1 year ago

It is not à regression. We need to support ! character.

Let s me investigate how to manage that. If it is easy I will create a pr

angelozerr commented 1 year ago

This issue should be fixed with https://github.com/redhat-developer/quarkus-ls/pull/835