PowerShell studio doesn't offer completion/intellisense for enums, would it be possible to add this (similar to the screenshot below from PowerGUI Script Editor)?
Intellisense for ENUMS
Forum rules
Do not post any licensing information in this forum.
Do not post any licensing information in this forum.
Re: Intellisense for ENUMS
Thank you for the suggestion.
We've added this to our list, and if we have some more information we'll post it here.
We've added this to our list, and if we have some more information we'll post it here.
DevinL
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: Intellisense for ENUMS
Hi Remkow,
that is actually already possible with a slight 'workaround' (for me it's pretty much the standard approach, actually):
1) Compile your enumerations into a .dll
2) Add the dll to the file (using the "assembly" button)
It'll support your classes the same way it does default .net types.
Also, you are not receiving the rest of the Primal Sense, because you add the ":" behind the parameter. While that's legal, it's not necessary except for switch parameters. Use space instead and enjoy the Primal Sense. That you do not receive Primal Sense with ":" though might be a bug. Dunno, it's bad form anyway and not recommended to do so.
Cheers,
Fred
that is actually already possible with a slight 'workaround' (for me it's pretty much the standard approach, actually):
1) Compile your enumerations into a .dll
2) Add the dll to the file (using the "assembly" button)
It'll support your classes the same way it does default .net types.
Also, you are not receiving the rest of the Primal Sense, because you add the ":" behind the parameter. While that's legal, it's not necessary except for switch parameters. Use space instead and enjoy the Primal Sense. That you do not receive Primal Sense with ":" though might be a bug. Dunno, it's bad form anyway and not recommended to do so.
Cheers,
Fred