Skip to content

Goto chaining class field does not work #26

@rudolf101

Description

@rudolf101

Description

Goto chaining class field does not work

To Reproduce

Steps to reproduce the behavior:

  1. Run Visual Studio Code extension.
  2. Write this code:
class People:

    def __init__(self, name, age, car):
        self.name = name
        self.age = age
        self.car = car


class Car:

    def __init__(self, price, condition):
        self.price = price
        self.condition = condition


guy = People("Name", 100, Car(1000, "Good"))
print(guy.name, guy.age, guy.car.price, guy.car.condition)
  1. Use goto onto condition field in guy.car.condition

Expected behavior

Go to condition field of Car class

Actual behavior

Nothing

Visual proofs (screenshots, logs, images)
Goto class field
image
Goto chaining class field does not work
image

Environment

OS: Windows 11 Pro 21H2
JDK: Amazon Coretto 18.0.2
Intellij IDEA: Build #IU-221.5921.22
Visual Studio Code: v1.70.1

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions