*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***
Product, version and build: PowerShell Studio 2020 v5.7.179
32 or 64 bit version of product: 64 bit
Operating system: Windows 10 (1909)
32 or 64 bit OS: 64 bit
*** Please add details and screenshots as needed below. ***
Hi,
I make use of the 'using' statement to import classes from modules. As is documented the using statement must be the first statement that is not comment.
When I put the the using statement after the first block comment that contains Help Comment (to be used with Get-Help) this works fine. But when I then edit the script parameters the using statement is removed by the parameter editor of PSS.
This can be solved by putting the line with the using statement before the Help Comment block, but then get-help is not able to make fully use of the capabilities it has: it shows only a synopsis, but the -full, -detailed, etc switches do not work.
I can work around this for now, but this means I have to edit my code with Notepad to prepare it for production. Unless I missed something I presume this is a bug, not a feature

TIA,
Michel Verbeek
Wageningen
Netherlands.
DO NOT POST LICENSES, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM