You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does this issue occur when all extensions are disabled?: Yes
VS Code Version: 1.66.2 (system setup)
OS Version: Microsoft Windows Version 21H1 (OS Build 19043.1526)
Steps to Reproduce:
Create a new object using object literal with two or more properties and a method: let obj = { x: 10, y: [1], fun: function () {}
Now, inside the method, addressing to the properties using this keyword is recognised by the IntelliSense/autocomplete. this. - results in
Change the value of a property inside the method, for instance let obj = { x: 10, y: [1], fun: function () {this.x = 5;}}
Now, only addressing to the property x is recognised by the IntelliSense/autocomplete:
Even though y property is an array, IntelliSense won't show its methods and properties:
System info
CPUs
Intel(R) Core(TM) i5-6600 CPU @ 3.30GHz (4 x 3312)
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
let obj = { x: 10, y: [1], fun: function () {}thiskeyword is recognised by the IntelliSense/autocomplete.this.- results inlet obj = { x: 10, y: [1], fun: function () {this.x = 5;}}xis recognised by the IntelliSense/autocomplete:Even though
yproperty is an array, IntelliSense won't show its methods and properties:System info
A/B experiment info