Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

Go to definition does not work #745

@DonJayamanne

Description

@DonJayamanne

Microsoft Python Language Server version 0.2.17.0

  • Right click and go to definition for b_something() in a.py
  • It will go to something in the first line of a.py
  • Right click and go to definition of something in line 1 of a.py
  • Does not work

Problems:

  • Shouldn't go to definition of b_something() to to b_something in line 1 instead of something in line 1
  • Go to definition from b_something in line 1 of a.py works and something in line 1 does not work!
# a.py
from b import something as b_something

b_something()

# b.py
def something():
	pass

gotodef

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions