skip to Main Content

On hovering the mouse pointer over a function, whether inbuilt or custom, the definition and docstring of the function shows as expected, however it shows twice. I have had a search for what might be causing this and looked around my settings, but have yet to find a reason for it. If it makes a difference, am using Python on VSCode.

Perhaps someone knows what might be causing this and how to resolve? I have not attached any images, since I think the issue is quite clear, but happy to provide if needed for clarification.

Thanks!

2

Answers


  1. Chosen as BEST ANSWER

    Not sure still what caused the issue, but disabling and then re-enabling the Pylance extension has solved this. Thanks.


  2. Disabling the Jupyter extension seems to fix it for me.

    Update: Enabling the Jupyter extension and setting this also does the trick:

    "jupyter.pylanceHandlesNotebooks": false
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search