Skip to content

Intellisense is wrong with staticmethod #182

@DonJayamanne

Description

@DonJayamanne

From @seanmars on September 21, 2017 4:36

Environment data

VS Code version: 1.16.1
Python Extension version: 0.7.0
Python Version: 3.5
OS and version: Windows 10

Actual behavior

The first argument will determine as the class not the given type.

Expected behavior

The first argument can determine as the given type.

Steps to reproduce:

  • create a class include staticmethod.
  • using the intellisense with the first argument in that staticmethod.

Example

https://gist.github.com/seanmars/f4db30cab21e2d3ec45e350cf9ed0909

Copied from original issue: DonJayamanne/pythonVSCode#1227

Metadata

Metadata

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