helm-company icon indicating copy to clipboard operation
helm-company copied to clipboard

[Suggestion] Tooltip alignment

Open akater opened this issue 7 years ago • 2 comments

company has got company-tooltip-align-annotations custom variable. Would be nice for it to trigger annotations alignment in helm-company buffers as well.

akater avatar Feb 10 '18 01:02 akater

That's a neat idea. Do you think it'd make sense to align them to the emacs fill-column?

Sodel-the-Vociferous avatar Feb 13 '18 05:02 Sodel-the-Vociferous

I suspect tooltips better not be placed too far from candidates themselves, so my initial approach would be to calculate the alignment based on the current candidates list, and use max length + 2 or 3 spaces. However, my knowledge of helm internals is negligible, and this could be too much hassle, namely too slow to redisplay smoothly, or too difficult to implement.

helm-buffers-list deals well with multiple columns. I looked into it for inspiration but did not get far yet.

akater avatar Feb 13 '18 06:02 akater

Hi @akater,

I feel bad about leaving this unimplemented, with an open issue, for so long. Unfortunately, this is not a feature that I will have time to develop myself.

For now, I am going to close this issue. Sorry, and best regards!

Sodel-the-Vociferous avatar Nov 08 '23 06:11 Sodel-the-Vociferous