Skip to content

IntelliSense stopped providing completions for inherited variables and methods since 2018.2.0 #1072

Description

Environment data

  • VS Code version: 1.21.0
  • Extension version (available under the Extensions sidebar): 2018.2.1, 2018.3.1
  • OS and version: macOS 10.12.6
  • Python version (& distribution if applicable, e.g. Anaconda): 2.7.10, 2.7.11, 2.7.14
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): pyenv-virtualenv

Actual behavior

After one of the last updates of vscode-python extension, IntelliSense stopped providing completions for variables and methods inherited from parent classes and/or mixins. Completion is only provided for variables and methods declared on the derived class.

screen shot 2018-03-14 at 11 25 53

Expected behavior

Completions are available for inherited variables and methods from parent classes and mixins and from derived class.

Steps to reproduce:

  1. Select python2 as an interpreter
  2. Create a class, declare variable and/or method
  3. Create a derived class that inherits from class (1)
  4. Create an instance of derived class (2)
  5. Trigger code completion

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-intellisenseLSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.bugIssue identified by VS Code Team member as probable bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions