Skip to content

Salsa does not highlight object properties across methods #6664

Closed
@egamma

Description

@egamma

From @alexandrudima on January 27, 2016 12:46

Testing #2218

When I hover over this.age in the console.log I get to see it is a property of type number, but the assignment in line 2 is not highlighted:

function Person() {
    this.age = 13;
}
Person.prototype.sayHi = function() {
    console.log('Hi, I\'m ' + this.age);
    console.log('Hi, I\'m ' + this.age);
}

var p1 = new Person();

image

Copied from original issue: microsoft/vscode#2438

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixedA PR has been merged for this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions