Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
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

Copy link
Copy link
@zydxt

Description

@zydxt
Issue body actions

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
Reactions are currently unavailable

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.