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

Path completion replaces last portion of path instead of entire path #185

Closed
ajhall opened this issue May 29, 2024 · 2 comments · Fixed by #186
Closed

Path completion replaces last portion of path instead of entire path #185

ajhall opened this issue May 29, 2024 · 2 comments · Fixed by #186

Comments

@ajhall
Copy link
Contributor

ajhall commented May 29, 2024

When I type a partial path, I get a list of paths in the autocomplete popup:
image

But when I press tab or enter to accept the completion, it leaves the partially-typed path except for the last portion, which it replaces with the autocomplete entry:
image

In this example I expected to type k8s/_cluster/ClusterRol tab and have it autocomplete to k8s/_cluster/ClusterRole/, but it completed to k8s/_cluster/k8s/_cluster/ClusterRole/ instead.

@fdncred
Copy link
Contributor

fdncred commented May 29, 2024

Thanks for catching this. We'd accept a PR to fix it.

@ajhall
Copy link
Contributor Author

ajhall commented May 29, 2024

Yep, I'll try to contribute if I find the time!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants