Skip to content

The functionality of "Go to Definition" is missing #5594

@nixingyang

Description

@nixingyang

Environment data

  • Language Server version: ms-python.python v2024.2.1, ms-python.debugpy v2024.2.0, ms-python.vscode-pylance v2024.2.3
  • OS and version: Arch Linux with the latest packages
  • Python version (& distribution if applicable, e.g. Anaconda): Python 3.12.2 installed using conda

Code Snippet

import torch

torch.nn.Conv2d()

Repro Steps

  1. Right-click on the function of interest or use CTRL+Click

Expected behavior

There should be the Go to Definition option that allows one to inspect the implementation of that function.

Actual behavior

There is no Go to Definition option.

Screenshots

Screenshot from 2024-03-07 12-47-49
Screenshot from 2024-03-07 12-48-28

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions