If I construct a class in AppScript and add a method, is it possible to get the autocomplete feature to work when I type a period after an instance of that class?
Google's documentation says "If you want your library users to make use of Script Editor autocomplete and the automatically generated documentation, you must have JSDoc style documentation for all your functions."
I'm not sure if it's possible, or if I'm implementing the JSDoc style documentation incorrectly.
/*
* @constructor
*/
function MyConstructor(){
this.sayHello = function(){
return "Hello World!"
}
}
function run(){
var foo = new MyConstructor();
//Is it possible to see autocomplete with "sayHello()"
//after typing this period
var hello = foo.
}