When creating a JS object and defining some accessories, I found that I could not get intellisense after this.
Code example:
function Obj(foo) { this.foo = foo; } Obj.prototype = { get bar() { return this.
But creating a method with Obj.prototype.test = function () {...} will give me intellisense.
Is there a way to reproduce the same lexical analysis for this case with user preferences, or is it an actual flaw / error?
Edit: here is an image of what VSCode shows: 
As you can see, it shows only previously used words, and nothing more.
source share