redhat-developer / quarkus-ls

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

No need to insert java.lang prefix when completing types in Qute templates #911

Open fbricon opened 11 months ago

fbricon commented 11 months ago

According to https://quarkus.io/guides/qute-reference#typesafe_expressions

A Java type should be always identified with a fully qualified name unless it’s a JDK type from the java.lang package - in this case, the package name is optional

I find {@java.lang.String name} too verbose, upon completion selection, it should insert {@String}

angelozerr commented 11 months ago

Everytime, even if user apply completion after {@java.lang.| ? should we have a settings for that?

fbricon commented 11 months ago

if java.lang. is already typed, no need to remove it (for now), but if I type {@String| I don't want to inject the namespace