We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If we have import alias like this:
import verylong.pkg.so.we.treat.it as it
And supposing that verylong.pkg.so.we.treat.it has foo member.
verylong.pkg.so.we.treat.it
foo
Then we use auto-completion like this:
foo<TAB>
Thus Metals automatically imports foo:
import verylong.pkg.so.we.treat.it as it import verylong.pkg.so.we.treat.it.foo
Auto-import should respect import alias it.
it
So I want lines like this:
import verylong.pkg.so.we.treat.it as it import it.foo
I have no alternatives. I'm removing redundant part every time.
I'm using Besom, and it has many deep package structure like this:
import besom.api.kubernetes.core.v1.ConfigMap import besom.api.kubernetes.core.v1.ConfigMapArgs import besom.api.kubernetes.core.v1.Pod import besom.api.kubernetes.core.v1.PodArgs import besom.api.kubernetes.core.v1.Secret import besom.api.kubernetes.core.v1.SecretArgs import besom.api.kubernetes.core.v1.Service import besom.api.kubernetes.core.v1.ServiceArgs import besom.api.kubernetes.core.v1.inputs.ConfigMapVolumeSourceArgs import besom.api.kubernetes.core.v1.inputs.ContainerArgs import besom.api.kubernetes.core.v1.inputs.ContainerPortArgs import besom.api.kubernetes.core.v1.inputs.HttpGetActionArgs import besom.api.kubernetes.core.v1.inputs.KeyToPathArgs import besom.api.kubernetes.core.v1.inputs.PersistentVolumeClaimSpecArgs import besom.api.kubernetes.core.v1.inputs.PodSpecArgs import besom.api.kubernetes.core.v1.inputs.ProbeArgs import besom.api.kubernetes.core.v1.inputs.SecretVolumeSourceArgs import besom.api.kubernetes.core.v1.inputs.ServicePortArgs import besom.api.kubernetes.core.v1.inputs.ServiceSpecArgs import besom.api.kubernetes.core.v1.inputs.VolumeArgs import besom.api.kubernetes.core.v1.inputs.VolumeMountArgs import besom.api.kubernetes.core.v1.inputs.VolumeResourceRequirementsArgs import besom.api.kubernetes.meta.v1.inputs.ObjectMetaArgs
auto, import, completion, alias, package
The text was updated successfully, but these errors were encountered:
Thanks for reporting! This rather looks like a bug, I will move it to the main repo
Sorry, something went wrong.
kasiaMarek
Successfully merging a pull request may close this issue.
Is your feature request related to a problem? Please describe.
If we have import alias like this:
And supposing that
verylong.pkg.so.we.treat.it
hasfoo
member.Then we use auto-completion like this:
foo<TAB>
Thus Metals automatically imports
foo
:Describe the solution you'd like
Auto-import should respect import alias
it
.So I want lines like this:
Describe alternatives you've considered
I have no alternatives. I'm removing redundant part every time.
Additional context
I'm using Besom, and it has many deep package structure like this:
Search terms
auto, import, completion, alias, package
The text was updated successfully, but these errors were encountered: