Page 1 of 1

5.7.173 has removed Generate Comment Based Help :-(

Posted: Thu Mar 05, 2020 11:06 am
by Jehoschua
Product, version and build:
Product: PowerShell Studio 2020 (64 Bit)
Build: v5.7.173
OS: Windows 10 Enterprise (64 Bit)
Build: v10.0.18363.0


Good evening

We've just updated to 5.7.173 and one of the most powerful Feature no longer works as before:
Until the previous version, we were able to call Generate Comment Based Help - now, it is missing :cry:
Sapien missing feature.png
Sapien missing feature.png (350.93 KiB) Viewed 1185 times
It looks like the availability of the command is context dependent - it would be great, if Sapien could re-enable this feature on all Function Code segments.

Thanks a lot, kind regards,
Thomas

Re: 5.7.173 has removed Generate Comment Based Help :-(

Posted: Thu Mar 05, 2020 11:26 am
by brittneyr
It isn't missing, it is disabled as PowerShell Studio doesn't appear to be recognizing your function as a function. This feature is also on the ribbon (Home->Edit).
- Is the function you are trying to generate help for listed in the Functions panel?
- Does your script run?

Re: 5.7.173 has removed Generate Comment Based Help :-(

Posted: Sat Mar 07, 2020 12:31 am
by Alexander Riedel
Is there any specific reason you need to use a character in a function name that only exist on a German keyboard?
Generally you should only use alphanumeric characters for function names and not special symbols. Language specific symbols are likely to cause problems.