JSDoc support in the new IDE

802 views
Skip to first unread message

dimud...@gmail.com

unread,
Jun 16, 2021, 9:58:49 AM6/16/21
to Google Apps Script Community
After some experimentation, I've found that the new IDE supports a very specific subset of JSDoc tags.  See list below:
class extensions
While few in number, these tags allow for really robust code-completion.

Coincidentally, the supported tags are the same as those supported in Typescript! 

Typescript's JSDoc reference documentation has proven to be quite useful as a result:


Figured I'd pass this on for those interested in this stuff.

Alan Wells

unread,
Jun 16, 2021, 12:01:47 PM6/16/21
to Google Apps Script Community
Thanks for revealing this capability.  I did not know about it.

Ken Swindell

unread,
Oct 5, 2021, 1:40:14 PM10/5/21
to Google Apps Script Community
Thanks, the editor inserts  /** @type {any[]} */  in some class properties, and I was trying figure out what was going on. Are there any tutorials on how to best use them in the Apps Script IDE?
Reply all
Reply to author
Forward
0 new messages