*** 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 2022, 5.8.208
Operating system: Windows 10 Pro for Workstations
PowerShell version(s): 7.2.5, 5.1.19041.1682
*** Please add details and screenshots as needed below. ***
I'm working on setting up some templates that I typically use to make scripts and I'm a bit stuck on variables in snippets.
I've got a variable made called $FunctionName$ and the initial instance of it works as expected.
Later on in the script, I mash together $FunctionName$ and 'Block'.
e.g.
Code: Select all
$FunctionName$ = 'Hello';
$$FunctionName$ + Block = $HelloBlock
FYI: In VS Code, it looks like...
Code: Select all
${1:<FunctionName>} = 'Hello'
$${1:<FunctionName>}Block = $HelloBlock