davidhalter / jedi-vim

Using the jedi autocompletion library for VIM.
MIT License
5.27k stars 370 forks source link

Make signature popup position configurable? #1058

Open andrew-vant opened 3 years ago

andrew-vant commented 3 years ago

I like the popup call signatures, but their positioning isn't great. They appear directly above the cursor, usually covering the last few lines of code context.

I'd like the popup to spawn somewhere else, preferably with a way to customize its position. Possibilities:

For the time being I'm using show_call_signatures=2, which works fine, although I sort of wish it aligned the message with split column 0 instead of the cursor position, and it's harder to read alternate signatures.

I'm not great at vimscript, but I'm willing to attempt to implement this if someone can point me to the right piece of code.

blueyed commented 3 years ago

There's some work that needs to be finished in https://github.com/davidhalter/jedi-vim/pull/652. Maybe you can try/revisit the PR/branch (blueyed:call-signatures) from there?

(Sorry, I've only skimmed the contents of your issue, but figured it would be relevant already)

SamsiFPV commented 2 years ago

What's the status on this? Also, can the signatures popup be called manually?