[PSS 2015] Option: Auto-Expand Aliases
Posted: Wed Dec 09, 2015 2:34 am
Hi Sapien Team,
When using the console, we all use aliases all day. We bind our everyday commands to simple aliases, to speed up our daily work. Aliases are a deeply ingrained habit and are obviously here to stay.
However, in a script-file, there is no room for aliases. Aliases can be altered, aliases can be removed and aliases are harder to read.
Which is why typing them in a script is one of the deadly powershell-sins in our team. This however runs contrary to our habits and focus on efficiency while on the console. Good habits in one situation become bad habits in another.
So what I'd like is an option to automatically expand aliases (both for functions and their parameters) ...
... when typing them, after pressing space or enter
... when pasting code into the editor
... when using the auto-format feature
Cheers,
Bosparan
When using the console, we all use aliases all day. We bind our everyday commands to simple aliases, to speed up our daily work. Aliases are a deeply ingrained habit and are obviously here to stay.
However, in a script-file, there is no room for aliases. Aliases can be altered, aliases can be removed and aliases are harder to read.
Which is why typing them in a script is one of the deadly powershell-sins in our team. This however runs contrary to our habits and focus on efficiency while on the console. Good habits in one situation become bad habits in another.
So what I'd like is an option to automatically expand aliases (both for functions and their parameters) ...
... when typing them, after pressing space or enter
... when pasting code into the editor
... when using the auto-format feature
Cheers,
Bosparan