13 Refactorings for PowerShell in Visual Studio Code

Опубликовано: 15 Октябрь 2024
на канале: Adam Driscoll
582
14

In this video, I demo how to use the refactoring tools from PowerShell Pro Tools for Visual Studio Code. I walk through what each refactoring accomplishes.

00:08 - Convert to $_
00:31 - Convert to $PSItem
00:55 - Convert to Multiline Command
01:19 - Use parameter splatting
01:45 - Export module member
02:20 - Extract Function
02:49 - Extract selection to file
03:28 - Generate function from usage
04:13 - Generate proxy function
04:55 - Introduce using namespace
05:24 - Move Argument
05:50 - Split Pipeline
06:27 - Extract Variable from String

You can find more information on our website: https://ironmansoftware.com/powershel...