Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fbricon opened this issue Jul 23, 2023 · 2 comments
Open
Labels
enhancement New feature or request qute

Comments

@fbricon
Copy link
Collaborator

fbricon commented Jul 23, 2023

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}

@fbricon fbricon added enhancement New feature or request qute labels Jul 23, 2023
@angelozerr
Copy link
Contributor

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

@fbricon
Copy link
Collaborator Author

fbricon commented Jul 23, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request qute
Projects
None yet
Development

No branches or pull requests

2 participants