question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Variable type on hover not showing up

See original GitHub issue

(initially reported in https://github.com/microsoft/vscode-python/issues/16187)

When having the following snippet:

variable: int = 0

variable + 1  # hover on "variable" should display [int]

Hovering on the bottom variable doesn’t return its type.

Trace info:

[Trace - 2:43:16 PM] Sending request 'textDocument/hover - (8)'.
Params: {
    "textDocument": {
        "uri": "file:///Users/kimiguel/Documents/Sandbox/sample-file/foo.py"
    },
    "position": {
        "line": 2,
        "character": 6
    }
}


INFO:pygls.protocol:Sending data: {"jsonrpc": "2.0", "id": 8, "result": null}
[Trace - 2:43:16 PM] Received response 'textDocument/hover - (8)' in 5ms.
No result returned.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
pappasamcommented, Jun 4, 2021

Resolved with latest release

1reaction
karthiknadigcommented, Jun 4, 2021

@pappasam I agree. We can tackle corner cases based on user feedback.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Variable type on hover not showing up with JediLSP #16187
Variable type pops up in a small box on hover. Actual behaviour. Only function definitions pop up on hover, variables do not pop...
Read more >
Hover over variables no longer show the debug value.
I have a problem since 24/11/2021 where in visual studio 2022 and in visual studio 2019 during a debug session the variables are...
Read more >
c# - Datatips (mouse hover over variables in debug mode) not ...
I expect to see the value of the variable (aka datatips). I'm running Visual Studio 2012 Ultimate (trial edition) on Windows 7 64bit....
Read more >
Cannot see variable's properties when I hover over while ...
When I'm debugging on my second monitor, I'm not able to see the properties of a variable when I hover over it. But...
Read more >
Hovering over variables does not display a tooltip with the ...
After hitting a breakpoint, if I place the mouse over a variable, the tooltip does not appear that displays the variable's value.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found