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
{{ message }}
Repository navigation
IntelliSense based on JSDoc only not working #28440
0
down vote
favorite
I am using a framework, that generates automatically properties for classes and even classes can be generated by a define function.
The problem in Visual Studio Code is, that the autocompletion is not working if properties or whole classes are only defined by jsdoc. Or am I wrong? In Webstorm this works.
Example:
/**
* @description
* A Person
*
* @class
*/
function Person(name) {
/**
* @description
* Name of the person
* @property {String}
*/
this.name = name;
/**
* @description
* Another Name of the person
* @property {String}
*/
this.anotherName = name;
/**
* @description
* Another Name of the person
* @property {String}
* @name Person#AndEvenMoreNames
*/
}
var oPerson = new Person("Peter");
oPerson.
Webstorm now enables autocompletion for all 3 properties, whereas Visual Studio Code only shows autocompletion for name and anotherName.
Activity
mjbvz commentedon Nov 9, 2018
Support for
@propertyis tracked by #15715monavari-lebrecht commentedon Nov 13, 2018
For "virtual" classes the problem exists as well...
The Person class is not recognized as well...
monavari-lebrecht commentedon Nov 14, 2018
so I dont think, that it is related to the duplicate issue, isnt it? It is more a problem, that JSDoc without code implementation is ignored...