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.

Can't find definition of inherited method when using language server #1356

@zydxt

Description

@zydxt

Environment data

  • VS Code version: 1.35.1
  • Extension version (available under the Extensions sidebar): 2019.6.24221
  • OS and version: Linux x64 5.1.16-1-MANJARO
  • Python version (& distribution if applicable, e.g. Anaconda): Python 3.7.3
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): pipenv
  • Jedi or Language Server? (i.e. what is "python.jediEnabled" set to; more info #3977): Language Server

Expected behaviour

When go to definition of inherited method, It should find the definition of method inherited from parent class

Actual behaviour

When go to definition, it show that no definition found (but the autocomplete work well):
Screenshot_20190720_224640
Screenshot_20190720_231940

But when I set jediEnabled to true, It works well as expected.

Actual behaviour

  1. Set jediEnabled to false
  2. Create a class and declare a method
  3. Create a new class that inherit the previous one, and call method inherited from parent class
  4. Trigger go to definition

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions