Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation on hover not working #8348

Closed
Syndorik opened this issue Nov 24, 2021 · 4 comments
Closed

Documentation on hover not working #8348

Syndorik opened this issue Nov 24, 2021 · 4 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug

Comments

@Syndorik
Copy link

Environment data

  • VS Code version: 1.63.0-insider c1f2f40bcd81380bf2e286af64becddada57db88 x64
  • Jupyter Extension version (available under the Extensions sidebar): v2021.11.1001498571
  • Python Extension version (available under the Extensions sidebar): v2021.12.1496310747-dev
  • PylanceExtension version (available under the Extensions sidebar): v2021.11.3-pre.1
  • OS (Windows | Mac | Linux distro) and version: Ubuntu 20.04
  • Python and/or Anaconda version: python 3.9.7
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
  • Jupyter server running: Remote

It seems that the docstring doesn't appear when I hover on a piece of code. Like for instance the documentation doesn't show up when I hover on Overpass. However autocompletion still works.

image

@Syndorik Syndorik added the bug Issue identified by VS Code Team member as probable bug label Nov 24, 2021
@IanMatthewHuff
Copy link
Member

@rchiodo can confirm. But you mentioned that you are running on a remote Jupyter server? I believe that in this case our language server support is a bit more limited (we are relying on just what the Jupyter server provides in that case instead of the full language server support) so that is why you are not seeing docstrings.

@Syndorik
Copy link
Author

Well I think I was seeing the docstring before, like 1 or 2 weeks ago (sorry I went on holidays, so can't confirm the exact date of when it broke).

@rchiodo
Copy link
Contributor

rchiodo commented Nov 29, 2021

Yes hover shouldn't work with remote. Only autocomplete as we get that from the jupyter server. Pylance isn't running on the remote machine so it doesn't have the environment in order to provide the necessary information.

@rchiodo
Copy link
Contributor

rchiodo commented Nov 29, 2021

This should be a dupe of #8285

@rchiodo rchiodo closed this as completed Nov 29, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

3 participants