two more minor tweaks have come up:
Primal Sense in ValidateScript
When manually typing a validate script on a parameter block, $_ refers to the parameter after type-coercion. Thus it would make sense to provide primal sense for it.
Autocomplete on .NET Types
When I'm typing a .NET type with braces (e.g. when casting or as parameter type constraint), autocomplete will finish the type and close the brace. This is a bit bothersome when I want to create an array of the type.
So I thought ... how about adding a function key to autocomplete to array instead?
e.g ("|" is - as usual - the cursor location):
- # As we type (Proposes: System.String)
- [System.Str |
- # Autocomplete with ENTER
- [System.String]
- # Autocomplete with ALT + ENTER
- [System.String[]]
Bosparan