posit-dev / positron

Positron, a next-generation data science IDE
Other
1.51k stars 43 forks source link

Python hovers include two signatures #3680

Open seeM opened 1 week ago

seeM commented 1 week ago

Positron Version:

Positron Version: 2024.06.1 (Universal) build 27

Steps to reproduce the issue:

  1. Hover over any symbol.
  2. The hover will include two symbols, like this:

    image

I think one is from the Jedi LSP and one from the Pyright extension, but haven't confirmed

What did you expect to happen?

There should only be one signature.

Were there any error messages in the output or Developer Tools console?

No.

Doublonmousse commented 4 days ago

Maybe being able to configure multiple LSPs like this would be useful in some cases. Jedi parses docstrings better than pyright so I would be interested in having jedi used for hover and pyright for the rest