I have written a PowerShell Class with static methods. It works quite swiftly and efficiently.
I would like the ability to add comments to the Class and the Methods which will appear in an IDE (e.g. VScode) while writing Advanced Functions that use the Class. In Python one can surround the comments with three single quotes (’’‘comment’’’) as shown below. Those comments appear in VScode when writing against the class/function.
Is there a Methodology (wink) for this in PowerShell? If so, what is it? I’ve tried /// and # and ‘’’ to no avail.
‘’‘My Comments Here’’’
‘’‘More comments here’’’
# Comments here that are used by Intellisense?
static [hashtable] myMethod ([string] $myVar)
# Comments here that are used by Intellisense