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

Show description for completion candidates #314

Open
snuyanzin opened this issue Jun 12, 2019 · 4 comments
Open

Show description for completion candidates #314

snuyanzin opened this issue Jun 12, 2019 · 4 comments

Comments

@snuyanzin
Copy link
Collaborator

snuyanzin commented Jun 12, 2019

Jline3 allows this.
Here it is a short example of how it could be toggled by a property
https://asciinema.org/a/251412

Also as it could be seen from the example, commands with different aliases could be aggregated together if several aliases matches for completion

@snuyanzin
Copy link
Collaborator Author

I also added another short demo on not a full screen.
https://asciinema.org/a/255980?speed=2.5&theme=solarized-dark&cols=78&rows=18

@julianhyde
Copy link
Owner

Nice! I'll tweet out that demo when the feature appears in a release.

@snuyanzin
Copy link
Collaborator Author

Command name completion merged as 6a215a1

I will check if there is a more or less simple way to support the similar behavior for variables

@snuyanzin
Copy link
Collaborator Author

I made also for schemas, tables, columns while #331

For variables there is an issue with their long descriptions that in most cases even longer that the screen's width. Simple cutting of description does not work as in most cases cut descriptions lose their sense.

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