pappasam / coc-jedi

coc.nvim wrapper for https://github.com/pappasam/jedi-language-server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hover not working for variables

stevanmilic opened this issue · comments

When using coc-python doHover action on the variable showed its type if it could be inferred by jedi. This doesn't work in coc-jedi. I'm wondering is it a limitation of the jedi-language-server or a bug in this extensions?

Steps to reproduce

def sum(a: int, b:int) -> int:
    return a + b

Hovering over the a or b variable in the expression should show the type of the variable (easily inferred from the function signature).

The issue is fixed with the version 0.26.1:
image