Skip to content

Build 2018.8.0-alpha0: outline: __init__ method attributes incorrect #2384

Closed
@derekwallace

Description

@derekwallace

vscode Insiders
manually installed vscode-python 2018.8.0-alpha0

Good news is that outline shows the methods inside the class.
I think there are a number of bugs with what it displays.

There seems to be some issue with attributes.
In the following you see a number of attributes.
dCache*. these are all defined in the init method. Why are they show outside the class?
If you click on the attribute, it brings you to line 1 of the file, which is a comment.

image

here is the init
image

For this method the local variables are withing the method.
image

In this example its confused with "cls" which is used for a class method.

image

image

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

Relationships

None yet

Development

No branches or pull requests

Issue actions