jcs-legacy / company-quickhelp-terminal

Terminal support for `company-quickhelp'.
GNU General Public License v3.0
13 stars 4 forks source link

Quick help on position? #5

Open LionyxML opened 5 months ago

LionyxML commented 5 months ago

Hello there!

Thanks for this package! I'd love to have some functionality like quickhelp into the terminal.

Just a quick question. Since there's no demo image on README is this what it is suposed to do?

image

I've been messing around with the popup-tip function but I couldn't figure out how to make the documentation appear to the right of the company overlay.

Any hints from a more experienced fellow?

jcs090218 commented 5 months ago

I haven't used this package for a long time. I recall that it should appear on the side if you have enough space. If not, it will be at the bottom. 🤔

LionyxML commented 5 months ago

I also thought that would be the case.

I tried on Kitty, Alacritty, and iTerm2, running Emacs with enough space, but it looks like popup-tip always chooses to open on the closest "out of the way" left position.

I managed to mess a bit with the position and got situations where part of the document was above and part below, but never to the side, lol.

I really want this to proper behave! :smile: It looks like people forget Emacs is TUI/GUI, packages like these are lifesaviers.